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 pip locally:
$ pip install .
Usage
Enable the plugin in your Sphinx conf.py file:
extensions = ['sphinx_click']
Once enabled, you can now use the plugin wherever necessary in the documentation.
.. click:: module:parser
:prog: hello-world
:nested: full
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-4.3.0.tar.gz
(22.0 kB
view hashes)
Built Distribution
Close
Hashes for sphinx_click-4.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23e85a3cb0b728a421ea773699f6acadefae171d1a764a51dd8ec5981503ccbe |
|
MD5 | ab0bf09baf1bf3eda51475bd9df238a3 |
|
BLAKE2b-256 | 9e25039dd73cf4c082428158ac69ab6dc68648a929aec08854e18e9b83c4e00c |