Skip to content

test: check site project links against MANIFEST in CI - #129

Merged
lesnik512 merged 1 commit into
mainfrom
test/site-links-from-manifest
Oct 10, 2026
Merged

lesnik512 merged 1 commit into
mainfrom
test/site-links-from-manifest

Conversation

@lesnik512

Copy link
Copy Markdown
Member

scripts/check_site_content.sh checked the built homepage for a hand-kept list of repos. Nothing in CI or the justfile ran it, and the list had already drifted: it did not include compose2pod, so a site missing that link would have passed.

This replaces the script with a test in tests/test_site.py. The repos in the project lists of docs/index.md must equal MANIFEST minus the modern-di-* integrations, the same rule the profile test uses since #128. It runs in the existing test job and fails on extra links as well as missing ones. It reads the Markdown source rather than the built HTML; mkdocs build --strict in the docs job already covers the build.

Red check: with the compose2pod line removed from docs/index.md the new test fails, and it passes with the line restored. uv run pytest passes locally (175 tests).

@lesnik512
lesnik512 merged commit 23488dd into main Oct 10, 2026
3 checks passed
@lesnik512
lesnik512 deleted the test/site-links-from-manifest branch October 10, 2026 09:18
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.

1 participant