-
-
Notifications
You must be signed in to change notification settings - Fork 33.3k
Closed
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Description
Directives like :class:, :func:, etc. auto-apply a monospaced font to the displayed text, which doesn't look very nice if used unsemantically. :ref: directives are the way to go when it comes to internal links with non-code text, and most of other internal links already follow this.
For example, this line in Doc/library/typing.rst:
cpython/Doc/library/typing.rst
Line 307 in b07f232
| variadic number of arguments, :func:`overloaded functions <overload>`, or |
...should be changed to:
variadic number of arguments, :ref:`overloaded functions <overload>`And this line:
cpython/Doc/library/typing.rst
Line 2775 in b07f232
| .. decorator:: overload |
...needs an explicit target:
.. _overload:
.. decorator:: overloadLinked PRs
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir