63 lines
1.2 KiB
TypeScript
63 lines
1.2 KiB
TypeScript
import type { SidebarsConfig } from '@docusaurus/plugin-content-docs';
|
|
|
|
const sidebars: SidebarsConfig = {
|
|
appendixSidebar: [
|
|
'README',
|
|
{
|
|
type: 'category',
|
|
label: 'kubectl 速查手册',
|
|
collapsed: false,
|
|
link: {
|
|
type: 'generated-index',
|
|
slug: '/kubectl'
|
|
},
|
|
items: [
|
|
'kubectl/get-raw',
|
|
'kubectl/node',
|
|
'kubectl/pod',
|
|
]
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: '实用 YAML',
|
|
collapsed: false,
|
|
link: {
|
|
type: 'generated-index',
|
|
slug: '/yaml'
|
|
},
|
|
items: [
|
|
'yaml/test',
|
|
'yaml/rbac',
|
|
]
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Terrafrom 配置',
|
|
collapsed: false,
|
|
link: {
|
|
type: 'generated-index',
|
|
slug: '/terraform'
|
|
},
|
|
items: [
|
|
'terraform/tke-vpc-cni',
|
|
'terraform/tke-serverless',
|
|
]
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: '常见问题',
|
|
collapsed: false,
|
|
link: {
|
|
type: 'generated-index',
|
|
slug: '/faq'
|
|
},
|
|
items: [
|
|
'faq/why-enable-bridge-nf-call-iptables',
|
|
'faq/ipvs-conn-reuse-mode',
|
|
],
|
|
}
|
|
],
|
|
};
|
|
|
|
export default sidebars;
|