show network in sidebar
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// import { defineConfig } from 'vitepress'
|
||||
import { withMermaid } from "vitepress-plugin-mermaid";
|
||||
import mathjax3 from 'markdown-it-mathjax3';
|
||||
import { main_sidebar, chapter2, chapter3, chapter4, chapter5, chapter6, chapter7, chapter8 } from './sidebar.js';
|
||||
import { main_sidebar, chapter2, chapter3, chapter4, chapter5, chapter6, chapter7, chapter8, chapter9 } from './sidebar.js';
|
||||
import { nav } from './nav.js';
|
||||
import PanguPlugin from 'markdown-it-pangu'
|
||||
|
||||
@@ -115,6 +115,7 @@ export default withMermaid({
|
||||
'/6.计算机安全/': chapter6(),
|
||||
'/7.网络应用开发/': chapter7(),
|
||||
'/8.基础学科/': chapter8(),
|
||||
'/9.计算机网络/': chapter9(),
|
||||
},
|
||||
outline: [2, 6],
|
||||
socialLinks: [
|
||||
|
||||
@@ -12,6 +12,7 @@ export function nav() {
|
||||
{ text: '6.计算机安全', link: '/6.计算机安全/6.计算机安全' },
|
||||
{ text: '7.网络应用开发', link: '/7.网络应用开发/7.网络应用开发入门' },
|
||||
{ text: '8.基础学科', link: '/8.基础学科/8.基础学科' },
|
||||
{ text: '9.计算机网络', link: '9.计算机网络/9.计算机网络' },
|
||||
]
|
||||
},
|
||||
{ text: 'Wiki史', link: '/wiki史' },
|
||||
|
||||
@@ -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链路层' },
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,4 +1,7 @@
|
||||
# 9.计算机网络
|
||||
|
||||
> 本模块来自 DN11(Decentralized Network 11)成员倾情奉献,DN11 最初在生活区11号楼群中提出,旨在建立一个跨寝室的大内网。经过一年的发展,已经成为了横跨 11号楼,VidarTeam,杭电助手等群体的中型实验性网络。
|
||||
|
||||
计算机网络的定义:
|
||||
|
||||
利用通信线路和通信设备,将地理位置不同的、功能独立的多台计算机互连起来,以功能完善的网络软件来实现资源共享和信息传递,就构成了计算机网络系统。
|
||||
Reference in New Issue
Block a user