From 7f86e01fd98a5e9d45e6f62f578dc169a97963c0 Mon Sep 17 00:00:00 2001 From: fslongjin Date: Sat, 18 Jun 2022 14:21:11 +0800 Subject: [PATCH] =?UTF-8?q?:doc:=20=E5=AE=8C=E5=96=84=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E7=BB=84=E7=BB=87=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/index.rst | 13 ++++++------- docs/introduction/index.rst | 9 +++++++++ docs/kernel/bootloader/index.rst | 8 ++++++++ docs/kernel/bootloader/intro.md | 1 + docs/kernel/index.rst | 8 ++++++++ docs/kernel/intro.md | 1 - docs/syscall_api/index.rst | 8 ++++++++ docs/syscall_api/intro.md | 2 +- docs/userland/index.rst | 9 +++++++++ docs/userland/libc/index.rst | 8 ++++++++ docs/userland/libc/intro.md | 1 + 11 files changed, 59 insertions(+), 9 deletions(-) create mode 100644 docs/introduction/index.rst create mode 100644 docs/kernel/bootloader/index.rst create mode 100644 docs/kernel/bootloader/intro.md create mode 100644 docs/kernel/index.rst delete mode 100644 docs/kernel/intro.md create mode 100644 docs/syscall_api/index.rst create mode 100644 docs/userland/index.rst create mode 100644 docs/userland/libc/index.rst create mode 100644 docs/userland/libc/intro.md 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