fix(docs): read version from root package.json for nav badge

The docs version badge was reading from apps/docs/package.json which
gets out of sync during manual releases. Read from the monorepo root
package.json instead so it always matches the released version.
This commit is contained in:
SnapOtter
2026-06-08 17:56:18 +08:00
parent 6e5e493612
commit 0631c41eb9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import { defineConfig } from "vitepress";
import llmstxt from "vitepress-plugin-llms";
import pkg from "../package.json";
import pkg from "../../../package.json";
export default defineConfig({
title: "SnapOtter",