kubernetes-guide/content/appendix/sidebars.ts

50 lines
953 B
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',
]
},
],
};
export default sidebars;