Skip to main content

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


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.3.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sphinx_click-1.0.3-py2.py3-none-any.whl (6.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file sphinx-click-1.0.3.tar.gz.

File metadata

  • Download URL: sphinx-click-1.0.3.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sphinx-click-1.0.3.tar.gz
Algorithm Hash digest
SHA256 7734d8f9109f831e9a271748bb1d2d0258e611f429ca6fee78fdf0257ed05ae6
MD5 5d5bf070c7b448a50c7ed33d0d2b9b91
BLAKE2b-256 d0ced0490d656fccdaf669da329ea59eab55091c38ee54d31ca9e42a8ef5f32b

See more details on using hashes here.

File details

Details for the file sphinx_click-1.0.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for sphinx_click-1.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fff27530cdec6e8d0f64f2481022ac170ac1abc4bdfd0fd4fbb9b1d72b812e7f
MD5 64b5d02ab043be1d797ac645a3c39afe
BLAKE2b-256 57097f266933f4ac472b16d005a180b4096fee6b528f5b0de39c33a9a6182eb8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page