sphinx-argparse icon indicating copy to clipboard operation
sphinx-argparse copied to clipboard

Refactor the extension to use a Sphinx Domain

Open mikemckiernan opened this issue 2 years ago • 6 comments

  • Add optional command index and optional commands-by-group index.
  • Optionally, print fully-qualified subcommand name in title.
  • Support commands:command role for intersphinx.
  • Prefer fully-qualified HREF targets:
    • Use targets like "#blah-sub-commands" as the primary target and move historic targets like "#Sub-commands" to secondary targets.
    • Preserve the older HREF, "#sub-commands", as a secondary target. In the HTML, this becomes a span just below the section element so that bookmarks continue to work even after adopting the update from this commit.

mikemckiernan avatar Feb 08 '23 01:02 mikemckiernan