autoprogram icon indicating copy to clipboard operation
autoprogram copied to clipboard

Provide an option/directive to suppress/strip the title

Open pepoluan opened this issue 4 years ago • 0 comments

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.

pepoluan avatar Nov 20 '20 06:11 pepoluan