Sphinx extension that automatically documents click applications
Project description
sphinx-click is a Sphinx plugin that allows you to automatically extract documentation from a click-based application and include it in your docs.
Installation
Install the plugin using pip:
$ pip install sphinx-click
Alternatively, install from source by cloning this repo then running setup.py:
$ python setup.py install
Usage
Enable the plugin in your Sphinx conf.py file:
extensions = ['sphinx_click.ext']
Once enabled, you can now use the plugin wherever necessary in the documentation.
.. click:: module:parser
:prog: hello-world
:show-nested:
Detailed information on the various options available is provided in the documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sphinx-click-1.0.1.tar.gz
(9.4 kB
view hashes)
Built Distribution
Close
Hashes for sphinx_click-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | daf29a2f5bfb3b3902e1a660b58d4c7614fb4dccbc85b3d62603a4add7bbf450 |
|
MD5 | 28a46e2f1d151c3f9859b134cc605f8c |
|
BLAKE2b-256 | fa65fecb6eb013b56e50ce589c95f3f092b745d18d3ed9eb227056d6d069ea54 |