Repository navigation
Publish the scripts the docs site runs in the browser - #106
Merged
Merged
Conversation
.mintignore excludes scripts/ so the docs-sync harness never reaches the published site. That folder also held the three scripts the site loads, so since 89b99ab Mintlify stopped shipping them: the Cloud / Self-hosted toggle, its floating copy next to the Documentation tab, the Book a call button and the docs switcher on the logo were all dead. The browser scripts move to js/, which stays published, and scripts/ keeps only the harness.
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.
.mintignoreexcludesscripts/so the docs-sync harness never reaches the published site. That folder also held the three scripts the site loads, so since 89b99ab (PR #102, merged 2026-09-21) Mintlify stopped shipping them. Dead since then: the Cloud / Self-hosted toggle, its floating copy next to the Documentation tab, the Book a call button and the docs switcher on the logo.The browser scripts move to
js/, which stays published, andscripts/keeps only the harness.docs.jsonpoints at/js/no-tab-jump.js.Checked on the local preview:
/js/no-tab-jump.js,/js/deploy-mode-toggle.jsand/js/docs-switcher.jsreturn 200,/scripts/check-coherence.mjsstill returns 404. Before the move/scripts/no-tab-jump.jsreturned 404.Also raises the Self-Healing button by 2px, at both breakpoints.
node scripts/check-coherence.mjsis GREEN.