diff --git a/docusaurus.config.js b/docusaurus.config.js index bfd39c7a..b710ca1a 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -99,6 +99,19 @@ const config = { breadcrumbs: false, }, ], + [ + "@docusaurus/plugin-content-docs", + { + id: "struct", + path: "wiki/struct", + routeBasePath: "struct", + sidebarPath: require.resolve("./sidebars.js"), + editUrl: "https://git.7wate.com/zhouzhongping/wiki/src/branch/master", + showLastUpdateAuthor: true, + showLastUpdateTime: true, + breadcrumbs: false, + }, + ], [ "@docusaurus/plugin-content-docs", { @@ -242,11 +255,15 @@ const config = { label: "👨🏻‍🎓 维基", items: [ { - label: " 程序语言", + label: "程序语言", to: "/dev", }, { - label: "算法逻辑", + label: "数据结构", + to: "/struct", + }, + { + label: "常用算法", to: "/algo", }, { diff --git a/wiki/struct/home.md b/wiki/struct/home.md new file mode 100644 index 00000000..e0a705e2 --- /dev/null +++ b/wiki/struct/home.md @@ -0,0 +1,11 @@ +--- +slug: / +sidebar_position: 1 +--- + +# Home + +数据结构数据结构 ~ 🤩🤩🤩 + + + diff --git a/wiki/algo/概述/数据结构.md b/wiki/struct/概述/数据结构.md similarity index 100% rename from wiki/algo/概述/数据结构.md rename to wiki/struct/概述/数据结构.md