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

60 lines
1.8 KiB
TypeScript
Raw 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: [
{ text: 'Home', link: '/' },
{ text: 'Examples', link: '/markdown-examples' }
],
sidebar: {
'/': [
2024-12-19 17:56:05 +08:00
{
text: "引擎",
link: '/docs/engine/',
2024-12-19 17:56:05 +08:00
items: [
{
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' },
]
},
{
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: [
{ text: "选择一个存储驱动", link: '/docs/storage/drivers/0' },
{ text: "BTRFS storage driver", link: '/docs/storage/drivers/1' },
]
},
{ text: 'containerd 映像存储', link: '/docs/storage/container-image-store' }
]
2024-12-19 17:56:05 +08:00
}
]
}
],
},
socialLinks: [
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' }
]
}
})