mirror of
https://github.com/142vip/408CSFamily.git
synced 2026-04-05 11:38:27 +08:00
feat: 侧边栏更新
This commit is contained in:
@@ -9,6 +9,5 @@ ARG APP_VERSION
|
||||
LABEL version=$APP_VERSION description="408CSFamily合集"
|
||||
LABEL author="【Github&公众号】:Rong姐姐好可爱" email="fairy_408@2925.com"
|
||||
|
||||
# 将dist文件中的内容复制到 /usr/share/nginx/html/
|
||||
COPY ./docs/.vuepress/dist/ /usr/share/nginx/html/
|
||||
COPY nginx.conf /etc/nginx/
|
||||
|
||||
@@ -16,9 +16,10 @@ export default defineUserConfig({
|
||||
base: PROXY_DOMAIN ? "/408CSFamily/" : "/",
|
||||
port: 4200,
|
||||
head: [
|
||||
["link", {rel: "icon", href: "/fight_favicon.ico"}],
|
||||
// vercel统计 相关配置
|
||||
['script', {type: 'text/javascript', src: '/_vercel/insights/script.js'}],
|
||||
[
|
||||
'script', {type: 'text/javascript', src: '/_vercel/insights/script.js'}
|
||||
],
|
||||
[
|
||||
"link", {rel: "icon", href: "/408_favicon.ico"}
|
||||
],
|
||||
|
||||
@@ -1,5 +1,2 @@
|
||||
|
||||
export const FOOTER_HTML_INFO=`
|
||||
<a href="https://tongji.baidu.com/web/welcome/login" target="_blank">百度统计</a> Copyrights © 2015-${new Date().getFullYear()} 妍荣姑娘网络工作室
|
||||
| <a href="https://github.com/mmdapl" target="_blank">Chu Fan</a>
|
||||
`
|
||||
export const FOOTER_HTML_INFO=`<a href="https://tongji.baidu.com/web/welcome/login" target="_blank">百度统计</a>
|
||||
Copyrights © 2015-${new Date().getFullYear()} 妍荣姑娘网络工作室 <a href="https://github.com/mmdapl" target="_blank">Chu Fan</a>`
|
||||
@@ -1,16 +1,14 @@
|
||||
import {algorithmSidebar} from "../../manuscripts/algorithm/algorithm.sidebar";
|
||||
import {dsSidebar} from "../../manuscripts/ds/ds.sidebar";
|
||||
import {cppSidebar} from "../../manuscripts/ccp/cpp.sidebar";
|
||||
import osSidebar from "../../manuscripts/os/os.sidebar";
|
||||
import {cnSidebar} from "../../manuscripts/cn/cn.sidebar";
|
||||
import {noteMapSidebar} from "../../manuscripts/note-map/note-map.sidebar";
|
||||
import {osSidebar} from "../../manuscripts/os/os.sidebar";
|
||||
|
||||
export const sidebar = {
|
||||
"/ds": dsSidebar,
|
||||
"/ds/coding": algorithmSidebar,
|
||||
"/manuscripts/ds":dsSidebar,
|
||||
"/manuscripts/os":osSidebar,
|
||||
"/manuscripts/ccp":cppSidebar,
|
||||
"/manuscripts/cn":cnSidebar,
|
||||
"/manuscripts/note-map":noteMapSidebar,
|
||||
"/manuscripts/ds": dsSidebar,
|
||||
"/manuscripts/os": osSidebar,
|
||||
"/manuscripts/ccp": cppSidebar,
|
||||
"/manuscripts/cn": cnSidebar,
|
||||
"/manuscripts/note-map": noteMapSidebar,
|
||||
}
|
||||
@@ -37,7 +37,7 @@ export default {
|
||||
// sidebar: "heading",
|
||||
|
||||
// 主题布局选项
|
||||
repo: "https://github.com/mmdapl/408CSFamily",
|
||||
repo: "https://github.com/142vip/408CSFamily",
|
||||
logoDark:"/assets/408_logo.png",
|
||||
|
||||
// 博客配置
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
export const cppSidebar=[]
|
||||
export const cppSidebar=[
|
||||
{
|
||||
text:"计算机组成原理",
|
||||
children:[]
|
||||
}
|
||||
]
|
||||
@@ -1 +1,6 @@
|
||||
export const cnSidebar=[]
|
||||
export const cnSidebar=[
|
||||
{
|
||||
text:"计算机网络",
|
||||
children:[]
|
||||
}
|
||||
]
|
||||
@@ -1,80 +1,101 @@
|
||||
export const dsSidebar = [
|
||||
{
|
||||
{
|
||||
text: '基础入门',
|
||||
prefix: "basic-introduction",
|
||||
collapsible: false,
|
||||
children: [{
|
||||
text: '1.1 基本概念',
|
||||
link: '1.basic_concepts.md'
|
||||
}, {
|
||||
text: '1.2 数据结构三要素',
|
||||
link: '2.three_elements_of_data_structure.md'
|
||||
}, {
|
||||
text: '1.3 算法和算法评价',
|
||||
link: '3.algorithm_and_algorithm_evaluation.md'
|
||||
}],
|
||||
children: [
|
||||
{
|
||||
text: '1.1 基本概念',
|
||||
link: '1.basic_concepts.md'
|
||||
},
|
||||
{
|
||||
text: '1.2 数据结构三要素',
|
||||
link: '2.three_elements_of_data_structure.md'
|
||||
},
|
||||
{
|
||||
text: '1.3 算法和算法评价',
|
||||
link: '3.algorithm_and_algorithm_evaluation.md'
|
||||
}
|
||||
],
|
||||
},
|
||||
{
|
||||
text: '线性表',
|
||||
collapsible: false,
|
||||
prefix: "linear-table",
|
||||
children: [{
|
||||
text: '2.1 基础概念和操作',
|
||||
link: '1.basic_concept_and_operation.md'
|
||||
}, {
|
||||
text: '2.2 线性表的顺序表示',
|
||||
link: '2.sequential_representation.md'
|
||||
}, {
|
||||
text: '2.3 基础概念和操作',
|
||||
link: '3.chain_representation.md'
|
||||
}, {
|
||||
text: '2.4 基础概念和操作',
|
||||
link: '4.double_linked_list.md'
|
||||
}, {
|
||||
text: '2.5 基础概念和操作',
|
||||
link: '5.circular_list.md'
|
||||
}, {
|
||||
text: '2.6 基础概念和操作',
|
||||
link: '6.static_linked_list.md'
|
||||
}, {
|
||||
text: '2.7 基础概念和操作',
|
||||
link: '7.comparison_of_sequential_list_and_linked_list.md'
|
||||
}, {
|
||||
text: '2.8 存储结构的选取',
|
||||
link: '8.selection_of_storage_structure.md'
|
||||
}, {
|
||||
text: '2.9 零碎知识补充',
|
||||
link: '9.piecemeal_knowledge_supplement.md'
|
||||
}],
|
||||
children: [
|
||||
{
|
||||
text: '2.1 基础概念和操作',
|
||||
link: '1.basic_concept_and_operation.md'
|
||||
},
|
||||
{
|
||||
text: '2.2 线性表的顺序表示',
|
||||
link: '2.sequential_representation.md'
|
||||
},
|
||||
{
|
||||
text: '2.3 基础概念和操作',
|
||||
link: '3.chain_representation.md'
|
||||
},
|
||||
{
|
||||
text: '2.4 基础概念和操作',
|
||||
link: '4.double_linked_list.md'
|
||||
}, {
|
||||
text: '2.5 基础概念和操作',
|
||||
link: '5.circular_list.md'
|
||||
},
|
||||
{
|
||||
text: '2.6 基础概念和操作',
|
||||
link: '6.static_linked_list.md'
|
||||
},
|
||||
{
|
||||
text: '2.7 基础概念和操作',
|
||||
link: '7.comparison_of_sequential_list_and_linked_list.md'
|
||||
},
|
||||
{
|
||||
text: '2.8 存储结构的选取',
|
||||
link: '8.selection_of_storage_structure.md'
|
||||
},
|
||||
{
|
||||
text: '2.9 零碎知识补充',
|
||||
link: '9.piecemeal_knowledge_supplement.md'
|
||||
}
|
||||
],
|
||||
},
|
||||
{
|
||||
text: "栈和队列",
|
||||
prefix: "栈和队列",
|
||||
collapsible: false,
|
||||
children: [{
|
||||
text: '3.1 栈的基本概念和基本操作',
|
||||
link: '1.栈的基本概念和基本操作.md'
|
||||
}, {
|
||||
text: '3.2 栈的顺序存储结构',
|
||||
link: '2.栈的顺序存储结构.md'
|
||||
}, {
|
||||
text: '3.3 栈的链式存储结构',
|
||||
link: '3.栈的链式存储结构.md'
|
||||
}, {
|
||||
text: '3.4 队列的基本概念和操作',
|
||||
link: '4.队列的基本概念和操作.md'
|
||||
}, {
|
||||
text: '3.5 队列的顺序存储结构',
|
||||
link: '5.队列的顺序存储结构.md'
|
||||
}, {
|
||||
text: '3.6 队列的链式存储结构',
|
||||
link: '6.队列的链式存储结构.md'
|
||||
}, {
|
||||
text: '3.7 栈和队列的应用',
|
||||
link: '7.栈和队列的应用.md'
|
||||
}, {
|
||||
text: '3.8 特殊矩阵的压缩存储',
|
||||
link: '8.特殊矩阵的压缩存储.md'
|
||||
}]
|
||||
children: [
|
||||
{
|
||||
text: '3.1 栈的基本概念和基本操作',
|
||||
link: '1.栈的基本概念和基本操作.md'
|
||||
},
|
||||
{
|
||||
text: '3.2 栈的顺序存储结构',
|
||||
link: '2.栈的顺序存储结构.md'
|
||||
},
|
||||
{
|
||||
text: '3.3 栈的链式存储结构',
|
||||
link: '3.栈的链式存储结构.md'
|
||||
},
|
||||
{
|
||||
text: '3.4 队列的基本概念和操作',
|
||||
link: '4.队列的基本概念和操作.md'
|
||||
}, {
|
||||
text: '3.5 队列的顺序存储结构',
|
||||
link: '5.队列的顺序存储结构.md'
|
||||
},
|
||||
{
|
||||
text: '3.6 队列的链式存储结构',
|
||||
link: '6.队列的链式存储结构.md'
|
||||
},
|
||||
{
|
||||
text: '3.7 栈和队列的应用',
|
||||
link: '7.栈和队列的应用.md'
|
||||
},
|
||||
{
|
||||
text: '3.8 特殊矩阵的压缩存储',
|
||||
link: '8.特殊矩阵的压缩存储.md'
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
]
|
||||
@@ -1,2 +1,6 @@
|
||||
|
||||
export default[]
|
||||
export const osSidebar = [
|
||||
{
|
||||
text: "操作系统",
|
||||
children: []
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user