Commit cf6f308
FIX: register auto-generated pyrit_auxiliary_attacks API page in myst.yml
This PR adds an `__init__.py` to `pyrit.auxiliary_attacks` (to emit the
`ExperimentalWarning` on import), which made the package visible to
`build_scripts/gen_api_md.py` and caused it to generate a new
`doc/api/pyrit_auxiliary_attacks.md` reference page.
After PR microsoft#1793 added fail-fast TOC validation, any generated API page
that is missing from `doc/myst.yml` fails the `deploy-book` job. Add
the entry to the alphabetically-correct slot (between `pyrit_auth.md`
and `pyrit_cli_api_client.md`) so the page is exposed in the Jupyter
Book TOC.
Also refresh `uv.lock` to pick up the `exceptiongroup>=1.2.0;
python_version < '3.11'` requirement that landed on `main`.
Verified locally: `python build_scripts/gen_api_md.py` reports
`Validated 179 file references in myst.yml` and `No orphaned
documentation files found`; `cd doc && uv run jupyter-book build --all
--html --strict` exits 0.
The other red check on the previous run, `Build Production (local)`,
failed with `Upload progress stalled.` during the artifact upload
step. That is a GitHub Actions infrastructure flake unrelated to this
PR; it will resolve when CI re-runs against this commit.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 0e7051f commit cf6f308
2 files changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| 208 | + | |
208 | 209 | | |
209 | 210 | | |
210 | 211 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments