Skip to main content

Sphinx extension that automatically documents click applications

Project description

Build Status Documentation Status

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']

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


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-3.1.0.tar.gz (20.3 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-3.1.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sphinx-click-3.1.0.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for sphinx-click-3.1.0.tar.gz
Algorithm Hash digest
SHA256 36dbf271b1d2600fb05bd598ddeed0b6b6acf35beaf8bc9d507ba7716b232b0e
MD5 af02906f3da3fb3ee5349e61d0d7a463
BLAKE2b-256 87a648a2f9306549fa25cecba0dac46e2a4c7adb750efe595e84999d5c82eb95

See more details on using hashes here.

File details

Details for the file sphinx_click-3.1.0-py3-none-any.whl.

File metadata

  • Download URL: sphinx_click-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for sphinx_click-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8fb0b048a577d346d741782e44d041d7e908922858273d99746f305870116121
MD5 37bfdf59b767e80ddc8f7d4c7295c4b0
BLAKE2b-256 1ca2bab4743bd79bb931cbdbcc2a9aeef14fe61eb7c889db5ce9fbd88680e457

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