-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
Closed
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Description
Documentation
The func role's parentheses are unnecessary as Sphinx will add them to the rendered output.
.. bad
:func:`!locale.resetlocale()`
.. good
:func:`!locale.resetlocale`We're introducing a new rule to the sphinx-lint (issue & PR) and, since sphinx-lint utilizes CPython Docs in the CI, we'd like to also fix the issue.
TODO:
- fix on main branch
- backport to 3.12
- backport to 3.13
Linked PRs
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir