From 10a9796205d73478fd9b2c1cf55823db9674679e Mon Sep 17 00:00:00 2001 From: Shan Yi <35982308+shanyi15@users.noreply.github.com> Date: Wed, 13 Jun 2018 13:53:52 +0800 Subject: [PATCH 1/3] Update index.rst --- source/index.rst | 45 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 39 insertions(+), 6 deletions(-) diff --git a/source/index.rst b/source/index.rst index 21c0c38f08e..b6ce34e357b 100644 --- a/source/index.rst +++ b/source/index.rst @@ -3,22 +3,55 @@ You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. +:github_url: https://github.com/PaddlePaddle/Paddle + ############## 欢迎来到 Fluid ############## - .. todo:: 内容简介,导引 - -.. toctree:: - :maxdepth: 1 - +.. toctree:: + :glob: + :maxdepth: 1 + :caption: 新手入门 + quick_start/index.rst + +.. toctree:: + :glob: + :maxdepth: 1 + :caption: 使用指南 + user_guides/index.rst - advanced_usage/index.rst + + +.. toctree:: + :glob: + :maxdepth: 1 + :caption: 进阶使用 + + advanced_usage/index.rst + +.. toctree:: + :glob: + :maxdepth: 1 + :caption: API Guide + api_guides/index.rst + +.. toctree:: + :glob: + :maxdepth: 1 + :caption: API Reference + api_reference/index.rst + +.. toctree:: + :glob: + :maxdepth: 1 + :caption: FAQ + faq.rst Indices and tables From 74d14724b59e16826d14a99a695c8f3cbf13f151 Mon Sep 17 00:00:00 2001 From: Shan Yi <35982308+shanyi15@users.noreply.github.com> Date: Wed, 13 Jun 2018 13:57:49 +0800 Subject: [PATCH 2/3] Delete index.rst --- source/quick_start/install/index.rst | 1 - 1 file changed, 1 deletion(-) delete mode 120000 source/quick_start/install/index.rst diff --git a/source/quick_start/install/index.rst b/source/quick_start/install/index.rst deleted file mode 120000 index 1169dd292e0..00000000000 --- a/source/quick_start/install/index.rst +++ /dev/null @@ -1 +0,0 @@ -../../../paddle/doc/fluid/build_and_install/index_cn.rst \ No newline at end of file From ebe9fdc1cbdf6870e87b34e01536fbd01bb724d9 Mon Sep 17 00:00:00 2001 From: Shan Yi <35982308+shanyi15@users.noreply.github.com> Date: Wed, 13 Jun 2018 14:07:02 +0800 Subject: [PATCH 3/3] create install/index_cn.rst --- source/quick_start/install/index_cn.rst | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 source/quick_start/install/index_cn.rst diff --git a/source/quick_start/install/index_cn.rst b/source/quick_start/install/index_cn.rst new file mode 100644 index 00000000000..30c4641d31e --- /dev/null +++ b/source/quick_start/install/index_cn.rst @@ -0,0 +1,9 @@ +.. + 这个文档网站里,所有的一级页要设置点不开,概述之类的,专门建立一个子页面,叫做“概述” + +.. toctree:: + :maxdepth: 1 + + pip_install_cn.rst + docker_install_cn.rst + build_from_source_cn.rst