From 25ab4a412e54d24a9b479329c9fd34278aef7aa0 Mon Sep 17 00:00:00 2001 From: pei-pay Date: Sun, 14 Apr 2024 17:36:33 +0900 Subject: [PATCH] tweak: links --- packages/.vitepress/config/en.ts | 2 +- packages/.vitepress/config/ja.ts | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/.vitepress/config/en.ts b/packages/.vitepress/config/en.ts index 872928a..95d4988 100644 --- a/packages/.vitepress/config/en.ts +++ b/packages/.vitepress/config/en.ts @@ -23,7 +23,7 @@ const FunctionsSideBar = getFunctionsSideBar() const nav: i18nTheme['nav'] = [ { text: 'Home', link: '/' }, { text: 'Guide', link: '/guide/' }, - { text: 'Functions', link: '/functions/' }, + { text: 'Functions', link: '/functions' }, ] const sidebar: i18nTheme['sidebar'] = { diff --git a/packages/.vitepress/config/ja.ts b/packages/.vitepress/config/ja.ts index 7096147..8d3f039 100644 --- a/packages/.vitepress/config/ja.ts +++ b/packages/.vitepress/config/ja.ts @@ -23,12 +23,13 @@ const FunctionsSideBar = getFunctionsSideBar() const nav: i18nTheme['nav'] = [ { text: 'Home', link: '/ja/' }, { text: 'Guide', link: '/ja/guide/' }, - { text: 'Functions', link: 'ja/functions/' }, + { text: 'Functions', link: 'ja/functions' }, ] const sidebar: i18nTheme['sidebar'] = { - '/guide/': DefaultSideBar, - '/functions': FunctionsSideBar, + 'ja/guide/': DefaultSideBar, + 'ja/functions': FunctionsSideBar, + // TODO: ja '/core/': FunctionsSideBar, '/shared/': FunctionsSideBar, }