diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index b57043b..602c9f9 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -33,31 +33,45 @@ export default { logo: "/assets/408_logo.png", navbar: require("./config/navbar/index"), // 注意这个关键字有所改变 sidebar: require("./config/sidebar/index"), + + // 主题布局选项 + repo: "https://github.com/mmdapl/408CSFamily", + logoDark:"/assets/408_logo.png", + + // 博客配置 blog:{ - name:'', - medias:{ - "BiliBili": "哔哩哔哩" - } + name:'测试', + avatar:'', + description:'', + intro:'', + roundAvatar:true, + timeline:"时间轴的顶部文字", + // articleInfo:"", + // medias:{ + // "BiliBili": "哔哩哔哩" + // } }, - - lastUpdated: true, lastUpdatedText: "最近更新", contributorsText: '贡献者', notFound: ['宝贝不要急,我努力更新就会慢慢有的哟...想要什么,也欢迎微信后台私信!'],// 自定义404页面提示语,数组 backToHome: '返回首页', // 返回首页 - repo: "https://github.com/mmdapl/408CSFamily", + sidebarDepth: 1, editLink: false, // 默认为 "Edit this page" // editLinkText: '帮助我们改善此页面!', search: true, searchMaxSuggestions: 10, - plugins:{ + plugins: { // 开启博客功能 - blog:true - } + // blog:true, + // 代码块 + mdEnhance: { + codetabs: true, + }, + }, }), // plugins: [ // // 全文搜索 参考配置:https://github.com/vuepress/vuepress-next/blob/main/docs/.vuepress/config.ts diff --git a/docs/.vuepress/config/navbar/index.js b/docs/.vuepress/config/navbar/index.js index 333f0c6..4a9be90 100644 --- a/docs/.vuepress/config/navbar/index.js +++ b/docs/.vuepress/config/navbar/index.js @@ -1,16 +1,16 @@ module.exports = [ { - text: '首页', + text: '主页', link: '/' }, { - text: "恶补算法", + text: "算法恶补", children: [{ text: '习题练手', - link: '/Algorithm/topic_practice' + link: '/algorithm/topic_practice' }, { text: '刷题笔记', - link: '/Algorithm/algorithm_note' + link: '/algorithm/algorithm_note' }, { text: '在线刷题', children: [{ @@ -25,20 +25,20 @@ module.exports = [ }, { text: "数据结构", - link: "/DS/basic_introduction" + link: "/ds/basic_introduction" }, { text: "操作系统", - link: "/OS/" + link: "/os/" }, { text: "计算机组成原理", - link: "/CCP/" + link: "/ccp/" }, { text: "计算机网络", - link: "/CN/" + link: "/cn/" }, { text: '其他资料', children: [{ @@ -51,21 +51,21 @@ module.exports = [ text: "思维导图", children: [{ text: '数据结构', - link: '/NoteMap/DS_Map' + link: '/note-map/DS_Map' }, { text: '操作系统', - link: '/NoteMap/OS_Map' + link: '/note-map/OS_Map' }, { text: '计算机组成原理', - link: '/NoteMap/CCP_Map' + link: '/note-map/CCP_Map' }, { text: '计算机网络', - link: '/NoteMap/CN_Map' + link: '/note-map/CN_Map' }] }] }, { text: "大事记", - link: "/Big_Event_History/" + link: "/big-event-history/" }, ]; diff --git a/docs/.vuepress/config/sidebar/algorithm_content.js b/docs/.vuepress/config/sidebar/algorithm_content.js index 50b1c92..c4ce0d7 100644 --- a/docs/.vuepress/config/sidebar/algorithm_content.js +++ b/docs/.vuepress/config/sidebar/algorithm_content.js @@ -3,16 +3,16 @@ module.exports = [ // 'linear_table', { text: '基础入门', - link: "/DS/basic_introduction", + link: "/ds/basic_introduction", collapsible: false, children: [{ text: '1.1 基本概念', - link: '/DS/basic_introduction/1.basic_concepts.md' + link: '/ds/basic_introduction/1.basic_concepts.md' }, { text: '1.2 数据结构三要素', - link: '/DS/basic_introduction/2.three_elements_of_data_structure.md' + link: '/ds/basic_introduction/2.three_elements_of_data_structure.md' }, { text: '1.3 算法和算法评价', - link: '/DS/basic_introduction/3.algorithm_and_algorithm_evaluation.md' + link: '/ds/basic_introduction/3.algorithm_and_algorithm_evaluation.md' }], }] \ No newline at end of file diff --git a/docs/.vuepress/config/sidebar/ds_content.js b/docs/.vuepress/config/sidebar/ds_content.js index 49f6d9f..7e74e7f 100644 --- a/docs/.vuepress/config/sidebar/ds_content.js +++ b/docs/.vuepress/config/sidebar/ds_content.js @@ -3,79 +3,79 @@ module.exports = [ // 'linear_table', { text: '基础入门', - link: "/DS/basic_introduction", + link: "/ds/basic_introduction", collapsible: false, children: [{ text: '1.1 基本概念', - link: '/DS/basic_introduction/1.basic_concepts.md' + link: '/ds/basic_introduction/1.basic_concepts.md' }, { text: '1.2 数据结构三要素', - link: '/DS/basic_introduction/2.three_elements_of_data_structure.md' + link: '/ds/basic_introduction/2.three_elements_of_data_structure.md' }, { text: '1.3 算法和算法评价', - link: '/DS/basic_introduction/3.algorithm_and_algorithm_evaluation.md' + link: '/ds/basic_introduction/3.algorithm_and_algorithm_evaluation.md' }], }, { text: '线性表', collapsible: true, - link: "/DS/linear_table", + link: "/ds/linear_table", children: [{ text: '2.1 基础概念和操作', - link: '/DS/linear_table/1.basic_concept_and_operation.md' + link: '/ds/linear_table/1.basic_concept_and_operation.md' }, { text: '2.2 线性表的顺序表示', - link: '/DS/linear_table/2.sequential_representation.md' + link: '/ds/linear_table/2.sequential_representation.md' }, { text: '2.3 基础概念和操作', - link: '/DS/linear_table/3.chain_representation.md' + link: '/ds/linear_table/3.chain_representation.md' }, { text: '2.4 基础概念和操作', - link: '/DS/linear_table/4.double_linked_list.md' + link: '/ds/linear_table/4.double_linked_list.md' }, { text: '2.5 基础概念和操作', - link: '/DS/linear_table/5.circular_list.md' + link: '/ds/linear_table/5.circular_list.md' }, { text: '2.6 基础概念和操作', - link: '/DS/linear_table/6.static_linked_list.md' + link: '/ds/linear_table/6.static_linked_list.md' }, { text: '2.7 基础概念和操作', - link: '/DS/linear_table/7.comparison_of_sequential_list_and_linked_list.md' + link: '/ds/linear_table/7.comparison_of_sequential_list_and_linked_list.md' }, { text: '2.8 存储结构的选取', - link: '/DS/linear_table/8.selection_of_storage_structure.md' + link: '/ds/linear_table/8.selection_of_storage_structure.md' }, { text: '2.9 零碎知识补充', - link: '/DS/linear_table/9.piecemeal_knowledge_supplement.md' + link: '/ds/linear_table/9.piecemeal_knowledge_supplement.md' }], }, { text: "栈和队列", - link: "/DS/栈和队列/", + link: "/ds/栈和队列/", collapsible: true, children: [{ text: '3.1 栈的基本概念和基本操作', - link: '/DS/栈和队列/1.栈的基本概念和基本操作.md' + link: '/ds/栈和队列/1.栈的基本概念和基本操作.md' }, { text: '3.2 栈的顺序存储结构', - link: '/DS/栈和队列/2.栈的顺序存储结构.md' + link: '/ds/栈和队列/2.栈的顺序存储结构.md' }, { text: '3.3 栈的基本概念和基本操作', - link: '/DS/栈和队列/1.栈的基本概念和基本操作.md' + link: '/ds/栈和队列/1.栈的基本概念和基本操作.md' }, { text: '3.4 栈的基本概念和基本操作', - link: '/DS/栈和队列/1.栈的基本概念和基本操作.md' + link: '/ds/栈和队列/1.栈的基本概念和基本操作.md' }, { text: '3.5 栈的基本概念和基本操作', - link: '/DS/栈和队列/1.栈的基本概念和基本操作.md' + link: '/ds/栈和队列/1.栈的基本概念和基本操作.md' }, { text: '3.6 栈的基本概念和基本操作', - link: '/DS/栈和队列/1.栈的基本概念和基本操作.md' + link: '/ds/栈和队列/1.栈的基本概念和基本操作.md' }, { text: '3.7 栈和队列的应用', - link: '/DS/栈和队列/7.栈和队列的应用.md' + link: '/ds/栈和队列/7.栈和队列的应用.md' }, { text: '3.8 特殊矩阵的压缩存储', - link: '/DS/栈和队列/8.特殊矩阵的压缩存储.md' + link: '/ds/栈和队列/8.特殊矩阵的压缩存储.md' }] } ] \ No newline at end of file diff --git a/docs/.vuepress/config/sidebar/index.js b/docs/.vuepress/config/sidebar/index.js index d78a679..5d77af1 100644 --- a/docs/.vuepress/config/sidebar/index.js +++ b/docs/.vuepress/config/sidebar/index.js @@ -1,8 +1,8 @@ module.exports = { // "/category/": require("../../category/sidebar_contents"), // "/DataStructure/": require("../../category/sidebar_contents"), - "/DS": require("./ds_content.js"), - "/DS/coding": require("./algorithm_content") + "/ds": require("./ds_content.js"), + "/ds/coding": require("./algorithm_content") }; diff --git a/docs/README.md b/docs/README.md index 4378045..c0b3f04 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,7 +1,7 @@ --- home: true heroImage: https://static01.imgkr.com/temp/f0108d7c178b4ce196e43ebec14fbf23.png -heroImageDark: ://vuejs.org/images/logo.png +heroImageDark: http://vuejs.org/images/logo.png heroText: 计算机应试全家桶 externalLinkIcon: false tagline: 磨刀不误砍柴工、读完硕士再打工,笔记内容持续更新... @@ -82,9 +82,8 @@ footer: Copyrights © 2015-2021 妍荣姑娘网络工作室 | +::: code-tabs#shell +@tab PNPM(推荐) ```bash:no-line-numbers ## 进入cmd命令行,直接克隆仓库 @@ -103,9 +102,8 @@ pnpm install pnpm dev ``` - - +@tab NPM ```bash:no-line-numbers ## 进入cmd命令行,直接克隆仓库 @@ -125,12 +123,7 @@ npm run dev ``` - - - - - - +@tab YARN ```bash:no-line-numbers ## 进入cmd命令行,直接克隆仓库 @@ -149,10 +142,7 @@ yarn install yarn run dev ``` - - - - +::: 查看项目启动日志并访问:[http://127.0.0.1:4200](http://localhost:4200),开启学习之旅吧~ @@ -195,7 +185,6 @@ yarn run dev - --- ### 联系作者 diff --git a/docs/Algorithm/Readme.md b/docs/algorithm/Readme.md similarity index 100% rename from docs/Algorithm/Readme.md rename to docs/algorithm/Readme.md diff --git a/docs/Algorithm/algorithm_note/Readme.md b/docs/algorithm/algorithm_note/Readme.md similarity index 100% rename from docs/Algorithm/algorithm_note/Readme.md rename to docs/algorithm/algorithm_note/Readme.md diff --git a/docs/Algorithm/topic_practice/Readme.md b/docs/algorithm/topic_practice/Readme.md similarity index 100% rename from docs/Algorithm/topic_practice/Readme.md rename to docs/algorithm/topic_practice/Readme.md diff --git a/docs/Big_Event_History.md b/docs/big-event-history.md similarity index 100% rename from docs/Big_Event_History.md rename to docs/big-event-history.md diff --git a/docs/CCP/Readme.md b/docs/ccp/Readme.md similarity index 100% rename from docs/CCP/Readme.md rename to docs/ccp/Readme.md diff --git a/docs/CCP/sidebar_content.js b/docs/ccp/sidebar_content.js similarity index 99% rename from docs/CCP/sidebar_content.js rename to docs/ccp/sidebar_content.js index 7e13ccd..592a015 100644 --- a/docs/CCP/sidebar_content.js +++ b/docs/ccp/sidebar_content.js @@ -6,7 +6,6 @@ * @LastEditors: 【B站&公众号】Rong姐姐好可爱 * @LastEditTime: 2022-04-21 23:19:10 */ - module.exports=[ ] \ No newline at end of file diff --git a/docs/CN/Readme.md b/docs/cn/Readme.md similarity index 100% rename from docs/CN/Readme.md rename to docs/cn/Readme.md diff --git a/docs/DS/README11.md b/docs/ds/README11.md similarity index 99% rename from docs/DS/README11.md rename to docs/ds/README11.md index 96fb5e3..ea39e5f 100644 --- a/docs/DS/README11.md +++ b/docs/ds/README11.md @@ -2,9 +2,9 @@ title: null date: 2021-03-07 23:04:24 permalink: /pages/c1bec1/ -categories: +category: - DataStructure -tags: +tag: - --- diff --git a/docs/DS/Readme.md b/docs/ds/Readme.md similarity index 100% rename from docs/DS/Readme.md rename to docs/ds/Readme.md diff --git a/docs/DS/basic_introduction.md b/docs/ds/basic_introduction.md similarity index 100% rename from docs/DS/basic_introduction.md rename to docs/ds/basic_introduction.md diff --git a/docs/DS/basic_introduction/1.basic_concepts.md b/docs/ds/basic_introduction/1.basic_concepts.md similarity index 100% rename from docs/DS/basic_introduction/1.basic_concepts.md rename to docs/ds/basic_introduction/1.basic_concepts.md diff --git a/docs/DS/basic_introduction/2.three_elements_of_data_structure.md b/docs/ds/basic_introduction/2.three_elements_of_data_structure.md similarity index 100% rename from docs/DS/basic_introduction/2.three_elements_of_data_structure.md rename to docs/ds/basic_introduction/2.three_elements_of_data_structure.md diff --git a/docs/DS/basic_introduction/3.algorithm_and_algorithm_evaluation.md b/docs/ds/basic_introduction/3.algorithm_and_algorithm_evaluation.md similarity index 100% rename from docs/DS/basic_introduction/3.algorithm_and_algorithm_evaluation.md rename to docs/ds/basic_introduction/3.algorithm_and_algorithm_evaluation.md diff --git a/docs/DS/basic_introduction/Readme.md b/docs/ds/basic_introduction/Readme.md similarity index 100% rename from docs/DS/basic_introduction/Readme.md rename to docs/ds/basic_introduction/Readme.md diff --git a/docs/DS/basic_introduction/basic_introduction.png b/docs/ds/basic_introduction/basic_introduction.png similarity index 100% rename from docs/DS/basic_introduction/basic_introduction.png rename to docs/ds/basic_introduction/basic_introduction.png diff --git a/docs/DS/basic_introduction/basic_introduction.xmind b/docs/ds/basic_introduction/basic_introduction.xmind similarity index 100% rename from docs/DS/basic_introduction/basic_introduction.xmind rename to docs/ds/basic_introduction/basic_introduction.xmind diff --git a/docs/DS/coding/algorithm.md b/docs/ds/coding/algorithm.md similarity index 93% rename from docs/DS/coding/algorithm.md rename to docs/ds/coding/algorithm.md index 3ec8d7e..7605559 100644 --- a/docs/DS/coding/algorithm.md +++ b/docs/ds/coding/algorithm.md @@ -7,7 +7,6 @@ * @LastEditTime: 2022-04-19 08:56:56 --> - -## 恶补算法 +## 算法恶补 >todo \ No newline at end of file diff --git a/docs/DS/linear_table.md b/docs/ds/linear_table.md similarity index 99% rename from docs/DS/linear_table.md rename to docs/ds/linear_table.md index d1d0ffc..c0a031d 100644 --- a/docs/DS/linear_table.md +++ b/docs/ds/linear_table.md @@ -1,6 +1,8 @@ --- title: 线性表 --- + +