python / python/cpython

Docs: align homepage reading order with chapter navigation

Abierto
#157,525 4 comentarios 0 reacciones 1 asignado Ver en GitHub

@m-aciek ya está trabajando en esto.

Desde el 14/9/2026.

docs
Lenguaje dominante
Python
Estrellas
77.2k
Forks
35.9k
Métricas de merge de PR
Métricas de PR pendientes

Descripción

Documentation

The documentation homepage presents sections in two columns, but its markup groups entries by column. Consequently, the order when the layout collapses to one column differs from the order obtained by reading the desktop layout row by row.

The root toctree in Doc/contents.rst also uses a different chapter order, making Previous/Next navigation inconsistent with the homepage.

Order of chapters, standard viewports Image
Order of chapters, narrow viewports Image
Next topic after last tutorial topic is Python setup and usage (installing/index.rst), which is nowhere near in chapters list Image

We should establish a consistent sequence across:

  • The desktop homepage, read row by row.
  • The single-column homepage on smaller screens.
  • Previous/Next chapter navigation.

The proposed change is to use a wrapping flex layout in Doc/tools/templates/indexcontent.html, arrange the entries in the intended reading order, and update Doc/contents.rst to match.

Linked PRs
  • gh-157528
  • gh-157674

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.