Skip to main content

Sphinx extension that automatically documents click applications

Project description

https://travis-ci.org/click-contrib/sphinx-click.svg?branch=master

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.4.1.tar.gz (13.2 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.4.1-py2.py3-none-any.whl (7.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: sphinx-click-1.4.1.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for sphinx-click-1.4.1.tar.gz
Algorithm Hash digest
SHA256 ed79ed8bd696ed3d300f2e1c75f2a1843611f674ee42401943c9fb9cefa5569d
MD5 0c1d3c14d90f38cab7355098e61a6d75
BLAKE2b-256 227f121481995297d4cd6cb3beb02e36dccefc9354335e2607b09bae17b24e36

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sphinx_click-1.4.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for sphinx_click-1.4.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fb59306349977cca302065308349d1879c21c7d9bc2f0c3fe3f647e7b7aeffaf
MD5 050178bb25b68eac6521d54c64290d6d
BLAKE2b-256 6b7c414af720a38f1a22494fe5f4ca912aa668f5d80c1c305531b3681a706f76

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