From ab2f85d6265910ffd71a7f63e9fb0abf1d09dcde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Conejo?= Date: Tue, 22 Sep 2026 17:29:12 +0200 Subject: [PATCH 1/2] fix: publish the scripts the docs site runs in the browser .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. --- .mintignore | 3 ++- docs.json | 2 +- {scripts => js}/deploy-mode-toggle.js | 0 {scripts => js}/docs-switcher.js | 0 {scripts => js}/no-tab-jump.js | 0 references/AUDIENCE.md | 2 +- 6 files changed, 4 insertions(+), 3 deletions(-) rename {scripts => js}/deploy-mode-toggle.js (100%) rename {scripts => js}/docs-switcher.js (100%) rename {scripts => js}/no-tab-jump.js (100%) diff --git a/.mintignore b/.mintignore index 9b53dd8..d99aab3 100644 --- a/.mintignore +++ b/.mintignore @@ -2,7 +2,8 @@ # .git, .github, .claude, .agents, .idea, node_modules, # README.md, LICENSE.md, CHANGELOG.md, CONTRIBUTING.md -# Non-docs files: the harness the agents read, never published +# Non-docs files: the harness the agents read, never published. +# The scripts the site loads live in js/, which stays published. AGENTS.md CLAUDE.md references/ diff --git a/docs.json b/docs.json index 43bc3ad..850a992 100644 --- a/docs.json +++ b/docs.json @@ -9,7 +9,7 @@ }, "favicon": "/favicon.svg", "css": "/style.css", - "js": "/scripts/no-tab-jump.js", + "js": "/js/no-tab-jump.js", "banner": { "content": "**NEW LAUNCH:** Repair your API requests at runtime. [Get started](https://dashboard.manifest.build)", "dismissible": false diff --git a/scripts/deploy-mode-toggle.js b/js/deploy-mode-toggle.js similarity index 100% rename from scripts/deploy-mode-toggle.js rename to js/deploy-mode-toggle.js diff --git a/scripts/docs-switcher.js b/js/docs-switcher.js similarity index 100% rename from scripts/docs-switcher.js rename to js/docs-switcher.js diff --git a/scripts/no-tab-jump.js b/js/no-tab-jump.js similarity index 100% rename from scripts/no-tab-jump.js rename to js/no-tab-jump.js diff --git a/references/AUDIENCE.md b/references/AUDIENCE.md index 36ceae0..4b97de6 100644 --- a/references/AUDIENCE.md +++ b/references/AUDIENCE.md @@ -31,7 +31,7 @@ need this to succeed?" ## The Cloud / Self-hosted rule - Any section whose instructions differ between cloud and self-hosted - uses the toggle (`scripts/deploy-mode-toggle.js`). Default view: + uses the toggle (`js/deploy-mode-toggle.js`). Default view: Cloud. - The chosen mode is sticky: a user who picked Self-hosted keeps seeing Self-hosted while navigating. From fee188b220cb372a1e1b01a084b5c6314e8e411b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Conejo?= Date: Tue, 22 Sep 2026 17:29:12 +0200 Subject: [PATCH 2/2] style: raise the Self-Healing button by 2px --- style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index 5518d58..4038845 100644 --- a/style.css +++ b/style.css @@ -584,7 +584,7 @@ html.dark .docs-book-call { /* Secondary CTA to the main Manifest Self-Healing documentation */ .docs-self-healing { position: fixed; - top: calc(7.5px + var(--banner-height, 40px)); + top: calc(5.5px + var(--banner-height, 40px)); right: 166px; z-index: 60; display: inline-flex; @@ -631,7 +631,7 @@ html.dark .docs-self-healing:hover { top: 7.5px; } .docs-self-healing { - top: 7.5px; + top: 5.5px; } }