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. 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; } }