]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: add guide to navbar
authorEduardo San Martin Morote <posva13@gmail.com>
Wed, 25 Jan 2023 11:07:42 +0000 (12:07 +0100)
committerEduardo San Martin Morote <posva@users.noreply.github.com>
Wed, 15 Feb 2023 09:52:57 +0000 (10:52 +0100)
packages/docs/.vitepress/config/en.ts
packages/docs/.vitepress/config/zh.ts

index d00e7b4616c0cc688d3f4ebc046773bc48f3bd3c..13e55dcb712fb65e73bd27a7ab84c39ab613da08 100644 (file)
@@ -24,6 +24,11 @@ export const enConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
     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/' },
       {
index 94bf820b130659c50075ebe98b8a1d02b0470757..60b62f8869b0cde2645036b6cc20d412ed53b5f5 100644 (file)
@@ -27,6 +27,11 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
     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/' },
       {