@@ -108,14 +108,21 @@ def _asset_hash(path: os.PathLike[str]) -> str:
108108]
109109
110110rediraffe_redirects = {
111- "clang.rst" : "advanced-tools/clang.rst" ,
112- "coverity.rst" : "advanced-tools/coverity.rst" ,
113- "gdb.rst" : "advanced-tools/gdb.rst" ,
111+ # Development Tools
112+ "clang.rst" : "development-tools/clang.rst" ,
113+ "coverity.rst" : "development-tools/coverity.rst" ,
114+ "gdb.rst" : "development-tools/gdb.rst" ,
115+ # Advanced Tools was renamed Development Tools in gh-1149
116+ "advanced-tools/clang.rst" : "development-tools/clang.rst" ,
117+ "advanced-tools/coverity.rst" : "development-tools/coverity.rst" ,
118+ "advanced-tools/gdb.rst" : "development-tools/gdb.rst" ,
119+ # Core Developers
114120 "coredev.rst" : "core-developers/become-core-developer.rst" ,
115121 "committing.rst" : "core-developers/committing.rst" ,
116122 "developers.rst" : "core-developers/developer-log.rst" ,
117123 "experts.rst" : "core-developers/experts.rst" ,
118124 "motivations.rst" : "core-developers/motivations.rst" ,
125+ # Developer Workflow
119126 "c-api.rst" : "developer-workflow/c-api.rst" ,
120127 "communication.rst" : "developer-workflow/communication-channels.rst" ,
121128 "devcycle.rst" : "developer-workflow/development-cycle.rst" ,
@@ -124,22 +131,27 @@ def _asset_hash(path: os.PathLike[str]) -> str:
124131 "langchanges.rst" : "developer-workflow/lang-changes.rst" ,
125132 "porting.rst" : "developer-workflow/porting.rst" ,
126133 "stdlibchanges.rst" : "developer-workflow/stdlib.rst" ,
134+ # Documentation
127135 "docquality.rst" : "documentation/help-documenting.rst" ,
128136 "documenting.rst" : "documentation/start-documenting.rst" ,
137+ # Getting Started
129138 "fixingissues.rst" : "getting-started/fixing-issues.rst" ,
130139 "help.rst" : "getting-started/getting-help.rst" ,
131140 "gitbootcamp.rst" : "getting-started/git-boot-camp.rst" ,
132141 "pullrequest.rst" : "getting-started/pull-request-lifecycle.rst" ,
133142 "setup.rst" : "getting-started/setup-building.rst" ,
143+ # CPython Internals
134144 "compiler.rst" : "internals/compiler.rst" ,
135145 "exploring.rst" : "internals/exploring.rst" ,
136146 "garbage_collector.rst" : "internals/garbage-collector.rst" ,
137147 "parser.rst" : "internals/parser.rst" ,
148+ # Testing and Buildbots
138149 "buildbots.rst" : "testing/buildbots.rst" ,
139150 "coverage.rst" : "testing/coverage.rst" ,
140151 "buildworker.rst" : "testing/new-buildbot-worker.rst" ,
141152 "runtests.rst" : "testing/run-write-tests.rst" ,
142153 "silencewarnings.rst" : "testing/silence-warnings.rst" ,
154+ # Issues and Triaging
143155 "gh-faq.rst" : "triage/github-bpo-faq.rst" ,
144156 "tracker.rst" : "triage/issue-tracker.rst" ,
145157 "gh-labels.rst" : "triage/labels.rst" ,
0 commit comments