Skip to content

feat: alternate agentic spec route#214

Merged
Kinfe123 merged 1 commit into
mainfrom
feat/alternative-agentic-spec-route
May 24, 2026
Merged

feat: alternate agentic spec route#214
Kinfe123 merged 1 commit into
mainfrom
feat/alternative-agentic-spec-route

Conversation

@Kinfe123
Copy link
Copy Markdown
Member

@Kinfe123 Kinfe123 commented May 24, 2026

Summary by cubic

Adds a docs-scoped semantic sitemap alias at /docs/sitemap.md to make sitemap discovery easier for agents that probe docs routes first. This is additive to existing /sitemap.md and /.well-known/sitemap.md and is emitted only when routePrefix is empty.

  • New Features
    • Config/spec: new sitemap.markdown.docsRoute with default /docs/sitemap.md (no routePrefix), exported as DEFAULT_SITEMAP_MD_DOCS_ROUTE, and included in the agent discovery spec.
    • Runtime/adapters: sitemap resolver matches /docs/sitemap.md; Next.js withDocs adds a rewrite for it when no prefix; @farming-labs/fumadocs API exposes it.
    • CLI/static: docs sitemap generate --public now writes public/docs/sitemap.md; help text updated; docs doctor --agent and the website score page check and display the new route.
    • Robots/tests/docs: robots allow list now includes /docs/sitemap.md; public robots.txt, tests, and docs updated to reference the new alias.

Written for commit db3074e. Summary will update on new commits. Review in cubic

@vercel
Copy link
Copy Markdown

vercel Bot commented May 24, 2026

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

Project Deployment Actions Updated (UTC)
docs-website Building Building Preview, Comment May 24, 2026 6:13am

Copy link
Copy Markdown

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 24, 2026

Open in StackBlitz

@farming-labs/astro

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/astro@214

@farming-labs/astro-theme

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/astro-theme@214

@farming-labs/docs

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/docs@214

@farming-labs/theme

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/theme@214

@farming-labs/next

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/next@214

@farming-labs/nuxt

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/nuxt@214

@farming-labs/nuxt-theme

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/nuxt-theme@214

@farming-labs/svelte

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/svelte@214

@farming-labs/svelte-theme

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/svelte-theme@214

@farming-labs/tanstack-start

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/tanstack-start@214

commit: db3074e

@Kinfe123 Kinfe123 merged commit 7241d40 into main May 24, 2026
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant