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