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


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

Uploaded Source

Built Distribution

sphinx_click-4.2.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sphinx-click-4.2.0.tar.gz
  • Upload date:
  • Size: 21.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for sphinx-click-4.2.0.tar.gz
Algorithm Hash digest
SHA256 8429705474ebb009de5603c35b6a7bfe8501dbdb12d847cbb01f18277d4b7d9a
MD5 316783267f3f071b3f332117a1979f70
BLAKE2b-256 23e7fbb3fb37d3c42dcbf66fb054b254360fdaa3eaae401cb571fcc5a9c54fb4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sphinx_click-4.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ba8c97a40deaf09245c540accc4ac5c1d2942eaed0fa598403cdbf04a9cf95f
MD5 74414c7bb01711fcf8c0e5a6cf8c35d6
BLAKE2b-256 45ff1fa4f0c033e38d90e9285d7d1ae046dcdc9dded17211ab49f4349b5deae1

See more details on using hashes here.

Supported by

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