From: Eduardo San Martin Morote Date: Wed, 25 Jan 2023 11:07:42 +0000 (+0100) Subject: docs: add guide to navbar X-Git-Tag: @pinia/nuxt@0.4.7~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fab04c5213920297467d06a1bb559dd48d15aac6;p=thirdparty%2Fvuejs%2Fpinia.git docs: add guide to navbar --- diff --git a/packages/docs/.vitepress/config/en.ts b/packages/docs/.vitepress/config/en.ts index d00e7b46..13e55dcb 100644 --- a/packages/docs/.vitepress/config/en.ts +++ b/packages/docs/.vitepress/config/en.ts @@ -24,6 +24,11 @@ export const enConfig: LocaleSpecificConfig = { nav: [ // { text: 'Config', link: '/config/' }, // { text: 'Plugins', link: '/plugins/' }, + { + text: 'Guide', + link: '/core-concepts/', + activeMatch: '^/core-concepts/', + }, { text: 'API', link: '/api/', activeMatch: '^/api/' }, { text: 'Cookbook', link: '/cookbook/', activeMatch: '^/cookbook/' }, { diff --git a/packages/docs/.vitepress/config/zh.ts b/packages/docs/.vitepress/config/zh.ts index 94bf820b..60b62f88 100644 --- a/packages/docs/.vitepress/config/zh.ts +++ b/packages/docs/.vitepress/config/zh.ts @@ -27,6 +27,11 @@ export const zhConfig: LocaleSpecificConfig = { nav: [ // { text: 'Config', link: '/config/' }, // { text: 'Plugins', link: '/plugins/' }, + { + text: '指南', + link: '/zh/core-concepts/', + activeMatch: '^/zh/core-concepts/', + }, { text: 'API', link: '/zh/api/', activeMatch: '^/zh/api/' }, { text: '手册', link: '/zh/cookbook/', activeMatch: '^/zh/cookbook/' }, {