Skip to content

fix(docs): show the documented version in the nav - #81

Merged
koistya merged 1 commit into
mainfrom
fix/docs-nav-version
Nov 1, 2026
Merged

koistya merged 1 commit into
mainfrom
fix/docs-nav-version

Conversation

@koistya

@koistya koistya commented Nov 1, 2026

Copy link
Copy Markdown
Member

The docs nav was hard-coded to v3.0.0 and has been wrong since v3.1.0. It now reads the version from package.json. The docs deploy from the release tag, so the label always matches the release they document.

import { version } from "../../package.json";
// …
{ text: `v${version}`, items: [/* Release Notes, npm */] }

Verification

  • bun run docs:build: the built nav shows v3.2.0

The nav label was hard-coded to v3.0.0 and went stale with every release. It now reads package.json, which matches the release tag the docs deploy from.
@koistya
koistya merged commit e2bfa6f into main Nov 1, 2026
10 checks passed
@koistya
koistya deleted the fix/docs-nav-version branch November 1, 2026 14:31
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