Skip to content

FIX: Fixing Myst ToC#2144

Merged
rlundeen2 merged 1 commit into
microsoft:mainfrom
rlundeen2:rlundeen2-fix-myst-toc
Jul 9, 2026
Merged

FIX: Fixing Myst ToC#2144
rlundeen2 merged 1 commit into
microsoft:mainfrom
rlundeen2:rlundeen2-fix-myst-toc

Conversation

@rlundeen2

Copy link
Copy Markdown
Contributor

Description

Fixes a general documentation-validation failure in CI:

[myst.yml] File referenced in myst.yml TOC not found: 'api/pyrit_identifiers.md'

Root cause

PR #2111 removed the top-level pyrit/identifiers/ deprecation-shim module. Those identifier types now live under pyrit/models/identifiers/ and are documented as part of pyrit_models.md. As a result the API generator (build_scripts/gen_api_md.py) no longer emits doc/api/pyrit_identifiers.md, but doc/myst.yml still referenced it in the API Reference TOC, so build_scripts/validate_docs.py failed.

Fix

Remove the stale api/pyrit_identifiers.md entry from doc/myst.yml.

Verification

  • python build_scripts/validate_docs.py → all validations pass (156 file references OK, no orphaned files).
  • pre-commit (incl. Validate Documentation Structure) passes on the change.

Co-authored-by: Copilot App 223556219+Copilot@users.noreply.github.com

Remove stale 'api/pyrit_identifiers.md' reference from doc/myst.yml. The top-level pyrit/identifiers module was removed in microsoft#2111 (identifiers now live under pyrit/models/identifiers/), so the API generator no longer produces pyrit_identifiers.md, causing doc validation to fail.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@rlundeen2 rlundeen2 enabled auto-merge July 9, 2026 00:30
@rlundeen2

Copy link
Copy Markdown
Contributor Author

myst check is failing because it's checking against main. But this should fix that failure

@rlundeen2 rlundeen2 added this pull request to the merge queue Jul 9, 2026
Merged via the queue into microsoft:main with commit 107810f Jul 9, 2026
52 of 53 checks passed
@rlundeen2 rlundeen2 deleted the rlundeen2-fix-myst-toc branch July 9, 2026 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants