About Anaconda Help Download Anaconda

akode / packages / sphinx-click 1.2.0

Summary of the package

  • License: MIT License
  • Home: The package home page
  • 33 total downloads
  • Last upload: 6 years and 4 months ago

Installers

  • osx-64 v1.2.0

conda install

To install this package run one of the following:
conda install akode::sphinx-click

Description

============

sphinx-click

sphinx-click is a Sphinx_ plugin that allows you to automatically extract documentation from a click-based_ application and include it in your docs.

_ http://www.sphinx-doc.org/ _ http://click.pocoo.org/

Installation

Install the plugin using pip:

.. code-block:: shell

$ pip install sphinx-click

Alternatively, install from source by cloning this repo then running setup.py:

.. code-block:: shell

$ python setup.py install

Usage

.. important::

To document a click-based application, both the application itself and any additional dependencies required by that application must be installed.

Enable the plugin in your Sphinx conf.py file:

.. code-block:: python

extensions = ['sphinx_click.ext']

Once enabled, you can now use the plugin wherever necessary in the documentation.

.. code-block::

.. click:: module:parser :prog: hello-world :show-nested:

Detailed information on the various options available is provided in the documentation <https://sphinx-click.readthedocs.io>_.


© 2024 Anaconda, Inc. All Rights Reserved. (v4.0.2) Legal | Privacy Policy