@@ -52,18 +52,49 @@ export default defineConfig({
5252 nav : [
5353 {
5454 text : '一键虚拟化项目' ,
55- link : '/' ,
56- activeMatch : '^/$|^/guide/'
55+ link : '/'
56+ } ,
57+ {
58+ text : '虚拟化平台' ,
59+ activeMatch : '^/guide/' ,
60+ items : [
61+ { text : 'OneClickVirt' , link : '/guide/oneclickvirt/oneclickvirt_precheck.html' } ,
62+ { text : 'Proxmox VE' , link : '/guide/pve/pve_precheck.html' } ,
63+ { text : 'Incus' , link : '/guide/incus/incus_precheck.html' } ,
64+ { text : 'Docker' , link : '/guide/docker/docker_precheck.html' } ,
65+ { text : 'LXD' , link : '/guide/lxd/lxd_precheck.html' } ,
66+ { text : 'Containerd' , link : '/guide/containerd/containerd_precheck.html' } ,
67+ { text : 'Podman' , link : '/guide/podman/podman_precheck.html' } ,
68+ { text : '屏蔽滥用' , link : '/guide/block/block_iptables.html' } ,
69+ ]
5770 } ,
5871 {
5972 text : '其他虚拟化项目' ,
60- link : '/incomplete/index' ,
61- activeMatch : '^/incomplete/'
73+ activeMatch : '^/incomplete/' ,
74+ items : [
75+ { text : 'webvirtcloud' , link : '/incomplete/webvirtcloud.html' } ,
76+ { text : 'webvirtcloud_retspen' , link : '/incomplete/webvirtcloud_retspen.html' } ,
77+ { text : 'pterodactyl' , link : '/incomplete/pterodactyl.html' } ,
78+ { text : 'convoy' , link : '/incomplete/convoy.html' } ,
79+ { text : 'cockpit' , link : '/incomplete/cockpit.html' } ,
80+ { text : 'virtfusion' , link : '/incomplete/virtfusion.html' } ,
81+ { text : 'virtualizor-docker' , link : '/incomplete/virtualizor-docker.html' } ,
82+ { text : 'bashvm' , link : '/incomplete/bashvm.html' } ,
83+ { text : 'webvirtmgr' , link : '/incomplete/webvirtmgr.html' } ,
84+ ]
6285 } ,
6386 {
6487 text : '其他实用项目' ,
65- link : '/case/index' ,
66- activeMatch : '^/case/'
88+ activeMatch : '^/case/' ,
89+ items : [
90+ { text : '1. VPS融合怪服务器测评脚本' , link : '/case/case1.html' } ,
91+ { text : '2. 一键修复与安装脚本' , link : '/case/case2.html' } ,
92+ { text : '3. 自动更新测试服务器节点列表的网络基准测试脚本' , link : '/case/case3.html' } ,
93+ { text : '4. 三网回程路由线路测试脚本' , link : '/case/case4.html' } ,
94+ { text : '5. 服务器资源占用脚本' , link : '/case/case5.html' } ,
95+ { text : '6. 为linux服务器增加swap分区' , link : '/case/case6.html' } ,
96+ { text : '7. 为linux服务器启用zram设备' , link : '/case/case7.html' } ,
97+ ]
6798 } ,
6899 { text : '融合怪商家收录' , link : 'https://paste.spiritlhl.net/' } ,
69100 { text : 'VPS余量监控' , link : 'https://spiders.spiritlhl.net/' } ,
@@ -91,8 +122,36 @@ export default defineConfig({
91122 pattern : 'https://github.com/oneclickvirt/oneclickvirt.github.io/edit/main/docs/:path' ,
92123 } ,
93124 nav : [
94- { text : 'One Click Virtualization' , link : '/en/' , activeMatch : '^/en/guide/' } ,
95- { text : 'Other Virtualization Projects' , link : '/en/incomplete/index' , activeMatch : '^/en/incomplete/' } ,
125+ { text : 'One Click Virtualization' , link : '/en/' } ,
126+ {
127+ text : 'Virtualization Platforms' ,
128+ activeMatch : '^/en/guide/' ,
129+ items : [
130+ { text : 'OneClickVirt' , link : '/en/guide/oneclickvirt/oneclickvirt_precheck.html' } ,
131+ { text : 'Proxmox VE' , link : '/en/guide/pve/pve_precheck.html' } ,
132+ { text : 'Incus' , link : '/en/guide/incus/incus_precheck.html' } ,
133+ { text : 'Docker' , link : '/en/guide/docker/docker_precheck.html' } ,
134+ { text : 'LXD' , link : '/en/guide/lxd/lxd_precheck.html' } ,
135+ { text : 'Containerd' , link : '/en/guide/containerd/containerd_precheck.html' } ,
136+ { text : 'Podman' , link : '/en/guide/podman/podman_precheck.html' } ,
137+ { text : 'Block Abuse' , link : '/en/guide/block/block_iptables.html' } ,
138+ ]
139+ } ,
140+ {
141+ text : 'Other Virtualization Projects' ,
142+ activeMatch : '^/en/incomplete/' ,
143+ items : [
144+ { text : 'webvirtcloud' , link : '/en/incomplete/webvirtcloud.html' } ,
145+ { text : 'webvirtcloud_retspen' , link : '/en/incomplete/webvirtcloud_retspen.html' } ,
146+ { text : 'pterodactyl' , link : '/en/incomplete/pterodactyl.html' } ,
147+ { text : 'convoy' , link : '/en/incomplete/convoy.html' } ,
148+ { text : 'cockpit' , link : '/en/incomplete/cockpit.html' } ,
149+ { text : 'virtfusion' , link : '/en/incomplete/virtfusion.html' } ,
150+ { text : 'virtualizor-docker' , link : '/en/incomplete/virtualizor-docker.html' } ,
151+ { text : 'bashvm' , link : '/en/incomplete/bashvm.html' } ,
152+ { text : 'webvirtmgr' , link : '/en/incomplete/webvirtmgr.html' } ,
153+ ]
154+ } ,
96155 { text : 'Merchant List' , link : 'https://paste.spiritlhl.net/' } ,
97156 { text : 'VPS Stock Monitor' , link : 'https://spiders.spiritlhl.net/' } ,
98157 ] ,
@@ -205,6 +264,26 @@ function getGuideSidebarZhCN() {
205264 { text : '在DOCKER上' , link : '/guide/block/block_docker.html' } ,
206265 ]
207266 } ,
267+ {
268+ text : 'Containerd' ,
269+ items : [
270+ { text : '系统和配置要求' , link : '/guide/containerd/containerd_precheck.html' } ,
271+ { text : 'Containerd主体安装' , link : '/guide/containerd/containerd_install.html' } ,
272+ { text : 'Linux容器(LXC)' , link : '/guide/containerd/containerd_build.html' } ,
273+ { text : '致谢' , link : '/guide/containerd/containerd_thanks.html' } ,
274+ { text : '常见问题答疑' , link : '/guide/containerd/containerd_qa.html' }
275+ ]
276+ } ,
277+ {
278+ text : 'Podman' ,
279+ items : [
280+ { text : '系统和配置要求' , link : '/guide/podman/podman_precheck.html' } ,
281+ { text : 'Podman主体安装' , link : '/guide/podman/podman_install.html' } ,
282+ { text : 'Linux容器(LXC)' , link : '/guide/podman/podman_build.html' } ,
283+ { text : '致谢' , link : '/guide/podman/podman_thanks.html' } ,
284+ { text : '常见问题答疑' , link : '/guide/podman/podman_qa.html' }
285+ ]
286+ } ,
208287 {
209288 text : '捐赠' ,
210289 items : [
@@ -339,17 +418,37 @@ function getGuideSidebarEnUS() {
339418 {
340419 text : 'Block Abuse' ,
341420 items : [
342- { text : 'via iptables' , link : '/guide/block/block_iptables.html' } ,
343- { text : 'In PVE' , link : '/guide/block/block_pve.html' } ,
344- { text : 'In INCUS' , link : '/guide/block/block_incus.html' } ,
345- { text : 'In LXD' , link : '/guide/block/block_lxd.html' } ,
346- { text : 'In DOCKER' , link : '/guide/block/block_docker.html' } ,
421+ { text : 'via iptables' , link : '/en/guide/block/block_iptables.html' } ,
422+ { text : 'In PVE' , link : '/en/guide/block/block_pve.html' } ,
423+ { text : 'In INCUS' , link : '/en/guide/block/block_incus.html' } ,
424+ { text : 'In LXD' , link : '/en/guide/block/block_lxd.html' } ,
425+ { text : 'In DOCKER' , link : '/en/guide/block/block_docker.html' } ,
426+ ]
427+ } ,
428+ {
429+ text : 'Containerd' ,
430+ items : [
431+ { text : 'System & configuration requirements' , link : '/en/guide/containerd/containerd_precheck.html' } ,
432+ { text : 'Containerd main installation' , link : '/en/guide/containerd/containerd_install.html' } ,
433+ { text : 'Linux Container(LXC)' , link : '/en/guide/containerd/containerd_build.html' } ,
434+ { text : 'Acknowledgements' , link : '/en/guide/containerd/containerd_thanks.html' } ,
435+ { text : 'FAQ' , link : '/en/guide/containerd/containerd_qa.html' }
436+ ]
437+ } ,
438+ {
439+ text : 'Podman' ,
440+ items : [
441+ { text : 'System & configuration requirements' , link : '/en/guide/podman/podman_precheck.html' } ,
442+ { text : 'Podman main installation' , link : '/en/guide/podman/podman_install.html' } ,
443+ { text : 'Linux Container(LXC)' , link : '/en/guide/podman/podman_build.html' } ,
444+ { text : 'Acknowledgements' , link : '/en/guide/podman/podman_thanks.html' } ,
445+ { text : 'FAQ' , link : '/en/guide/podman/podman_qa.html' }
347446 ]
348447 } ,
349448 {
350449 text : 'Donation' ,
351450 items : [
352- { text : 'Donation' , link : '/guide/dashboardq.html' }
451+ { text : 'Donation' , link : '/en/ guide/dashboardq.html' }
353452 ]
354453 }
355454 ] ;
0 commit comments