Comments (4)
Did you add the :manpage:
parameter?
I had to add it like so:
ots manpage
===========
.. argparse::
:module: otsclient.args
:func: make_common_options_arg_parser
:prog: ots
:manpage:
Seems this is missing from the docs.
from sphinx-argparse.
@hstock, after adding the :manpage:
sub directive, My arguments are not documented anymore.
from sphinx-argparse.
Currently not working on the project that needed this - but I'll get back to this for debian packaging of opentimestamps. (I am not directly involved in sphinx-argparse)
from sphinx-argparse.
I bumped into this bug while trying to generate tox's manpage using sphinx-argparse. I suspect the culprit is the usage of action groups in combination with a bug in the code. I think in this section of the code:
https://github.com/ribozz/sphinx-argparse/blob/178672cd5c846440ff7ecd695e3708feea13e4b4/sphinxarg/ext.py#L310-L312
β¦the second line should read if 'options' in action_group
instead, no?
from sphinx-argparse.
Related Issues (20)
- LICENSE not in pypi tarball HOT 2
- Files in sphinx-argparse.egg-info are chmodded to 640
- Feature request: support for argparse.SUPPRESS
- Some tests fail when py.test has a different name HOT 4
- Deprecation warning due to invalid escape sequences. HOT 1
- sphinx/sphinx-argparse can not interpret hyphen as underscore or vice-versa HOT 1
- Section numbers wrong when multiple argparse directives used in single page
- Consider adding the sphinx-extension GitHub topic
- %(prog)s format specifier is not converted in description and epilog HOT 1
- Help with maintainance HOT 4
- Are you looking for a new maintainer? HOT 17
- 0.2.5: pytest is failing
- 0.2.5: setuptools build_sphinx target is failing HOT 6
- 0.3.0 sdist tarball on pypi.org has no tag
- 0.3.0 sdist tarball on pypi misses tests
- How to use relative paths for filename HOT 3
- There is no support for class.method type entry HOT 3
- Named Arguments listing - two hrules when there are two underlines in argument name HOT 2
- Sphinx autodoc like mock imports.
- archive this repo to prevent new issues/PRs? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sphinx-argparse.