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

Updates for 0.5.0 #3

Open
wants to merge 35 commits into
base: main
Choose a base branch
from
Open

Updates for 0.5.0 #3

wants to merge 35 commits into from

Conversation

mikemckiernan
Copy link
Owner

  • 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.

tcompa and others added 29 commits January 13, 2024 10:33
Very minor but it bothered me: the second list of parameters isn't actually a parameter, they don't have an effect on the results. They're simply different assertions and I don't think there's any reason to put them in separate tests.
The "options" formatter for the manpage generation did not output any
option, as the loop used a wrong key in the parser_info dictionary
(likely a typo).

This patch fixes this, which results in correctly printed parser options
in manpage mode.
Fixes issue sphinx-doc#45

Code is not equipped to handle scenario when 
```shutil.which``` return *None*. 
Adding ```TypeError``` Exception to the error handling.
michele-riva and others added 4 commits July 15, 2024 16:45
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
- 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants