Commit d8c26c0
Fix 'Edit this page' button GitHub links
- Add convert_url_path_to_github_path() utility function to convert URL paths to filesystem paths
- Convert dashes to underscores (getting-started -> getting_started)
- Change tree/main/ to blob/main/ for direct file links
- Ensure .md extension is properly added
Fixes incorrect GitHub links that were generating 404s due to path mismatch between URL format (dashes) and filesystem format (underscores).
Co-Authored-By: [email protected] <[email protected]>1 parent b7168d3 commit d8c26c0
1 file changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
277 | 293 | | |
278 | 294 | | |
279 | 295 | | |
| |||
303 | 319 | | |
304 | 320 | | |
305 | 321 | | |
306 | | - | |
| 322 | + | |
307 | 323 | | |
308 | 324 | | |
309 | 325 | | |
| |||
0 commit comments