New submission from Arthur Milchior <art...@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@python
components: Documentation
messages: 405147
nosy: Arthur-Milchior, docs@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue45640>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to