python / python/cpython

Docs: align homepage reading order with chapter navigation

オープン
#157,525 コメント 4 件 リアクション 0 件 担当者 1 名 GitHub で見る

@m-aciek がすでに取り組んでいます。

2026年9月14日 から。

docs
主要言語
Python
スター
77.2k
フォーク
35.9k
PR マージ指標
PR 指標を取得中

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。