Commit c580b57
fix(tests): stub all redirect targets in authoring tests; remove CLI self-redirects
CLI reference pages are now synthetic (generated from schema) rather than
physical files. The authoring test framework's copyTargetsFromRealDocsIntoMock
was guarded by `File.Exists` which skips synthetic targets, causing redirect
validation to fail for all tests that load the real _redirects.yml.
- Remove the File.Exists guard so stubs are added for all local redirect
targets; synthetic page validity is checked by the production build
- Remove 9 no-op self-redirects (cli/changelog/*.md → same) and the
cli/assembler/index.md self-redirect
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>1 parent 9a46be2 commit c580b57
2 files changed
Lines changed: 4 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 17 | | |
27 | 18 | | |
28 | 19 | | |
29 | 20 | | |
30 | 21 | | |
31 | 22 | | |
32 | 23 | | |
33 | | - | |
34 | 24 | | |
35 | 25 | | |
36 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
165 | 168 | | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
0 commit comments