Commit d85e76d
authored
Switch Python index pages to relative links (#1812)
`manage.py` creates an index.html file for every package which is placed
in a subdirectory named after the package. Packages are located one
level above whereas links where abolsute. This refactors to use relative
links instead as this allows to move the index to a different directory
without rewriting.
This is compliant with PEP 503 [1]:
URLs may be either absolute or relative as long as they point to the
correct location.
[1] https://peps.python.org/pep-0503/1 parent d66b7da commit d85e76d
File tree
5 files changed
+2
-10
lines changed- .github/workflows
- build_tools/third_party/s3_management
5 files changed
+2
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
209 | 208 | | |
210 | 209 | | |
211 | 210 | | |
| |||
299 | 298 | | |
300 | 299 | | |
301 | 300 | | |
302 | | - | |
303 | 301 | | |
304 | 302 | | |
305 | 303 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
244 | 243 | | |
245 | 244 | | |
246 | 245 | | |
| |||
332 | 331 | | |
333 | 332 | | |
334 | 333 | | |
335 | | - | |
336 | 334 | | |
337 | 335 | | |
338 | 336 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | 157 | | |
159 | 158 | | |
160 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
166 | 165 | | |
167 | 166 | | |
168 | 167 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | 57 | | |
60 | 58 | | |
61 | 59 | | |
| |||
289 | 287 | | |
290 | 288 | | |
291 | 289 | | |
292 | | - | |
| 290 | + | |
293 | 291 | | |
294 | 292 | | |
295 | | - | |
| 293 | + | |
296 | 294 | | |
297 | 295 | | |
298 | 296 | | |
| |||
0 commit comments