From 197442f3e808cfcffa3f2af9b30ed49b6129919e Mon Sep 17 00:00:00 2001 From: kzoeps Date: Thu, 30 Jul 2026 17:15:18 +0600 Subject: [PATCH 1/4] docs: define hidden tool page visibility --- ...30-hide-cli-scaffold-hyperboards-design.md | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 docs/superpowers/specs/2026-07-30-hide-cli-scaffold-hyperboards-design.md diff --git a/docs/superpowers/specs/2026-07-30-hide-cli-scaffold-hyperboards-design.md b/docs/superpowers/specs/2026-07-30-hide-cli-scaffold-hyperboards-design.md new file mode 100644 index 0000000..1f4fc07 --- /dev/null +++ b/docs/superpowers/specs/2026-07-30-hide-cli-scaffold-hyperboards-design.md @@ -0,0 +1,40 @@ +# Hide CLI, Scaffold, and Hyperboards pages + +## Goal + +Temporarily remove the Hypercerts CLI, Scaffold Starter App, and Hyperboards documentation pages from site discovery without deleting their source content or assets. + +## Visibility contract + +The following routes remain buildable and directly accessible: + +- `/tools/hypercerts-cli` +- `/tools/scaffold` +- `/tools/hyperboards` + +They will not appear in: + +- sidebar navigation or previous/next navigation +- the header Tools destination +- search results or curated search quick links +- the generated sitemap +- links from other documentation pages + +The surrounding documentation remains unchanged except where wording must be adjusted after removing an internal link. General references to the products and external project links remain in scope; this change hides the documentation routes rather than erasing the products from the documentation. + +## Implementation shape + +A shared page-visibility configuration will list the three hidden paths. Search-index and sitemap generation will read that configuration so a page can be shown again by removing one path from a single list. Navigation entries and internal links will be removed because those sources are authored statically. + +The header Tools link currently targets Scaffold. It will point to the first remaining visible Tools page instead. + +## Validation + +Automated tests will verify that: + +1. the three Markdown source files still exist; +2. the generated search index excludes all three routes; +3. the generated sitemap excludes all three routes; and +4. no authored navigation or documentation link points to a hidden route. + +The normal test suite and production build must pass. From 99326ac42b59d0142758773f5b3e738e8e881321 Mon Sep 17 00:00:00 2001 From: kzoeps Date: Thu, 30 Jul 2026 17:22:34 +0600 Subject: [PATCH 2/4] docs: hide CLI, Scaffold, and Hyperboards pages --- components/Layout.js | 2 +- components/SearchDialog.js | 1 - lib/generate-search-index.js | 4 ++ lib/generate-sitemap.js | 4 +- lib/navigation.js | 3 - lib/page-visibility.json | 7 +++ pages/architecture/account-and-identity.md | 2 +- pages/getting-started/quickstart.md | 4 +- pages/tools/hyperscan.md | 1 - test/hidden-tool-visibility.test.js | 69 ++++++++++++++++++++++ 10 files changed, 86 insertions(+), 11 deletions(-) create mode 100644 lib/page-visibility.json create mode 100644 test/hidden-tool-visibility.test.js diff --git a/components/Layout.js b/components/Layout.js index 1aab698..35c9f7d 100644 --- a/components/Layout.js +++ b/components/Layout.js @@ -163,7 +163,7 @@ export default function Layout({ children, frontmatter }) {