From 8438f4a4c96f6f1639b9044c78a37c2e782d767d Mon Sep 17 00:00:00 2001 From: SPeak Date: Mon, 23 Sep 2024 15:55:22 +0800 Subject: [PATCH] init base --- README.md | 4 +-- book/book.toml | 9 ++++--- book/src/SUMMARY.md | 33 ++++++++++++++++++++--- book/src/{ => book-template}/chapter_0.md | 0 book/src/{ => book-template}/chapter_1.md | 0 book/src/{ => book-template}/chapter_2.md | 0 book/src/{ => book-template}/chapter_3.md | 0 book/src/d2ds/chapter_0.md | 3 +++ 8 files changed, 39 insertions(+), 10 deletions(-) rename book/src/{ => book-template}/chapter_0.md (100%) rename book/src/{ => book-template}/chapter_1.md (100%) rename book/src/{ => book-template}/chapter_2.md (100%) rename book/src/{ => book-template}/chapter_3.md (100%) create mode 100644 book/src/d2ds/chapter_0.md diff --git a/README.md b/README.md index ef845fb..40f431d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# xlings-book-template +# d2learn 社区文档 -在线 **文档 | 书籍 | 笔记** 模板仓库 - [**快速使用**](https://d2learn.github.io/xlings-book-template/) \ No newline at end of file +d2learn社区通用文档及项目文档仓库 \ No newline at end of file diff --git a/book/book.toml b/book/book.toml index 84011a6..6c9f4a9 100644 --- a/book/book.toml +++ b/book/book.toml @@ -1,13 +1,14 @@ [book] -title = "Xlings Book Template | 文档 | 书籍 | 笔记" -author = "Author Name" -language = "en" +title = "d2learn社区文档" +author = "d2learn" +language = "zh,en" [build] build-dir = "book" [output.html] -git-repository-url = "https://github.com/d2learn/xlings-book-template" +git-repository-url = "https://github.com/d2learn/docs" +no-section-label = true [preprocessor.foo] # Add any additional configurations \ No newline at end of file diff --git a/book/src/SUMMARY.md b/book/src/SUMMARY.md index a635e99..a0ceab4 100644 --- a/book/src/SUMMARY.md +++ b/book/src/SUMMARY.md @@ -1,6 +1,31 @@ # Summary -- [快速使用](./chapter_0.md) - - [创建文档仓库](./chapter_1.md) - - [配置并更新内容](./chapter_2.md) -- [反馈&交流](./chapter_3.md) +- [简介]() + +# 通用 + +- [xxx]() + +# xlings + +- [xxx]() + +# d2ds + +- [1.useage模块开发](./d2ds/chapter_0.md) + +# d2cpp + +- [xxx]() + +# d2python + +- [xxx]() + +# xlings-book-template + +- [1.快速使用](./book-template/chapter_0.md) + - [1.1.创建文档仓库](./book-template/chapter_1.md) + - [1.2.配置并更新内容](./book-template/chapter_2.md) + +- [2.反馈&交流](./book-template/chapter_3.md) diff --git a/book/src/chapter_0.md b/book/src/book-template/chapter_0.md similarity index 100% rename from book/src/chapter_0.md rename to book/src/book-template/chapter_0.md diff --git a/book/src/chapter_1.md b/book/src/book-template/chapter_1.md similarity index 100% rename from book/src/chapter_1.md rename to book/src/book-template/chapter_1.md diff --git a/book/src/chapter_2.md b/book/src/book-template/chapter_2.md similarity index 100% rename from book/src/chapter_2.md rename to book/src/book-template/chapter_2.md diff --git a/book/src/chapter_3.md b/book/src/book-template/chapter_3.md similarity index 100% rename from book/src/chapter_3.md rename to book/src/book-template/chapter_3.md diff --git a/book/src/d2ds/chapter_0.md b/book/src/d2ds/chapter_0.md new file mode 100644 index 0000000..10e87c9 --- /dev/null +++ b/book/src/d2ds/chapter_0.md @@ -0,0 +1,3 @@ +# useage模块开发文档 + +... \ No newline at end of file