python / cpython

The Python programming language
https://www.python.org
Other
63.49k stars 30.4k forks source link

Links to PEPs are not rendered correctly in "Python Module Index" #125910

Open partev opened 3 weeks ago

partev commented 3 weeks ago

python's main documentation page https://docs.python.org/3.14/ links to Global module index

that index has two modules referring to PEPs which are not rendered correctly:

Screenshot 2024-10-23 23 55 11 Screenshot 2024-10-23 23 56 35

picnixz commented 3 weeks ago

Sphinx does not seem to process RST content beyond text inside :synopsis: node. cc @AA-Turner

We also have an issue with the inline content not being rendered for __main__:

The environment where top-level code is run. Covers command-line interfaces, import-time behavior, and ``__name__ == '__main__'``.