c/docs/.vitepress/sidebar/index.ts
2024-08-12 11:05:46 +08:00

114 lines
4.8 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: '编程基础', link: `/notes/01_c-basic/00_${commonDirectoryName}/` },
{ 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: '调试工具和调试技巧gdb和make', link: `/notes/02_c-basic/13_${commonDirectoryName}/` },
{ text: '常用库函数', link: `/notes/01_c-basic/13_${commonDirectoryName}/` },
]
},
{
text: 'C 语言高级',
collapsed: true,
items: [
{ text: '变量和内存分布', link: `/notes/02_c-advance/01_${commonDirectoryName}/` },
{ text: '指针强化', link: `/notes/02_c-advance/02_${commonDirectoryName}/` },
{ text: '结构体和文件的高级用法', link: `/notes/02_c-advance/03_${commonDirectoryName}/` },
{ text: '链表和回调函数', link: `/notes/02_c-advance/04_${commonDirectoryName}/` },
{ text: '编译过程和面向接口', link: `/notes/02_c-advance/05_${commonDirectoryName}/` },
]
},
{
text: '项目构建工具',
collapsed: true,
items: [
{
text: 'meson', collapsed: true, items: [
{ text: 'meson 入门', link: `/notes/03_build/01_${commonDirectoryName}/` },
]
},
{
text: 'Cmake', collapsed: true, items: [
{ text: 'Cmake 入门', link: `/notes/03_build/01_${commonDirectoryName}/` },
]
},
{
text: 'Conan ', link: '/notes/03_build/01_${commonDirectoryName}/'
},
{
text: 'Gradle', collapsed: true, items: [
{ text: 'Gradle 入门', link: `/notes/03_build/01_${commonDirectoryName}/` },
]
},
]
},
{
text: 'Linux',
collapsed: true,
items: [
{ text: 'Linux 初识和安装', link: `/notes/04_linux/01_${commonDirectoryName}/` },
]
},
{
text: 'C++ 基础',
collapsed: true,
items: [
{ text: 'C++ 入门', link: `/notes/05_cpp/01_${commonDirectoryName}/` },
{ text: '变量、数据类型、运算符', link: `/notes/05_cpp/02_${commonDirectoryName}/` },
{ text: '流程控制', link: `/notes/05_cpp/03_${commonDirectoryName}/` },
{ text: '数组', link: `/notes/05_cpp/04_${commonDirectoryName}/` },
{ text: '指针', link: `/notes/05_cpp/05_${commonDirectoryName}/` },
{ text: '函数', link: `/notes/05_cpp/06_${commonDirectoryName}/` },
{ text: '自定义数据类型', link: `/notes/05_cpp/07_${commonDirectoryName}/` },
{ text: '类和对象', link: `/notes/05_cpp/08_${commonDirectoryName}/` },
{ text: 'C++ 引用', link: `/notes/05_cpp/09_${commonDirectoryName}/` },
{ text: '继承和派生', link: `/notes/05_cpp/10_${commonDirectoryName}/` },
{ text: 'C++ 多态和虚函数', link: `/notes/05_cpp/11_${commonDirectoryName}/` },
{ text: '运算符重载', link: `/notes/05_cpp/12_${commonDirectoryName}/` },
{ text: '模板', link: `/notes/05_cpp/13_${commonDirectoryName}/` },
{ text: 'C++ 异常', link: `/notes/05_cpp/14_${commonDirectoryName}/` },
{ text: '面向对象进阶', link: `/notes/05_cpp/15_${commonDirectoryName}/` },
{ text: '文件操作和 IO 流', link: `/notes/05_cpp/16_${commonDirectoryName}/` },
{ text: 'STL标准模板库', link: `/notes/05_cpp/17_${commonDirectoryName}/` },
]
},
{
text: 'C++ 高级',
collapsed: true,
items: [
]
},
{
text: 'QT 桌面开发',
collapsed: true,
items: [
]
},
{
text: 'Linux 高并发服务器开发',
collapsed: true,
items: [
]
}
],
}
export default sidebar