Commit 04d93c7
Fix dogfooding: remove MkDocsYMLManager from ZensicalToolSpec config spec
When an existing mkdocs.yml has content, the first_content resolution
picks it over the empty zensical.toml, so config is never written to
zensical.toml. This causes `zensical serve` to fail with "Missing
required setting: site_name".
Fix: Zensical only manages zensical.toml. Each tool manages its own
config files independently.
Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/a9aad48e-e19c-485f-8ad9-7894a746e1b1
Co-authored-by: nathanjmcdougall <[email protected]>1 parent 2d8bca6 commit 04d93c7
2 files changed
Lines changed: 8 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | 59 | | |
65 | 60 | | |
66 | 61 | | |
| |||
70 | 65 | | |
71 | 66 | | |
72 | 67 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | 68 | | |
78 | 69 | | |
79 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4237 | 4237 | | |
4238 | 4238 | | |
4239 | 4239 | | |
4240 | | - | |
| 4240 | + | |
4241 | 4241 | | |
4242 | | - | |
| 4242 | + | |
4243 | 4243 | | |
4244 | 4244 | | |
4245 | 4245 | | |
| |||
4251 | 4251 | | |
4252 | 4252 | | |
4253 | 4253 | | |
4254 | | - | |
4255 | | - | |
4256 | | - | |
4257 | | - | |
| 4254 | + | |
| 4255 | + | |
| 4256 | + | |
| 4257 | + | |
| 4258 | + | |
0 commit comments