Skip to content

Publish the scripts the docs site runs in the browser - #106

Merged
SebConejo merged 2 commits into
mainfrom
flawless-veterinarian
Sep 22, 2026
Merged

SebConejo merged 2 commits into
mainfrom
flawless-veterinarian

Conversation

@SebConejo

Copy link
Copy Markdown
Member

.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 (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, and scripts/ keeps only the harness. docs.json points at /js/no-tab-jump.js.

Checked on the local preview: /js/no-tab-jump.js, /js/deploy-mode-toggle.js and /js/docs-switcher.js return 200, /scripts/check-coherence.mjs still returns 404. Before the move /scripts/no-tab-jump.js returned 404.

Also raises the Self-Healing button by 2px, at both breakpoints.

node scripts/check-coherence.mjs is GREEN.

.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.
@SebConejo
SebConejo merged commit bf4fd67 into main Sep 22, 2026
2 checks passed
@SebConejo
SebConejo deleted the flawless-veterinarian branch September 22, 2026 15:43
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