summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authormichr <michr@webhippo.net>2011-09-23 18:55:24 -0700
committermichr <michr@webhippo.net>2011-09-23 18:55:24 -0700
commit4ac7538f7808d1079695a1ebd6ca1c0bde647c37 (patch)
tree71605427196303a33c7b3805cd47766c27993ad8 /docs
parent012b9762cd0b114b6afbf2d6356554b51706804a (diff)
downloadpyramid-4ac7538f7808d1079695a1ebd6ca1c0bde647c37.tar.gz
pyramid-4ac7538f7808d1079695a1ebd6ca1c0bde647c37.tar.bz2
pyramid-4ac7538f7808d1079695a1ebd6ca1c0bde647c37.zip
exclude book pages (foreword.rst, latexindex.rst, authorintro.rst)
from online docs since they were generating warnings
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py9
1 files changed, 9 insertions, 0 deletions
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'