Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide an option/directive to suppress/strip the title #22

Open
pepoluan opened this issue Nov 20, 2020 · 0 comments
Open

Provide an option/directive to suppress/strip the title #22

pepoluan opened this issue Nov 20, 2020 · 0 comments
Labels

Comments

@pepoluan
Copy link

pepoluan commented Nov 20, 2020

I'm looking to use sphinxcontrib-autoprogram to embed the argparse help into a manpage of sorts.

But .. autoprogram:: adds a section head containing the :prog: name like so:

Screenshot 2020-11-20 130747

(It's the "aiosmtpd" line right under "SYNOPSIS". rst source code is as follows:)

SYNOPSIS
========

.. autoprogram:: aiosmtpd.main:_parser()
   :prog: aiosmtpd

Please add an option/directive such as :notitle: to suppress this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants