Allow custom targets in the manpage role (#11825)

Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
This commit is contained in:
Nicolas PeugnetandAdam Turner authored and GitHub committed 2024-01-17 01:09:18 +00:00
1 parent 95fb0e5e57
commit 59cf4d4c35
6 files changed
+48 -36

No files matched your search

+4
View File
@@ -175,6 +175,10 @@ different style:
``:manpage:`ls(1)``` displays :manpage:`ls(1)`. Creates a hyperlink to an
external site rendering the manpage if :confval:`manpages_url` is defined.
.. versionchanged:: 7.3
Allow specifying a target with ``<>``, like hyperlinks.
For example, ``:manpage:`blah <ls(1)>``` displays :manpage:`blah <ls(1)>`.
.. rst:role:: menuselection
Menu selections should be marked using the ``menuselection`` role. This is