Commit 1de4271
authored
Fix for docs not building (#1146)
<!--
Before submitting:
- Read CONTRIBUTING.md for workflow
- Read AGENTS.md for architecture (especially if AI-generated)
Air's design principles: semantic APIs with clear docstrings,
concise docs mindful of context window sizes, max readability,
less code is better, zero config is ideal. — airwebframework.org
-->
## What
Pygments 2.20.0 has a breaking change that prevents Air's documentation
from building. This PR excludes only that release with
`pygments>=2.19.2,!=2.20.0`; the lockfile stays on working version
2.19.2 until a newer fixed release is available. Reference:
pygments/pygments#3076
This PR also fixes the misspelled `air.forms` documentation reference
and adds an integration test that builds the complete documentation site
with MkDocs.
## Reviewer Focus
The constraint excludes the known-bad 2.20.0 release while automatically
permitting 2.20.1 or later once published, so no follow-up constraint
change is required.
## Checklist
- [X] Diff contains only changes for this task — no unrelated
refactoring or cleanup
- [ ] Addresses exactly one issue or feature
- [X] New or changed behavior has test coverage
- [X] This is the simplest viable approach
- [X] AI provenance section removed or accurate4 files changed
Lines changed: 33 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments