From ce72936c0fc87efdd97c04dfc576baf5673520c8 Mon Sep 17 00:00:00 2001 From: ChenXin Date: Fri, 12 Jul 2019 11:38:51 +0800 Subject: [PATCH] :maxdepth: 1 --- docs/source/fastNLP.embeddings.rst | 1 + docs/source/fastNLP.io.rst | 1 + docs/source/fastNLP.models.rst | 1 + docs/source/fastNLP.modules.rst | 7 ++++--- docs/source/fastNLP.rst | 1 + 5 files changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/source/fastNLP.embeddings.rst b/docs/source/fastNLP.embeddings.rst index 25d05246..7ff8118d 100644 --- a/docs/source/fastNLP.embeddings.rst +++ b/docs/source/fastNLP.embeddings.rst @@ -10,6 +10,7 @@ fastNLP.embeddings ---------- .. toctree:: + :maxdepth: 1 fastNLP.embeddings.bert_embedding fastNLP.embeddings.char_embedding diff --git a/docs/source/fastNLP.io.rst b/docs/source/fastNLP.io.rst index da9dbcfe..12817a17 100644 --- a/docs/source/fastNLP.io.rst +++ b/docs/source/fastNLP.io.rst @@ -17,6 +17,7 @@ Submodules ---------- .. toctree:: + :maxdepth: 1 fastNLP.io.base_loader fastNLP.io.config_io diff --git a/docs/source/fastNLP.models.rst b/docs/source/fastNLP.models.rst index 75c5a2aa..2ea546e2 100644 --- a/docs/source/fastNLP.models.rst +++ b/docs/source/fastNLP.models.rst @@ -10,6 +10,7 @@ fastNLP.models ---------- .. toctree:: + :maxdepth: 1 fastNLP.models.biaffine_parser fastNLP.models.cnn_text_classification diff --git a/docs/source/fastNLP.modules.rst b/docs/source/fastNLP.modules.rst index 3160fe99..646ef2d3 100644 --- a/docs/source/fastNLP.modules.rst +++ b/docs/source/fastNLP.modules.rst @@ -10,7 +10,8 @@ fastNLP.modules ----------- .. toctree:: - :titlesonly: + :titlesonly: + :maxdepth: 1 - fastNLP.modules.decoder - fastNLP.modules.encoder \ No newline at end of file + fastNLP.modules.decoder + fastNLP.modules.encoder \ No newline at end of file diff --git a/docs/source/fastNLP.rst b/docs/source/fastNLP.rst index 076d9df0..0057a184 100644 --- a/docs/source/fastNLP.rst +++ b/docs/source/fastNLP.rst @@ -10,6 +10,7 @@ API 文档 ----------- .. toctree:: + :maxdepth: 1 fastNLP.core fastNLP.embeddings