Skip to content

feat: normalized docs path route#199

Merged
Kinfe123 merged 3 commits into
mainfrom
feat/normalized-docs-path-route
May 19, 2026
Merged

feat: normalized docs path route#199
Kinfe123 merged 3 commits into
mainfrom
feat/normalized-docs-path-route

Conversation

@Kinfe123
Copy link
Copy Markdown
Member

@Kinfe123 Kinfe123 commented May 19, 2026

  • chore: release v0.1.110
  • chore: release v0.1.111
  • feat: normalized docsPath route

Summary by cubic

Normalizes the docsPath route across fumadocs, @farming-labs/next, and the MDX plugin. Supports root-mounted docs and collapses duplicate slashes for consistent routes and markdown links.

  • New Features
    • Treats "", /, and /// as root-mounted docs; serves and canonicalizes markdown at the site root.
    • Normalizes docsPath by trimming edges and collapsing duplicate slashes (e.g., /guides//docs//guides/docs).
    • Updates @farming-labs/next rewrites to handle root docs and map markdown Accept requests to /api/docs.
    • Updates the remark plugin to generate text/markdown alternates using the normalized path.

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

@vercel
Copy link
Copy Markdown

vercel Bot commented May 19, 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 19, 2026 10:41pm

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 19, 2026

Open in StackBlitz

@farming-labs/astro

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

@farming-labs/astro-theme

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

@farming-labs/docs

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

@farming-labs/theme

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

@farming-labs/next

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

@farming-labs/nuxt

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

@farming-labs/nuxt-theme

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

@farming-labs/svelte

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

@farming-labs/svelte-theme

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

@farming-labs/tanstack-start

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

commit: d4af9b8

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 17 files

Re-trigger cubic

@Kinfe123 Kinfe123 merged commit 26f7541 into main May 19, 2026
8 of 9 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