Browse Source

sidebar modification

pull/1/head
tomdang 3 years ago
parent
commit
f4f540faf7
Signed by: tomdang
GPG Key ID: 794FF55A0B3D0992
  1. 3
      .vuepress/sidebar/zh.ts
  2. 2
      .vuepress/themeConfig.ts

3
.vuepress/sidebar/zh.ts

@ -1,3 +1,4 @@ @@ -1,3 +1,4 @@
import { defineSidebarConfig } from "vuepress-theme-hope";
export const zh = "auto";
export const zh = defineSidebarConfig({
});

2
.vuepress/themeConfig.ts

@ -90,7 +90,7 @@ export default defineThemeConfig({ @@ -90,7 +90,7 @@ export default defineThemeConfig({
navbar: navbar.zh,
// sidebar
sidebar: false,
sidebar: sidebar.zh,
headingDepth: 2,

Loading…
Cancel
Save