New submission from Ken Jin <kenjin4...@gmail.com>:

Some ``:meth:`` markups are not being hyperlinked at all, while some are. This 
only occurs for Python 3.10. This also seems related to 
https://bugs.python.org/issue42042.

Eg. 
For 3.9, https://docs.python.org/3.9/library/stdtypes.html#truth-value-testing:
``__bool__``, ``__len__`` are hyperlinked.

For 3.10, 
https://docs.python.org/3.10/library/stdtypes.html#truth-value-testing:
``__bool__``, ``__len__`` are not hyperlinked.

This occurs throughout the documentation, but it doesn't seem to consistently 
happen. For example, in 
https://docs.python.org/3.10/library/stdtypes.html#contextmanager.__exit__ , 
``__exit__`` is hyperlinked, but right below that section, the other 
``__exit__``s are not. This is puzzling since their markup both uses the same 
:meth:`__exit__`.

I'm not able to locally reproduce this using Sphinx 2.4.0. I don't know which 
version exactly of Sphinx this regression occured.

----------
assignee: docs@python
components: Documentation
messages: 379829
nosy: docs@python, kj
priority: normal
severity: normal
status: open
title: 3.10 Documentation Not Hyperlinking Some Methods
versions: Python 3.10

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42182>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to