Skip to content

docs: drop /docs prefix from doc URLs#140

Merged
pratyush618 merged 1 commit into
masterfrom
docs/remove-docs-url-prefix
May 5, 2026
Merged

docs: drop /docs prefix from doc URLs#140
pratyush618 merged 1 commit into
masterfrom
docs/remove-docs-url-prefix

Conversation

@pratyush618
Copy link
Copy Markdown
Collaborator

Summary

  • Move docs route into a (docs) route group with a required [...slug] catch-all so doc pages render at site root (/architecture/resources instead of /docs/architecture/resources).
  • Update docsRoute, docsImageRoute, docsContentRoute and move the matching og/ and llms.mdx/ route folders to drop the redundant /docs segment.
  • Bulk-rewrite /docs/... links to /... across MDX content, the landing page, and the primary nav.
  • Drop content/docs/index.mdx (and its meta.json entry) since the marketing home now owns /.

Test plan

  • pnpm types:check
  • pnpm lint
  • pnpm build — produces 303 static pages, e.g. out/architecture/resources.html, with no /docs segment in any path
  • Verify deployed site at docs.byteveda.org/taskito/architecture/resources after merge

Move the docs route into a `(docs)` route group with a required
catch-all so docs render at site root (e.g. /architecture/resources)
instead of /docs/architecture/resources. Drop the redundant docs
index page since the marketing home already serves that role.
@github-actions github-actions Bot added the docs label May 5, 2026
@pratyush618 pratyush618 merged commit 4fcda92 into master May 5, 2026
14 checks passed
@pratyush618 pratyush618 deleted the docs/remove-docs-url-prefix branch May 5, 2026 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant