Commit b7057c2
fix(cli): resolve doc anchors against zensical.toml, not the deleted mkdocs.yml
The Zensical migration (#353) removed mkdocs.yml, but roost-cli's
doc_anchors_resolve test reads it to assert that every URL `roostctl
doctor` prints resolves to a page that is published in the site nav and
carries a heading matching the anchor. The test has panicked on the
missing file ever since, leaving main red for any Rust-touching PR.
Ports the nav parser from MkDocs' YAML list entries to Zensical's TOML
array of one-key tables, and repoints both the test and its near-miss
guard at zensical.toml.
The reason CI never noticed is the more important half: rust-build is
gated on the `rust` path filter, so a docs-only PR runs no Rust job and
ci-success goes green over a broken `cargo test`. A new narrow `docnav`
filter (zensical.toml + docs/**) now also triggers rust-build — only
that job, since widening `rust` itself would drag four heavy jobs onto
every docs typo. Same class as the .mise.toml dotfile miss already noted
in that filter block.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SgxiEBQTqgNjPswKqcs12d1 parent 3bda60f commit b7057c2
2 files changed
Lines changed: 39 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
83 | 94 | | |
84 | 95 | | |
85 | 96 | | |
| |||
192 | 203 | | |
193 | 204 | | |
194 | 205 | | |
195 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
196 | 210 | | |
197 | 211 | | |
198 | 212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
6072 | 6072 | | |
6073 | 6073 | | |
6074 | 6074 | | |
6075 | | - | |
6076 | | - | |
| 6075 | + | |
| 6076 | + | |
| 6077 | + | |
| 6078 | + | |
| 6079 | + | |
6077 | 6080 | | |
| 6081 | + | |
6078 | 6082 | | |
6079 | 6083 | | |
6080 | | - | |
6081 | | - | |
6082 | | - | |
6083 | | - | |
6084 | | - | |
| 6084 | + | |
| 6085 | + | |
| 6086 | + | |
6085 | 6087 | | |
6086 | 6088 | | |
6087 | 6089 | | |
6088 | | - | |
6089 | | - | |
6090 | | - | |
6091 | | - | |
6092 | | - | |
| 6090 | + | |
| 6091 | + | |
| 6092 | + | |
| 6093 | + | |
| 6094 | + | |
6093 | 6095 | | |
6094 | | - | |
| 6096 | + | |
6095 | 6097 | | |
6096 | | - | |
| 6098 | + | |
6097 | 6099 | | |
6098 | 6100 | | |
6099 | 6101 | | |
6100 | 6102 | | |
6101 | 6103 | | |
6102 | | - | |
| 6104 | + | |
6103 | 6105 | | |
6104 | 6106 | | |
6105 | | - | |
| 6107 | + | |
6106 | 6108 | | |
6107 | 6109 | | |
6108 | 6110 | | |
6109 | 6111 | | |
6110 | | - | |
6111 | | - | |
| 6112 | + | |
| 6113 | + | |
6112 | 6114 | | |
6113 | 6115 | | |
6114 | 6116 | | |
| |||
6125 | 6127 | | |
6126 | 6128 | | |
6127 | 6129 | | |
6128 | | - | |
| 6130 | + | |
6129 | 6131 | | |
6130 | 6132 | | |
6131 | 6133 | | |
| |||
6145 | 6147 | | |
6146 | 6148 | | |
6147 | 6149 | | |
6148 | | - | |
| 6150 | + | |
6149 | 6151 | | |
6150 | 6152 | | |
6151 | 6153 | | |
| |||
6156 | 6158 | | |
6157 | 6159 | | |
6158 | 6160 | | |
6159 | | - | |
| 6161 | + | |
6160 | 6162 | | |
6161 | 6163 | | |
6162 | 6164 | | |
| |||
0 commit comments