Commit 251f338
committed
fix(ci): resolve baseUrl in docs link check
The Validate links step ran hyperlink against docs/build directly, but
the site baseUrl is /javascript/, so every internal link is emitted as
/javascript/... . hyperlink treats the target dir as server root, so
those site-absolute links resolved to a nonexistent /javascript prefix
and produced ~21k false 'bad link' errors (0 bad anchors).
Stage the build under a javascript/ subdir and point hyperlink at the
parent so links resolve. Also drop --sources (reporting-only, does not
affect pass/fail) and gitignore the _linkcheck scratch dir.1 parent d188158 commit 251f338
2 files changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
31 | 39 | | |
32 | 40 | | |
33 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
0 commit comments