python / python/python-docs-theme

Implement collapsable navigation menus like Wikipedia on moblie

未關閉
#245 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
CSS
星號
90
分支
78
平均合併
2 天 19 小時
30 天內合併 PR
4

描述

The Python documentation table of contents is massive. It's unwieldy on a mobile device. A lot of that comes from itemising all the changelogs going back to 3.0 release. In and of itself, that's fine, but it takes a lot of scrolling to find anything. The indentation also isn't terribly clear to identify what is a subheading of what. Highly nested headings exacerbates this.

Collapsable TOC headings, used on sites like Wikipedia, would help tremendously with this. That way, mobile users could see a cleaner layout resembling the desktop TOC display, then be able to drill down into whatever topic they're looking for.

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

先檢查主題的目錄標記和行動版導覽樣式,然後將目前的巢狀版面配置與 Wikipedia 的可摺疊導覽進行比較。定義標題在行動裝置上應如何展開和摺疊,包括 changelog 區段,並在行動尺寸的文件建置中驗證結果。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
css
領域
documentation, frontend
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。