python / python/cpython

Docs: align homepage reading order with chapter navigation

Aperta
#157,525 4 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@m-aciek ci sta già lavorando.

Dal 14/9/2026.

docs
Lingua principale
Python
Stelle
77.2k
Fork
35.9k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.