Add a table of contents to the README

未关闭 适合新手
#5 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

@29rdx 已经在做这个了。

开始于 2026年11月2日。

  • #12 来自 @29rdx —— 未关闭

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
90/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
markdown, python
领域
documentation

调研方向

修改位于 dev 分支上的 README.md:在项目介绍和 Installation 之间添加一个 ## Contents 部分。先阅读现有的二级标题,然后按当前顺序,使用 [Installation](#installation) 这样的 GitHub 锚点链接为每个标题创建链接。预览渲染后的 Markdown,确认每个链接都指向对应的标题,并保持现有示例和说明不变。当列表按顺序覆盖所有二级章节且 PR 指向 dev 时,即完成。

由索引模型根据 Issue 内容生成。

描述

enhancement good first issue help wanted

What to do

  1. Create a topic branch from dev.
  2. Edit README.md.
  3. Add a ## Contents section after the project introduction and before Installation.
  4. Link to each existing level-two section, in its current order. For example: [Installation](#installation) and [Quick Start](#quick-start).
  5. Preview the rendered Markdown and check that each link reaches the matching heading.
  6. Open a pull request targeting dev.

Acceptance criteria

  • The contents list links to all existing level-two sections, in order, excluding the Contents section itself.
  • Each link works in GitHub's rendered README.
  • The change only adds navigation to README.md and preserves its existing examples and instructions.

See CONTRIBUTING.md for the repository workflow. This is a documentation-only task, so no implementation regression tests or package-version change are required.

主要语言
Python
星标
1
派生
2
平均合并
7 分钟
30 天内合并 PR
8

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。