1
0
mirror of https://gitee.com/coder-xiaomo/notes synced 2025-09-08 20:21:38 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

开始整理 数据结构 & 算法

This commit is contained in:
2021-12-26 23:44:59 +08:00
parent 41a3167862
commit f5205723e4
5 changed files with 954 additions and 32 deletions

View File

@@ -31,6 +31,7 @@ module.exports = {
},
plugins: [
// 搜索
[
'@vuepress/plugin-search',
{
@@ -44,6 +45,10 @@ module.exports = {
isSearchable: (page) => page.path !== '/',
},
],
// 侧边栏
// refer: https://github.com/shanyuhai123/vuepress-plugin-auto-sidebar
// ["vuepress-plugin-auto-sidebar", {}]
],
markdown: {
@@ -95,7 +100,6 @@ module.exports = {
navbar: [
{
text: '首页',
link: '/'
@@ -111,8 +115,16 @@ module.exports = {
text: '笔记',
children: [
{
text: '计算机网络笔记',
text: '计算机网络',
link: '/computer-networks'
},
{
text: '数据结构',
link: '/data-structures'
},
{
text: '算法',
link: '/algorithms'
}
],
},
@@ -173,11 +185,31 @@ module.exports = {
],
},
*/
],
// 侧边栏数组
// 所有页面会使用相同的侧边栏
// // refer: https://v2.vuepress.vuejs.org/zh/reference/default-theme/config.html#sidebar
// sidebar: {
// // '/': 'auto',
// '/computer-networks/': ['auto'],
// '/data-structures-and-algorithms/': [
// {
// title: '数据结构与算法',
// // sidebarDepth: 2,
// children: [
// {
// title: '数据结构篇',
// path: '/data-structures-and-algorithms/data-structures',
// },
// {
// title: '算法篇',
// path: '/data-structures-and-algorithms/algorithms',
// }
// ]
// }
// ],
// },
/*
sidebar: [
// SidebarItem