forked from python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 0f27753
[3.11] Remove misformatted exclamation marks in docs (pythonGH-102694)
Remove the exclamation mark from :program:`!foo` in .rst files because
it inadvertently shows up in the rendered HTML.
(Sphinx's cross-referencing roles use a '!' prefix to suppress
hyperlinking[1], but :program: is not a cross-referencing role so the
'!' is displayed verbatim.)
The exclamation marks in venv.rst were introduced in pythonGH-98350. See
comments [2] and [3] for additional discussion.
[1]: https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.htmlGH-cross-referencing-syntax
[2]: https://github.com/python/cpython/pull/98350GH-issuecomment-1285965759
[3]: https://github.com/python/cpython/pull/98350GH-issuecomment-1286394047
Reported-by: Vinay Sajip <[email protected]>.
(cherry picked from commit 8647ba4)
Co-authored-by: Tom Levy <[email protected]>1 parent af00b09 commit 0f27753Copy full SHA for 0f27753
File tree
Expand file treeCollapse file tree
0 file changed
+0
-0
lines changedFilter options
Expand file treeCollapse file tree
0 file changed
+0
-0
lines changed
0 commit comments