freeCodeCamp / freeCodeCamp/devdocs
incorrect anchor in python3.9
未关闭
docs/improvement
- 主要语言
- Ruby
- 星标
- 39.5k
- 派生
- 2.6k
- 平均合并
- 4 天 32 分钟
- 30 天内合并 PR
- 13
描述
# Documentation style bug
## Summary
bad anchor in glossary
## Actual style
python (3.9) glossary entry [f-string](https://devdocs.io/python~3.9/glossary#term-f-string) has a link to [formatted string literals](https://devdocs.io/python~3.9/reference/lexical_analysis#f-strings) with anchor `#f-strings` which doesn't scroll to any section because it's not present.
## Expected style
anchor `index-24` is needed to go to the correct section:
https://devdocs.io/python~3.9/reference/lexical_analysis#index-24
贡献指南
调研方向
首先,使用 issue 中的 URL 作为入口,定位 Python 3.9 的 f-string 术语表条目及其链接的 lexical_analysis 部分。验证当前目标锚点,并将链接更新为 index-24;完成的标准是术语表链接能够跳转到「formatted string literals」部分。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- documentation
- Issue 类型
- 文档
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 45/100