From 4ac7538f7808d1079695a1ebd6ca1c0bde647c37 Mon Sep 17 00:00:00 2001 From: michr Date: Fri, 23 Sep 2011 18:55:24 -0700 Subject: exclude book pages (foreword.rst, latexindex.rst, authorintro.rst) from online docs since they were generating warnings --- docs/conf.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs') diff --git a/docs/conf.py b/docs/conf.py index 71c4f58d4..f32c3560a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -106,6 +106,10 @@ today_fmt = '%B %d, %Y' # List of documents that shouldn't be included in the build. #unused_docs = [] +# List of patterns, relative to source directory, that match files and +# directories to ignore when looking for source files. +exclude_patterns = ['_themes/README.rst',] + # List of directories, relative to source directories, that shouldn't be searched # for source files. #exclude_dirs = [] @@ -129,6 +133,11 @@ add_module_names = False if book: pygments_style = 'bw' +# do not include book material for online docs +if not book: + exclude_patterns.extend(['foreword.rst', 'latexindex.rst', + 'authorintro.rst']) + # The default language to highlight source code in. #highlight_language = 'guess' -- cgit v1.2.3