kubernetes-guide/content/appendix/sidebars.ts

50 lines
929 B
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: [
'get-raw',
'node',
2024-04-11 17:01:47 +08:00
'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',
]
},
],
};
export default sidebars;