From 47390daba0f201b4fe44463cd5386bd2bf60166b Mon Sep 17 00:00:00 2001 From: whs Date: Fri, 15 May 2020 15:19:27 +0800 Subject: [PATCH] Adapt docs to rtd (#282) --- docs/en/conf.py | 2 +- docs/en/index.rst | 10 ---------- docs/en/index_en.rst | 1 - docs/zh_cn/conf.py | 1 - docs/zh_cn/index.rst | 1 - docs/zh_cn/index_en.rst | 10 ---------- 6 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 docs/en/index.rst delete mode 100644 docs/zh_cn/index_en.rst diff --git a/docs/en/conf.py b/docs/en/conf.py index ddad6374..68baa73f 100644 --- a/docs/en/conf.py +++ b/docs/en/conf.py @@ -45,7 +45,7 @@ extensions = [ 'sphinx.ext.napoleon', 'recommonmark', 'sphinx_markdown_tables', - 'm2r', +# 'm2r', ] # Add any paths that contain templates here, relative to this directory. diff --git a/docs/en/index.rst b/docs/en/index.rst deleted file mode 100644 index 24749efe..00000000 --- a/docs/en/index.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. PaddleSlim documentation master file, created by - sphinx-quickstart on Wed Feb 5 14:04:52 2020. - You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. - -中文文档 -======== - -.. toctree:: - :maxdepth: 1 diff --git a/docs/en/index_en.rst b/docs/en/index_en.rst index 32682529..eae4cda4 100644 --- a/docs/en/index_en.rst +++ b/docs/en/index_en.rst @@ -9,7 +9,6 @@ Index .. toctree:: :maxdepth: 1 - index intro_en.md install_en.md quick_start/index_en diff --git a/docs/zh_cn/conf.py b/docs/zh_cn/conf.py index 84506538..7d60b8fe 100644 --- a/docs/zh_cn/conf.py +++ b/docs/zh_cn/conf.py @@ -45,7 +45,6 @@ extensions = [ 'sphinx.ext.napoleon', 'recommonmark', 'sphinx_markdown_tables', - 'm2r', ] # Add any paths that contain templates here, relative to this directory. diff --git a/docs/zh_cn/index.rst b/docs/zh_cn/index.rst index ddc459e6..e2b884b9 100644 --- a/docs/zh_cn/index.rst +++ b/docs/zh_cn/index.rst @@ -9,7 +9,6 @@ .. toctree:: :maxdepth: 1 - index_en intro.md install.md quick_start/index diff --git a/docs/zh_cn/index_en.rst b/docs/zh_cn/index_en.rst deleted file mode 100644 index 20c681fd..00000000 --- a/docs/zh_cn/index_en.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. PaddleSlim documentation master file, created by - sphinx-quickstart on Wed Feb 5 14:04:52 2020. - You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. - -English Documents -================ - -.. toctree:: - :maxdepth: 1 -- GitLab