For more details regarding the setup see: shadcn-docs-nuxt.
All guides use explicit version URLs: /v3/..., /v2/..., etc. The version selector, landing page redirects, and documentation exports read docs-versions.json. Its latest field identifies the default version.
The content directory follows the same structure: content/v3/, content/v2/, etc. Internal guide links include the version prefix; shared assets remain under /images/.
The root, unversioned URLs, and unknown documentation URLs redirect temporarily to the latest version's getting-started page. Version roots such as /v2 open that version's getting-started page. Missing assets and API endpoints do not redirect. Server and client navigation use the same fallback rules; no individual legacy URL mappings are maintained.
To add a release, add its content directory and entry in docs-versions.json, then update latest. Existing version URLs continue to serve their own guides. Verify with node --test scripts/*.test.cjs and bun run build.
Make sure to install the dependencies:
# bun
bun installStart the development server on http://localhost:3000
bun run devBuild the application for production:
bun run buildLocally preview production build:
bun run previewTo generate docs artifacts, run:
bun run docs:artifactsThis creates or updates:
public/studio-docs.txtwith the latest version's markdown content and YAML frontmatter removed.public/studio-docs-v*.txtwith a separate export for each configured version.public/sitemap.xmlwith canonicalhttps://docs.msty.ai/studiodocs routes.public/llms.txtwith an LLM-friendly index of canonical docs pages.