Skip to content

Commit 0108724

Browse files
yingyibiaoZeyuChen
andauthored
set maxdepth=1 for index page of readthedocs (#1134)
Co-authored-by: Zeyu Chen <[email protected]>
1 parent d209d9a commit 0108724

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/index.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424

2525

2626
.. toctree::
27-
:maxdepth: 2
27+
:maxdepth: 1
2828
:caption: 快速开始
2929

3030
安装 <get_started/installation>
3131
10分钟完成高精度中文情感分析 <get_started/quick_start>
3232

3333
.. toctree::
34-
:maxdepth: 2
34+
:maxdepth: 1
3535
:caption: 数据准备
3636

3737
整体介绍 <data_prepare/overview>
@@ -41,34 +41,34 @@
4141
数据处理 <data_prepare/data_preprocess>
4242

4343
.. toctree::
44-
:maxdepth: 2
44+
:maxdepth: 1
4545
:caption: 模型库
4646

4747
Transformer预训练模型 <model_zoo/transformers>
4848
预训练词向量 <model_zoo/embeddings>
4949

5050
.. toctree::
51-
:maxdepth: 2
51+
:maxdepth: 1
5252
:caption: 评价指标
5353

5454
评价指标 <metrics/metrics.md>
5555

5656
.. toctree::
57-
:maxdepth: 2
57+
:maxdepth: 1
5858
:caption: 实践教程
5959

6060
AI Studio Notebook <tutorials/overview>
6161

6262
.. toctree::
63-
:maxdepth: 2
63+
:maxdepth: 1
6464
:caption: 进阶指南
6565

6666
模型压缩 <advanced_guide/model_compression/index>
6767
高性能预测部署 <advanced_guide/deployment>
6868
大规模分布式训练 <advanced_guide/distributed_training>
6969

7070
.. toctree::
71-
:maxdepth: 2
71+
:maxdepth: 1
7272
:caption: 社区交流共建
7373

7474
如何贡献模型 <community/contribute_models/index>
@@ -77,13 +77,13 @@
7777
如何加入兴趣小组 <community/join_in_PaddleNLP-SIG>
7878

7979
.. toctree::
80-
:maxdepth: 2
80+
:maxdepth: 1
8181
:caption: FAQ
8282

8383
FAQ <FAQ.md>
8484

8585
.. toctree::
86-
:maxdepth: 2
86+
:maxdepth: 1
8787
:caption: API Reference
8888

8989
paddlenlp.data <source/paddlenlp.data>

0 commit comments

Comments
 (0)