c/docs/.vitepress/sidebar/index.ts
2024-08-01 10:00:11 +08:00

70 lines
2.1 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { DefaultTheme } from 'vitepress'
import { commonDirectoryName } from '../utils/constant'
export const sidebar: DefaultTheme.Sidebar = {
'/notes/': [
{
text: 'C 语言基础',
collapsed: true,
items: [
{ text: 'C 语言入门', link: `/notes/01_c-basic/01_${commonDirectoryName}/` },
{ text: '变量和进制', link: `/notes/01_c-basic/02_${commonDirectoryName}/` },
{ text: '数据类型和运算符', link: `/notes/01_c-basic/03_${commonDirectoryName}/` },
{ text: '流程控制', link: `/notes/01_c-basic/04_${commonDirectoryName}/` },
{ text: '数组', link: `/notes/01_c-basic/05_${commonDirectoryName}/` },
{ text: '指针', link: `/notes/01_c-basic/06_${commonDirectoryName}/` },
{ text: '函数', link: `/notes/01_c-basic/07_${commonDirectoryName}/` },
{ text: '预处理器', link: `/notes/01_c-basic/08_${commonDirectoryName}/` },
{ text: '自定义数据类型', link: `/notes/01_c-basic/09_${commonDirectoryName}/` },
{ text: '字符串和时间', link: `/notes/01_c-basic/10_${commonDirectoryName}/` },
{ text: '内存管理', link: `/notes/01_c-basic/11_${commonDirectoryName}/` },
{ text: '文件操作', link: `/notes/01_c-basic/12_${commonDirectoryName}/` },
{ text: '调试工具和调试技巧gdb和make', link: `/notes/01_c-basic/13_${commonDirectoryName}/` },
{ text: '常用库函数', link: `/notes/01_c-basic/14_${commonDirectoryName}/` },
]
},
{
text: 'C 语言高级',
collapsed: true,
items: [
]
},
{
text: 'Linux',
collapsed: true,
items: [
{ text: 'Linux 初识和安装', link: `/notes/03_linux/01_${commonDirectoryName}/` },
]
},
{
text: 'C++ 核心编程',
collapsed: true,
items: [
]
},
{
text: 'C++ 标准库',
collapsed: true,
items: [
]
},
{
text: 'QT 桌面开发',
collapsed: true,
items: [
]
},
{
text: 'Linux 高并发服务器开发',
collapsed: true,
items: [
]
}
],
}
export default sidebar