Install sphinxcontrib-autoprogram by entering the following commands in the terminal:
sudo apt update sudo apt install sphinxcontrib-autoprogram
Description:
automated documentation of CLI programs for Sphinx (Python 2)
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. . In order to use it, add sphinxcontrib.autoprogram into extensions list of your Sphinx configuration file (conf.py) . This package contains the Python 2 version.
Homepage: https://pythonhosted.org/sphinxcontrib-autoprogram/
Version: 0.1.2-1
Section: universe/python