forked frompython/cpython
- Notifications
You must be signed in to change notification settings - Fork4
Commitff52779
Remove misformatted exclamation marks in docs (python#102694)
Remove the exclamation mark from :program:`!foo` in .rst files becauseit inadvertently shows up in the rendered HTML.(Sphinx's cross-referencing roles use a '!' prefix to suppresshyperlinking[1], but :program: is not a cross-referencing role so the'!' is displayed verbatim.)The exclamation marks in venv.rst were introduced inpython#98350. Seecomments [2] and [3] for additional discussion.[1]:https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html#cross-referencing-syntax[2]:python#98350 (comment)[3]:python#98350 (comment)Reported-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>1 parent669c82a commitff52779
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
959 | 959 | | |
960 | 960 | | |
961 | 961 | | |
962 | | - | |
| 962 | + | |
963 | 963 | | |
964 | 964 | | |
965 | 965 | | |
| |||
0 commit comments
Comments
(0)