-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
Remove unnecessary usages of .. index::
directives in Doc/library/uuid.rst
#130461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@picnixz , I've investigated this issue by removing |
…oc/library/uuid.rst`
Someone might rely on them in the wild, although I doubt (because to know about it, you need to know about the RST source itself). However, there could some crawlers that do the task automatically. I don't know whether it's good or not to remove them (I feel they just duplicate the Note that searching @AA-Turner do you think we can just remove those |
Yes totally agree, the plain entry really looks bad, so we can totally remove it if we want, |
.. index::
directives usage in Doc/library/uuid.rst
.. index::
directives usage in Doc/library/uuid.rst
.. index::
directives usage in Doc/library/uuid.rst
.. index::
directives in Doc/library/uuid.rst
Remove, and if anyone complains, re-add them? (aka a scream test :) |
Ok, let's just outright remove them. Those could even be legacy added and inspired from the old LaTeX docs (though I haven't checked). @Mr-Sunglasses Could you amend your PR and simply remove the |
.. index::
directives in Doc/library/uuid.rst
.. index::
directives in Doc/library/uuid.rst
|
…:` (python#130448) Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> pythongh-130461: Fix locations of `.. index::` directives usage in `Doc/library/uuid.rst` pythongh-130461: Fix locations of `.. index::` in `getnode()`
…n Doc/library/uuid.rst
… in Doc/library/uuid.rst
…c/library/uuid.rst (#130526) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
… in Doc/library/uuid.rst (python#130526) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> (cherry picked from commit 85f1cc8)
… in Doc/library/uuid.rst (python#130526) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
See #120650 (comment).
We use
.. index:: single: uuidN
and other.. index::
directives in the UUID documentation. However, the anchor is after the actual function, meaning that https://docs.python.org/3/library/uuid.html#index-6 jumps to uuid3 instead of uuid1 for instance (compare with https://docs.python.org/3/library/uuid.html#uuid.uuid1).OTOH, we could simply remove the
.. index
usages but I don't remember whether they are intersphinxed or not.cc @AA-Turner @hugovk
Linked PRs
.. index::
directives usage in uuid docs #130468.. index::
directives in Doc/library/uuid.rst #130526.. index::
directives in Doc/library/uuid.rst (#130526) #130546.. index::
directives in Doc/library/uuid.rst (#130526) #130548The text was updated successfully, but these errors were encountered: