alex-rudakov / sphinx-argparse

Sphinx extension that automatically document argparse commands and options
MIT License
49 stars 40 forks source link

Named Arguments listing - two hrules when there are two underlines in argument name #144

Closed keithbriggs closed 1 year ago

keithbriggs commented 1 year ago

This looks like a bug: when there are two underlines in an argument name, then the generated html has a rule above and below the name. Normally, there is only a rule above the name. (Actually, -print_versions has only one underline, but we still get the two rules.) Screenshot from 2022-10-04 16-33-59

JOJ0 commented 1 year ago

There is an actively maintained version of sphinx-argparse: https://github.com/ashb/sphinx-argparse/releases/tag/0.3.2

keithbriggs commented 1 year ago

See https://github.com/ashb/sphinx-argparse/issues/20 .