-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
192 lines (185 loc) · 5.17 KB
/
mkdocs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
# Project information
site_name: Hello Netdev
site_url: https://hello-netdev.littlesirius.top/
site_author: Xiao-Jiang-233
site_description: hello-网设
site_dir: site
# Repository
repo_name: Xiao-Jiang-233/hello-netdev
repo_url: https://github.com/Xiao-Jiang-233/hello-netdev
edit_uri: tree/main/docs
# version:
# Copyright
copyright: Copyright © 2024 小将<br>The website content is licensed under <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a>
# Configuration
theme:
name: material
custom_dir: overrides
language: zh
features:
- announce.dismiss
- content.action.edit
# - content.action.view
- content.code.annotate
- content.code.copy
- content.code.select
- content.tabs.link
- content.tooltips
# - header.autohide
# - navigation.expand
- navigation.indexes
# - navigation.instant
# - navigation.prune
# - navigation.sections
# - navigation.tabs
# - navigation.tabs.sticky
- navigation.top
- navigation.footer
- navigation.tracking
- search.highlight
- search.share
- search.suggest
- toc.follow
# - toc.integrate
palette:
- scheme: default
primary: white
accent: teal
toggle:
icon: material/theme-light-dark
name: 深色模式
- scheme: slate
primary: black
accent: teal
toggle:
icon: material/theme-light-dark
name: 浅色模式
font:
text: Noto Sans SC
code: Fira Code
# favicon: assets/images/favicon.png
# logo: assets/images/logo.svg
# icon:
# logo: logo
# repo: fontawesome/brands/github
# edit: fontawesome/regular/pen-to-square
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/Xiao-Jiang-233
- icon: fontawesome/brands/bilibili
link: https://space.bilibili.com/51896751
name: Bilibili
- icon: material/email
link: mailto:[email protected]
name: Email
generator: ture
status:
new: 最近添加
# Plugins
plugins:
- search
- glightbox:
touchNavigation: true
loop: false
effect: zoom
slide_effect: none
width: 100%
height: auto
zoomable: true
draggable: false
auto_caption: false
caption_position: bottom
- print-site:
add_to_navigation: true
print_page_title: "获得PDF"
add_print_site_banner: false
# Table of contents
add_table_of_contents: true
toc_title: "目录"
toc_depth: 6
# Content-related
add_full_urls: false
enumerate_headings: true
enumerate_figures: true
add_cover_page: true
cover_page_template: ""
path_to_pdf: ""
include_css: false
enabled: true
exclude:
# Extensions
markdown_extensions:
- abbr
- admonition
- attr_list
- def_list
- footnotes
- md_in_html
- toc:
permalink: true
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.details
# - pymdownx.emoji:
# emoji_index: !!python/name:material.extensions.emoji.twemoji
# emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences
- pymdownx.keys
# - pymdownx.magiclink:
# repo_url_shorthand: true
# user: squidfunk
# repo: mkdocs-material
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
extra_css:
- stylesheets/extra.css
# Page tree
nav:
- 序:
- chapter_hello_netdev/index.md
- 第 1 章 设备的基本配置:
- 批量配置: chapter_basic_configuration/port_group.md
- 第 2 章 VLAN 技术:
- chapter_vlan/index.md
- 2.1 创建 VLAN: chapter_vlan/create_vlan.md
- 2.2 VLAN端口配置: chapter_vlan/port_configuration.md
- 2.3 VLAN间通信: chapter_vlan/inter-vlan_communication.md
- 2.4 GVRP: chapter_vlan/gvrp.md
- 2.5 链路聚合: chapter_vlan/link_aggregation.md
- 第 3 章 STP:
- chapter_stp/index.md
- 3.1 STP基础操作: chapter_stp/basic_operations.md
- 第 4 章 路由:
- chapter_route/index.md
- 4.1 静态路由: chapter_route/static_routing.md
- 4.2 动态路由:
- 4.2.1 RIP: chapter_route/rip.md
- 4.2.2 OSPF: chapter_route/ospf.md
# - 第 5 章 网络安全:
# - chapter_cyber_security/index.md
# - 5.1 端口隔离: chapter_cyber_security/port_isolation.md
# - 5.2 端口安全: chapter_cyber_security/port_security.md
# - 第 6 章 ACL:
# - chapter_acl/index.md
# - 6.1 基本ACL: chapter_acl/basic.md
# - 6.2 高级ACL: chapter_acl/adv.md
# - 第 7 章 NAT:
# - chapter_nat/index.md
# - 6.1 静态NAT: chapter_nat/static.md
# - 6.2 动态NAT & PAT: chapter_nat/dynamic&pat.md