Open alexiswl opened 4 months ago
We do not support docopt which apparently is no longer maintained. One thing I could suggest is to instead use the program
directive, though you will not be able to use docopt anymore. Alternatively, you could create your own Sphinx extension but this might be an overkill.
Thanks @picnixz, I will try and resist the temptation to develop an extension.
Is it possible in sphinx to just write the docs manually in the rst files. I know this defeats the purpose of tying the documentation to the code, but would at least provide a solution without needing to restructure my code (or write an extension).
Hello,
I am using docopt for one of my projects to provide a cli-based interface to the package.
The docopt strings are inside classes and have their own syntax.
Is it possible to use sphinx to auto-generate html outputs of the docopt text?
For example -
I have the following class:
Although this is currently possible, the rendering is not ideal.
When configuring with the sphinx 'autodoc' extension and a simple configuration such as
I get something like the following
I would like to be able to:
icav2_cli_plugins.subcommands.project_analyses.abort
toprojectanalyses abort
.