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.1.0.tar.gz
(21.1 kB
view hashes)
Built Distribution
Close
Hashes for sphinx_click-4.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60d6507bf623e20e9cbab732d19fc4890cc36a394c82ba8e2320f9f9fdc4571e |
|
MD5 | d13f411ccc71096936e72a5db92eb610 |
|
BLAKE2b-256 | e3c1b04dcecf8f691d937a596975465144536eeeb3dd17c0ec8e8cc5f69ad64d |