diff --git a/docs/community/code_contribution/index.rst b/docs/community/code_contribution/index.rst new file mode 100644 index 00000000..c6da2160 --- /dev/null +++ b/docs/community/code_contribution/index.rst @@ -0,0 +1,4 @@ +代码规范 +==================================== + +[内容待完善] diff --git a/docs/community/contact/index.rst b/docs/community/contact/index.rst new file mode 100644 index 00000000..61db3e2d --- /dev/null +++ b/docs/community/contact/index.rst @@ -0,0 +1,4 @@ +与社区建立联系 +==================================== + +[内容待完善] diff --git a/docs/index.rst b/docs/index.rst index f4c56c80..6c2d850d 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -10,27 +10,37 @@ :maxdepth: 1 :caption: 入门 - introduction/index + introduction/intro + introduction/build_system .. toctree:: - :maxdepth: 2 + :maxdepth: 1 :caption: 内核层 - kernel/index + kernel/bootloader/index + kernel/process_management/index + kernel/filesystem/index .. toctree:: - :maxdepth: 2 + :maxdepth: 1 :caption: 应用层 - userland/index + userland/libc/index .. toctree:: - :maxdepth: 2 + :maxdepth: 1 :caption: 系统调用api文档 syscall_api/index +.. toctree:: + :maxdepth: 1 + :caption: DragonOS社区 + + community/code_contribution/index + community/contact/index + Indices and tables ================== diff --git a/docs/introduction/intro.md b/docs/introduction/intro.md index 43533970..5f361909 100644 --- a/docs/introduction/intro.md +++ b/docs/introduction/intro.md @@ -1,3 +1,3 @@ -# 简介 +# DragonOS简介 DragonOS龙操作系统(以下简称“DragonOS”)是一个基于x86-64体系结构开发的,基于GPLv2协议开放源代码的64位操作系统。 \ No newline at end of file diff --git a/docs/kernel/process_management/index.rst b/docs/kernel/process_management/index.rst new file mode 100644 index 00000000..8d381bce --- /dev/null +++ b/docs/kernel/process_management/index.rst @@ -0,0 +1,4 @@ +进程管理模块 +==================================== + +[内容待完善] \ No newline at end of file diff --git a/docs/userland/index.rst b/docs/userland/index.rst deleted file mode 100644 index 27142529..00000000 --- a/docs/userland/index.rst +++ /dev/null @@ -1,9 +0,0 @@ -应用层 -==================================== - -.. toctree:: - :maxdepth: 2 - :caption: 目录 - - intro - libc/index \ No newline at end of file diff --git a/docs/userland/intro.md b/docs/userland/intro.md deleted file mode 100644 index 941a1f85..00000000 --- a/docs/userland/intro.md +++ /dev/null @@ -1 +0,0 @@ -# 简介 \ No newline at end of file diff --git a/docs/introduction/index.rst b/docs/userland/libc/apis/index.rst similarity index 73% rename from docs/introduction/index.rst rename to docs/userland/libc/apis/index.rst index bdc7ee9d..8b5bdd9e 100644 --- a/docs/introduction/index.rst +++ b/docs/userland/libc/apis/index.rst @@ -1,9 +1,9 @@ -入门 +API文档 ==================================== .. toctree:: :maxdepth: 1 :caption: 目录 - intro - build_system + +[内容待完善] \ No newline at end of file diff --git a/docs/kernel/index.rst b/docs/userland/libc/design/index.rst similarity index 63% rename from docs/kernel/index.rst rename to docs/userland/libc/design/index.rst index 1ccc44d7..e28e749b 100644 --- a/docs/kernel/index.rst +++ b/docs/userland/libc/design/index.rst @@ -1,9 +1,9 @@ -内核层 +设计文档 ==================================== .. toctree:: :maxdepth: 1 :caption: 目录 - bootloader/index - filesystem/index + +[内容待完善] diff --git a/docs/userland/libc/index.rst b/docs/userland/libc/index.rst index 6a111d47..3b1d9fb8 100644 --- a/docs/userland/libc/index.rst +++ b/docs/userland/libc/index.rst @@ -3,6 +3,8 @@ LibC文档 .. toctree:: :maxdepth: 1 - :caption: LibC + :caption: 目录 intro + apis/index + design/index diff --git a/docs/userland/libc/intro.md b/docs/userland/libc/intro.md index 941a1f85..bfdd6a1c 100644 --- a/docs/userland/libc/intro.md +++ b/docs/userland/libc/intro.md @@ -1 +1,4 @@ -# 简介 \ No newline at end of file +# 简介 +  + LibC是连接用户程序和操作系统的纽带,LibC为应用程序提供了一系列标准库函数。应用程序可以通过DragonOS的LibC,快速地与操作系统进行交互。 + DragonOS的LibC主要依照POSIX 2008规范实现,与Linux下的glibC具有相似之处。 \ No newline at end of file