Browse Source

sidebar modification

master
tomdang 3 years ago
parent
commit
f4f540faf7
Signed by untrusted user: 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 @@
import { defineSidebarConfig } from "vuepress-theme-hope"; 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({
navbar: navbar.zh, navbar: navbar.zh,
// sidebar // sidebar
sidebar: false, sidebar: sidebar.zh,
headingDepth: 2, headingDepth: 2,

Loading…
Cancel
Save