@@ -51,10 +51,22 @@ export default defineConfig({
5151 themeConfig : {
5252 // ── Nav ──────────────────────────────────────────────────────────────────
5353 nav : [
54- { text : "Getting Started" , link : "/getting-started/" } ,
55- { text : "Usage" , link : "/usage/search-syntax" } ,
56- { text : "Reference" , link : "/reference/cli-options" } ,
57- { text : "Architecture" , link : "/architecture/overview" } ,
54+ {
55+ text : "Getting Started" ,
56+ link : "/getting-started/" ,
57+ activeMatch : "^/getting-started/" ,
58+ } ,
59+ { text : "Usage" , link : "/usage/search-syntax" , activeMatch : "^/usage/" } ,
60+ {
61+ text : "Reference" ,
62+ link : "/reference/cli-options" ,
63+ activeMatch : "^/reference/" ,
64+ } ,
65+ {
66+ text : "Architecture" ,
67+ link : "/architecture/overview" ,
68+ activeMatch : "^/architecture/" ,
69+ } ,
5870 // Version dropdown — items are read from docs/public/versions.json.
5971 // The CI snapshot job prepends a new entry to that file on every major release;
6072 // the next main deploy re-builds this config and picks up the change automatically.
0 commit comments