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-4.0.0.tar.gz (20.4 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-4.0.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sphinx-click-4.0.0.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for sphinx-click-4.0.0.tar.gz
Algorithm Hash digest
SHA256 3650d80994d157b1dc18e62fefd4e93511178f9ce9d8afd80627b1b3e0210cab
MD5 4241d5f8e45695aa6224f06bca51814d
BLAKE2b-256 f58d4ac4e3eb0885c99dac07394bfb75ea29d80ca291b3422df0c32c25a1bcee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sphinx_click-4.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for sphinx_click-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 78b78d274e32ac663693c0af4e47d3254f4a5c41fef53ace6b443d9d0a3b0631
MD5 c78e2331e3ba9e0b5bc260b4226074a2
BLAKE2b-256 bc7335dc23ab697901498a0921706d480e501ea1d9f502b85fcf09c458e14b48

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