fix(docs): exclude internal authoring files from publishing - #827
Open
danstotts-ops wants to merge 1 commit into
Open
fix(docs): exclude internal authoring files from publishing#827danstotts-ops wants to merge 1 commit into
danstotts-ops wants to merge 1 commit into
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The 2026-09-01 focused Ahrefs crawl found that repository-only authoring files are published and indexed as product documentation:
/CLAUDEis a 200 page in the sitemap and links to four ignored.claude/*.mdfiles that return 404./tests/TESTSis a 200 page in the sitemap even though thetests/tree is an internal agent-test harness.These surfaces account for two orphan-page errors, four 404 URLs, one page-with-broken-links error, and duplicate-H1 noise.
Change
Add a root
.mintignorethat excludesCLAUDE.mdandtests/from Mintlify processing and publishing. Product documentation, navigation, redirects, and indexing policy are unchanged.Verification
npx -y mint@latest validate: passednpx -y mint@latest broken-links: no broken linksnode scripts/validate-redirect-sources.js: 294 redirects validnode scripts/validate-tooltips.js: passed, with four pre-existing unused-import warningspython3 -m json.tool docs.json: passedgit diff --check: passedProduction is unchanged. After merge and deployment, verify both excluded URLs are absent and rerun Ahrefs project 10306732.