Repository navigation
docs: hide the serverless pages until they are announced - #5364
Conversation
The Serverless Endpoints section is unlisted from the v1 sidebar, which also drops it from llms.txt, llms-full.txt, the search index and the MCP catalogue, since those cover listed pages only. Hidden pages are left out of the sitemap and marked noindex. They stay reachable by URL, so the dashboard's links keep working. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
[Low impact] The PR changes how one documentation section is discovered. Add the MCP catalogue filter before merging so the Serverless pages are no longer advertised. SummaryHides the Serverless section from the docs sidebar and adds search-engine controls.
Reviews (1) · Last reviewed commit: "docs: hide the serverless pages until th..." · Reviewed by Greptile |
| // noindex. The sidebar, llms.txt, the search index and the MCP catalogue only cover pages | ||
| // listed in a meta.json, so hiding a section there means unlisting it as well. |
There was a problem hiding this comment.
MCP still lists Serverless pages
Removing serverless from meta.json does not hide it from the MCP catalogue. collectDocs() walks every Markdown file under public/llms and uses llms.txt only to look up titles. Since the build still generates the Serverless Markdown mirrors, resources/list still advertises those unannounced pages to connected AI editors.
Filter the MCP catalogue by listed pages or isHiddenPage, while keeping the mirrors reachable by URL.
Description
Hides the Serverless Endpoints docs (
/v1/serverless/*) until the feature is announced.meta.json, so unlisting removes the pages from all of them.lib/hidden-pages.tsnames the hidden prefixes. The sitemap leaves those pages out and their metadata carriesnoindex, nofollow./llms/v1/serverless/*.mdare still generated for the same reason.To bring the section back: add
"serverless"tocontent/docs/v1/meta.jsonand drop the prefix fromlib/hidden-pages.ts.Type of change
Checklist
Changes have been:
Testing
generate-llms: 20 pages are now unlisted and/v1/serverlessno longer appears inllms.txt,llms-full.txtorllms-search-index.json.test-searchpasses (139/139),tsc --noEmitand prettier pass.🤖 AI Disclosure
I acknowledge that an LLM was used in the creation of this Pull Request, in accordance with Hatchet's AI_POLICY.md.
Details: Claude Code (Claude Fable 5.1) made the change and wrote this description.
🤖 Generated with Claude Code