mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-11-02 09:00:00 -06:00
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:
1 parent
95fb0e5e57
commit
59cf4d4c35
6 files changed
+48
-36
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user