diff --git a/.vuepress/sidebar/zh.ts b/.vuepress/sidebar/zh.ts index ba042b5..7c01707 100644 --- a/.vuepress/sidebar/zh.ts +++ b/.vuepress/sidebar/zh.ts @@ -1,3 +1,4 @@ import { defineSidebarConfig } from "vuepress-theme-hope"; -export const zh = "auto"; +export const zh = defineSidebarConfig({ +}); diff --git a/.vuepress/themeConfig.ts b/.vuepress/themeConfig.ts index 4cb2b70..5a0c979 100644 --- a/.vuepress/themeConfig.ts +++ b/.vuepress/themeConfig.ts @@ -90,7 +90,7 @@ export default defineThemeConfig({ navbar: navbar.zh, // sidebar - sidebar: false, + sidebar: sidebar.zh, headingDepth: 2,