Skip to content

fix(docs): serve documentation under /docs/ URL prefix#854

Merged
christso merged 1 commit intomainfrom
fix/docs-under-docs-prefix
Mar 29, 2026
Merged

fix(docs): serve documentation under /docs/ URL prefix#854
christso merged 1 commit intomainfrom
fix/docs-under-docs-prefix

Conversation

@christso
Copy link
Copy Markdown
Collaborator

Summary

  • Move all doc content into docs/ subdirectory so Starlight generates URLs at /docs/*
  • Create standalone Astro landing page at / outside of Starlight
  • Remove Hero.astro conditional wrapper (no longer needed)
  • Internal links already have /docs/ prefix from fix(docs): add missing /docs/ prefix to internal links #852, which is now correct

What changed

  • apps/web/src/pages/index.astro — new standalone landing page
  • apps/web/src/content/docs/{dirs}apps/web/src/content/docs/docs/{dirs}
  • apps/web/src/content/docs/docs.mdxapps/web/src/content/docs/docs/index.mdx
  • apps/web/astro.config.mjs — sidebar dirs prefixed with docs/, Hero override removed
  • Deleted: Hero.astro, index.mdx (Starlight splash)

Test plan

  • Verify landing page renders at /
  • Verify docs pages serve at /docs/* (e.g., /docs/evaluation/rubrics/)
  • Verify sidebar navigation and internal links work
  • Verify Cloudflare Pages preview deployment

🤖 Generated with Claude Code

Move all doc content into docs/ subdirectory so Starlight generates
URLs at /docs/*. Create standalone Astro landing page at / outside
of Starlight. Remove Hero.astro conditional wrapper.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying agentv with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8446cca
Status: ✅  Deploy successful!
Preview URL: https://5ce5929b.agentv.pages.dev
Branch Preview URL: https://fix-docs-under-docs-prefix.agentv.pages.dev

View logs

@christso christso merged commit fb1070d into main Mar 29, 2026
2 checks passed
@christso christso deleted the fix/docs-under-docs-prefix branch March 29, 2026 21:01
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