show network in sidebar

This commit is contained in:
BaiMeow
2023-07-23 01:12:50 +08:00
parent 7f244e01a3
commit d4a90d1936
4 changed files with 25 additions and 1 deletions

View File

@@ -68,6 +68,11 @@ export function main_sidebar() {
collapsed: true,
items: [{ text: "8.基础学科", link: "/8.基础学科/8.基础学科" }]
},
{
text: "9.计算机网络",
collapsed: true,
items: [{ text: "9.计算机网络", link: "/9.计算机网络/9.计算机网络" }]
},
{
text: 'Contributors',
link: '/contributors'
@@ -637,4 +642,18 @@ export function chapter8() {
]
}
]
}
export function chapter9() {
return [
{ text: '返回上一层', link: '/简介' },
{
text: '9.计算机网络',
collapsed: false,
items: [
{ text: '9.计算机网络', link: '/9.计算机网络/9.计算机网络' },
{ text: '9.1链路层', link: '/9.计算机网络/9.1链路层' },
]
}
]
}