kubernetes-guide/content/appendix/sidebars.ts

63 lines
1.2 KiB
TypeScript
Raw Normal View History

2024-04-10 16:24:23 +08:00
import type { SidebarsConfig } from '@docusaurus/plugin-content-docs';
const sidebars: SidebarsConfig = {
appendixSidebar: [
'README',
2024-04-11 16:57:01 +08:00
{
type: 'category',
label: 'kubectl 速查手册',
collapsed: false,
link: {
type: 'generated-index',
slug: '/kubectl'
},
items: [
2024-04-11 17:02:13 +08:00
'kubectl/get-raw',
'kubectl/node',
'kubectl/pod',
2024-04-11 16:57:01 +08:00
]
},
2024-04-10 16:24:23 +08:00
{
type: 'category',
label: '实用 YAML',
2024-04-10 19:19:23 +08:00
collapsed: false,
2024-04-10 16:24:23 +08:00
link: {
type: 'generated-index',
slug: '/yaml'
},
items: [
'yaml/test',
'yaml/rbac',
]
},
{
type: 'category',
label: 'Terrafrom 配置',
2024-04-10 19:19:23 +08:00
collapsed: false,
2024-04-10 16:24:23 +08:00
link: {
type: 'generated-index',
slug: '/terraform'
},
items: [
'terraform/tke-vpc-cni',
'terraform/tke-serverless',
]
},
2024-04-23 16:52:04 +08:00
{
type: 'category',
label: '常见问题',
collapsed: false,
link: {
type: 'generated-index',
slug: '/faq'
},
items: [
'faq/why-enable-bridge-nf-call-iptables',
'faq/ipvs-conn-reuse-mode',
],
}
2024-04-10 16:24:23 +08:00
],
};
export default sidebars;