diff --git a/docs/index.rst b/docs/index.rst index 651428ff..f4c56c80 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -10,27 +10,26 @@ :maxdepth: 1 :caption: 入门 - introduction/intro - introduction/build_system + introduction/index .. toctree:: :maxdepth: 2 :caption: 内核层 - kernel/intro - + kernel/index + .. toctree:: :maxdepth: 2 - :caption: 用户层 + :caption: 应用层 - userland/intro + userland/index .. toctree:: :maxdepth: 2 :caption: 系统调用api文档 - syscall_api/intro + syscall_api/index Indices and tables diff --git a/docs/introduction/index.rst b/docs/introduction/index.rst new file mode 100644 index 00000000..cdf89a66 --- /dev/null +++ b/docs/introduction/index.rst @@ -0,0 +1,9 @@ +入门 +==================================== + +.. toctree:: + :maxdepth: 1 + :caption: LibC + + intro + build_system diff --git a/docs/kernel/bootloader/index.rst b/docs/kernel/bootloader/index.rst new file mode 100644 index 00000000..83014f78 --- /dev/null +++ b/docs/kernel/bootloader/index.rst @@ -0,0 +1,8 @@ +引导加载程序 +==================================== + +.. toctree:: + :maxdepth: 2 + :caption: bl + + intro diff --git a/docs/kernel/bootloader/intro.md b/docs/kernel/bootloader/intro.md new file mode 100644 index 00000000..fd76dea3 --- /dev/null +++ b/docs/kernel/bootloader/intro.md @@ -0,0 +1 @@ +### 简介 \ No newline at end of file diff --git a/docs/kernel/index.rst b/docs/kernel/index.rst new file mode 100644 index 00000000..7cdb3ee7 --- /dev/null +++ b/docs/kernel/index.rst @@ -0,0 +1,8 @@ +内核层 +==================================== + +.. toctree:: + :maxdepth: 1 + :caption: 引导加载程序 + + bootloader/index diff --git a/docs/kernel/intro.md b/docs/kernel/intro.md deleted file mode 100644 index ebf923a3..00000000 --- a/docs/kernel/intro.md +++ /dev/null @@ -1 +0,0 @@ -# 内核层 \ No newline at end of file diff --git a/docs/syscall_api/index.rst b/docs/syscall_api/index.rst new file mode 100644 index 00000000..c1d57930 --- /dev/null +++ b/docs/syscall_api/index.rst @@ -0,0 +1,8 @@ +系统调用API +==================================== + +.. toctree:: + :maxdepth: 1 + :caption: 系统调用API + + intro diff --git a/docs/syscall_api/intro.md b/docs/syscall_api/intro.md index 4379f92b..941a1f85 100644 --- a/docs/syscall_api/intro.md +++ b/docs/syscall_api/intro.md @@ -1 +1 @@ -# 系统调用API文档 \ No newline at end of file +# 简介 \ No newline at end of file diff --git a/docs/userland/index.rst b/docs/userland/index.rst new file mode 100644 index 00000000..b0a15b9d --- /dev/null +++ b/docs/userland/index.rst @@ -0,0 +1,9 @@ +应用层 +==================================== + +.. toctree:: + :maxdepth: 2 + :caption: LibC + + intro + libc/index \ No newline at end of file diff --git a/docs/userland/libc/index.rst b/docs/userland/libc/index.rst new file mode 100644 index 00000000..6a111d47 --- /dev/null +++ b/docs/userland/libc/index.rst @@ -0,0 +1,8 @@ +LibC文档 +==================================== + +.. toctree:: + :maxdepth: 1 + :caption: LibC + + intro diff --git a/docs/userland/libc/intro.md b/docs/userland/libc/intro.md new file mode 100644 index 00000000..13c78993 --- /dev/null +++ b/docs/userland/libc/intro.md @@ -0,0 +1 @@ +## 简介 \ No newline at end of file