Skip to main content

Documenting CLI programs

Project description

Sourcecode on GitHub GitHub tag (latest SemVer incl. pre-release GitHub release (latest SemVer incl. including pre-releases GitHub release date Libraries.io status for latest release PyPI - Tag PyPI - Status PyPI - Python Version Dependent repos (via libraries.io)

btd.sphinx.autoprogram

This contrib extension, sphinxcontrib.autoprogram, provides an automated way to document CLI programs. It scans argparse.ArgumentParser object, and then expands it into a set of .. program:: and .. option:: directives.

This is a patched version of sphinxcontrib.autoprogram written by Hong Minhee.

Note: Patched versions of internal packages from Sphinx are released as M.M.P.postN versions. So 2.3.1.post1 is the patched module version derived from Sphinx 2.3.1.


Added features and changes

  • 0.1.7.post1

    • Updated patched version to match upstream version 0.1.7.

  • 0.1.6.post1

    • New option label to add a label/anchor that can be referenced with :ref:


Install using pip:

$ pip install btd.sphinx.autoprogram

You can find the original documentation from the following URL:

https://sphinxcontrib-autoprogram.readthedocs.io/

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

btd.sphinx.autoprogram-0.1.7.post1.tar.gz (20.7 kB view hashes)

Uploaded Source

Built Distribution

btd.sphinx.autoprogram-0.1.7.post1-py2.py3-none-any.whl (21.5 kB view hashes)

Uploaded Python 2 Python 3

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