[New-bugs-announce] [issue45640] Production tokens are not clickable

Arthur Milchior report at bugs.python.org
Wed Oct 27 23:04:26 EDT 2021


New submission from Arthur Milchior <arthur at milchior.fr>:

In the current documentation, production tokens are not clickable. For example in https://docs.python.org/3/reference/expressions.html#yield-expressions , you highlight `yield_from` as a token but do not link to it.
I suppose that the goal, when using :token:`yeld_from`, was to ensure that the token links to its definition. However, Sphinx require to use :token:`~python-grammar:yeld_from` for the link to appear. 

I suggest adding ~python-grammar after each token:.

----------
assignee: docs at python
components: Documentation
messages: 405147
nosy: Arthur-Milchior, docs at python
priority: normal
severity: normal
status: open
title: Production tokens are not clickable
versions: Python 3.10, Python 3.11, Python 3.6, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45640>
_______________________________________


More information about the New-bugs-announce mailing list