From e155799f772952887334c5d03375c2251486e7ba Mon Sep 17 00:00:00 2001 From: 7Wate Date: Sat, 27 Aug 2022 21:08:09 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=EF=BC=9A=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docusaurus.config.js | 21 +++++++++++++++++++-- wiki/struct/home.md | 11 +++++++++++ wiki/{algo => struct}/概述/数据结构.md | 0 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 wiki/struct/home.md rename wiki/{algo => struct}/概述/数据结构.md (100%) 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