From 9509d7b27566d724711bcfa25eaaa0dec37b10d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Abdelkader=20Mart=C3=ADnez=20P=C3=A9rez?= Date: Mon, 16 Dec 2019 11:03:47 +0100 Subject: [PATCH] doc: Remove warning about unused rst files (they are used in latex build) --- docs/source/conf.py | 2 +- docs/source/index.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index b5fc4bc..1d97b06 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -37,7 +37,7 @@ templates_path = ['_templates'] # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This pattern also affects html_static_path and html_extra_path. -exclude_patterns = [] +exclude_patterns = ['latextoc.rst', '*/toc.rst'] rst_prolog = """ .. role:: tech(code) diff --git a/docs/source/index.rst b/docs/source/index.rst index 952ca49..a0f25e8 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -62,6 +62,7 @@ Contents :maxdepth: 2 :caption: Tutorial + tutorial/index tutorial/tutorial00 tutorial/tutorial01 tutorial/tutorial02