Skip to content

Commit

Permalink
auto generate sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
MrXiaoM committed Jul 19, 2024
1 parent d6518c3 commit 56d7749
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
12 changes: 0 additions & 12 deletions sidebar.js

This file was deleted.

5 changes: 3 additions & 2 deletions vuepress.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { viteBundler } from "@vuepress/bundler-vite";
import { defineUserConfig } from "vuepress";
import { removeHtmlExtensionPlugin } from 'vuepress-plugin-remove-html-extension';
import sidebar from "./sidebar.js";
import { resolve } from "path";
import { hopeTheme } from "vuepress-theme-hope";

Expand All @@ -20,7 +19,9 @@ export default defineUserConfig({
},
theme: hopeTheme({
favicon: "/images/logo.png",
sidebar: sidebar,
sidebar: {
"/": "structure",
},
navbar: [
{
text: "版本列表",
Expand Down

0 comments on commit 56d7749

Please sign in to comment.