From ae940294e1e428d6d6c711432f445bb85b811dfd Mon Sep 17 00:00:00 2001 From: Hao Wang <101779990@student.swin.edu.au> Date: Fri, 22 Feb 2019 18:57:02 +0800 Subject: [PATCH] add maxdepth --- doc/fluid/api/gen_index.py | 2 +- doc/fluid/api/index_en.rst | 2 +- doc/fluid/api_cn/gen_index.py | 2 +- doc/fluid/api_cn/index_cn.rst | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/fluid/api/gen_index.py b/doc/fluid/api/gen_index.py index 4189918e875..51aa256fe06 100644 --- a/doc/fluid/api/gen_index.py +++ b/doc/fluid/api/gen_index.py @@ -10,7 +10,7 @@ ============= .. toctree:: - + :maxdepth: 1 ''') file_object.write(' ../api_guides/index_en.rst'+'\n') diff --git a/doc/fluid/api/index_en.rst b/doc/fluid/api/index_en.rst index d49136c06b7..b66676b23a3 100644 --- a/doc/fluid/api/index_en.rst +++ b/doc/fluid/api/index_en.rst @@ -3,7 +3,7 @@ API Reference ============= .. toctree:: - + :maxdepth: 1 ../api_guides/index_en.rst fluid.rst diff --git a/doc/fluid/api_cn/gen_index.py b/doc/fluid/api_cn/gen_index.py index 9e77c1d1958..860866b025b 100644 --- a/doc/fluid/api_cn/gen_index.py +++ b/doc/fluid/api_cn/gen_index.py @@ -10,7 +10,7 @@ ============= .. toctree:: - + :maxdepth: 1 ''') file_object.write(' ../api_guides/index.rst'+'\n') diff --git a/doc/fluid/api_cn/index_cn.rst b/doc/fluid/api_cn/index_cn.rst index 2b0266f6eea..5686f640f8f 100644 --- a/doc/fluid/api_cn/index_cn.rst +++ b/doc/fluid/api_cn/index_cn.rst @@ -3,7 +3,7 @@ API ===== .. toctree:: - + :maxdepth: 1 ../api_guides/index.rst fluid_cn.rst