summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-09-24 00:53:46 -0700
committerChris McDonough <chrism@plope.com>2011-09-24 00:53:46 -0700
commit9a784a4c94946872c493627e4295a26a3e608439 (patch)
tree71605427196303a33c7b3805cd47766c27993ad8 /docs
parent50242db18dcafe01c755e22d6d45310bc5f5f9f3 (diff)
parent4ac7538f7808d1079695a1ebd6ca1c0bde647c37 (diff)
downloadpyramid-9a784a4c94946872c493627e4295a26a3e608439.tar.gz
pyramid-9a784a4c94946872c493627e4295a26a3e608439.tar.bz2
pyramid-9a784a4c94946872c493627e4295a26a3e608439.zip
Merge pull request #288 from michr/4ac7538f
exclude book pages (foreword.rst, latexindex.rst, authorintro.rst)
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'