Skip to content

docs: hide the serverless pages until they are announced - #5364

Merged
abelanger5 merged 1 commit into
mainfrom
belanger/hide-serverless-docs
Oct 28, 2026
Merged

abelanger5 merged 1 commit into
mainfrom
belanger/hide-serverless-docs

Conversation

@abelanger5

Copy link
Copy Markdown
Contributor

Description

Hides the Serverless Endpoints docs (/v1/serverless/*) until the feature is announced.

  • The section is unlisted from the v1 sidebar. llms.txt, llms-full.txt, the search index and the MCP resource catalogue only cover pages listed in a meta.json, so unlisting removes the pages from all of them.
  • A small lib/hidden-pages.ts names the hidden prefixes. The sitemap leaves those pages out and their metadata carries noindex, nofollow.
  • The pages stay published and reachable by URL, so the dashboard's links into them keep working. Their per-page markdown mirrors under /llms/v1/serverless/*.md are still generated for the same reason.

To bring the section back: add "serverless" to content/docs/v1/meta.json and drop the prefix from lib/hidden-pages.ts.

Type of change

  • Documentation change (pure documentation change)

Checklist

Changes have been:

  • Documented (where applicable)
  • Added to CHANGELOG (where applicable) -- see Keep a Changelog

Testing

  • Ran generate-llms: 20 pages are now unlisted and /v1/serverless no longer appears in llms.txt, llms-full.txt or llms-search-index.json.
  • test-search passes (139/139), tsc --noEmit and 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

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>
@vercel

vercel Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
hatchet-docs Ready Ready Preview Oct 28, 2026 8:44pm UTC

Request Review

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Oct 28, 2026
@greptile-apps

greptile-apps Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 4/5

[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.

Summary

Hides the Serverless section from the docs sidebar and adds search-engine controls.

  • Serverless docs stay reachable but leave discovery listings.

Reviews (1) · Last reviewed commit: "docs: hide the serverless pages until th..." · Reviewed by Greptile

Comment on lines +3 to +4
// 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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 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.

@abelanger5
abelanger5 merged commit d1ecfc8 into main Oct 28, 2026
18 checks passed
@abelanger5
abelanger5 deleted the belanger/hide-serverless-docs branch October 28, 2026 20:50

This branch was successfully deployed

1 active deployment
Preview — 0eee495e Deployed Oct 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants