From 7cea4d435eac511a3856f61041e4758bdf47b162 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Grisez?= Date: Wed, 4 Apr 2018 17:19:43 +0200 Subject: [PATCH] Adds a TOC virtual document --- coreapi/help/doc/sphinx/CMakeLists.txt | 1 + coreapi/help/doc/sphinx/conf.py.in | 2 +- coreapi/help/doc/sphinx/toc.rst | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 coreapi/help/doc/sphinx/toc.rst diff --git a/coreapi/help/doc/sphinx/CMakeLists.txt b/coreapi/help/doc/sphinx/CMakeLists.txt index 830bcd284..ba42f25b5 100644 --- a/coreapi/help/doc/sphinx/CMakeLists.txt +++ b/coreapi/help/doc/sphinx/CMakeLists.txt @@ -56,6 +56,7 @@ if (ENABLE_SPHINX_DOC) misc.rst network_parameters.rst proxies.rst + toc.rst ) configure_file(conf.py.in source/conf.py) foreach(file ${STATIC_DOCUMENTATION_FILES}) diff --git a/coreapi/help/doc/sphinx/conf.py.in b/coreapi/help/doc/sphinx/conf.py.in index c94d86760..492fd8e43 100644 --- a/coreapi/help/doc/sphinx/conf.py.in +++ b/coreapi/help/doc/sphinx/conf.py.in @@ -43,7 +43,7 @@ templates_path = ['_templates'] source_suffix = '.rst' # The master toctree document. -master_doc = 'index' +master_doc = 'toc' # General information about the project. project = 'Linphone Core API' diff --git a/coreapi/help/doc/sphinx/toc.rst b/coreapi/help/doc/sphinx/toc.rst new file mode 100644 index 000000000..c775b0af9 --- /dev/null +++ b/coreapi/help/doc/sphinx/toc.rst @@ -0,0 +1,3 @@ +.. toctree:: + + index