Skip to content

feat: version the website docs#179

Open
V3RON wants to merge 2 commits into
mainfrom
feat/website-doc-versioning
Open

feat: version the website docs#179
V3RON wants to merge 2 commits into
mainfrom
feat/website-doc-versioning

Conversation

@V3RON
Copy link
Copy Markdown
Contributor

@V3RON V3RON commented Jun 3, 2026

What is this?

This PR splits the website docs into two versions: latest for the current release snapshot and v2 for the existing docs content. The site now defaults to latest while still allowing readers to switch back to v2.

How does it work?

The docs are moved into versioned directories under website/docs, and Rspress is configured with multi-version support so latest is served at the root URL. The versioned search index is enabled, and both versions stay available through the shared version switcher.

Why is this useful?

  • Keeps the current release documentation separate from the older v2 docs.
  • Makes latest the default experience without hiding v2.
  • Sets up the website for future release tracks using the same pattern.

V3RON added 2 commits June 3, 2026 14:16
Split the docs into latest and v2 versioned trees and enable Rspress multi-version routing with latest as the default.
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