From 88663e9070ae1427619255b8083fc336922c948d 2014-04-02 17:29:43 From: Thomas Kluyver Date: 2014-04-02 17:29:43 Subject: [PATCH] Exclude whatsnew/pr directory from docs builds Silences a couple of annoying Sphinx warnings. --- diff --git a/docs/source/conf.py b/docs/source/conf.py index 7113048..bd4bb88 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -109,9 +109,10 @@ today_fmt = '%B %d, %Y' # List of documents that shouldn't be included in the build. #unused_docs = [] -# List of directories, relative to source directories, that shouldn't be searched -# for source files. -exclude_dirs = ['attic'] +# Exclude these glob-style patterns when looking for source files. They are +# relative to the source/ directory. +exclude_patterns = ['whatsnew/pr'] + # If true, '()' will be appended to :func: etc. cross-reference text. #add_function_parentheses = True