docs.dockoro.cn/.vitepress/config.mts

83 lines
3.0 KiB
TypeScript
Raw Permalink Normal View History

2024-12-19 17:56:05 +08:00
import { defineConfig } from 'vitepress'
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "Docker Docs",
description: "使用手册",
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
2024-12-26 17:03:10 +08:00
{ text: '家', link: '/' },
{ text: '官网', link: 'https://docs.docker.com' }
2024-12-19 17:56:05 +08:00
],
sidebar: {
'/': [
2024-12-19 17:56:05 +08:00
{
text: "引擎",
link: '/docs/engine/',
2024-12-19 17:56:05 +08:00
items: [
2024-12-26 17:03:10 +08:00
{
2024-12-19 17:56:05 +08:00
text: '安装',
2024-12-19 19:16:42 +08:00
collapsed: true,
2024-12-19 17:56:05 +08:00
link: '/docs/engine/about',
items: [
{ text: "Ubuntu", link: '/docs/engine/ubuntu' },
{ text: "Debian", link: '/docs/engine/debian' },
]
},
2024-12-26 20:16:07 +08:00
//============================= 存储
{
text: '存储',
collapsed: true,
link: '/docs/storage/',
items: [
{ text: "卷", link: '/docs/storage/volume' },
{ text: "绑定挂载", link: '/docs/storage/mount' },
{ text: "tmpfs 挂载", link: '/docs/storage/tmpfs-bind' },
{
text: "存储驱动程序",
collapsed: true,
link: '/docs/storage/drivers/',
items: [
2024-12-20 12:26:21 +08:00
{ text: "选择存储驱动程序", link: '/docs/storage/drivers/select-storage-driver' },
{ text: "BTRFS 存储驱动程序", link: '/docs/storage/drivers/btrfs-driver/' },
{ text: "设备映射器存储驱动程序(已弃用)", link: '/docs/storage/drivers/device-mapper-driver/'},
2024-12-26 20:08:38 +08:00
{ text: "OverlayFS 存储驱动程序", link: '/docs/storage/drivers/overlayfs-driver/'},
{ text: "VFS 存储驱动程序", link: '/docs/storage/drivers/vfs-driver/'},
{ text: "WindowsFilter 存储驱动程序", link: '/docs/storage/drivers/windowsfilter-driver/'},
{ text: "ZFS 存储驱动程序", link: '/docs/storage/drivers/zfs-driver/'},
]
},
{ text: 'containerd 映像存储', link: '/docs/storage/container-image-store' }
]
2024-12-26 20:16:07 +08:00
},
//============================= 网络
{
text: "网络",
collapsed: true,
link: '/docs/network/',
items: [
2025-03-13 00:54:19 +08:00
{text: '数据包过滤和防火墙', link: '/docs/network/packet-filtering-firewalls'},
{
text: '网络驱动程序',
link: '/docs/network/drivers/',
collapsed: true,
items: [
{text: '桥接网络驱动', link: '/docs/network/drivers/bridge'}
]
}
2024-12-26 20:16:07 +08:00
]
2024-12-19 17:56:05 +08:00
}
]
}
],
},
socialLinks: [
2024-12-26 17:03:10 +08:00
// { icon: 'github', link: 'https://github.com/vuejs/vitepress' }
2024-12-19 17:56:05 +08:00
]
}
})