summaryrefslogtreecommitdiff
path: root/src/sphinxconf.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sphinxconf.py')
-rw-r--r--src/sphinxconf.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sphinxconf.py b/src/sphinxconf.py
new file mode 100644
index 000000000..2fae422d3
--- /dev/null
+++ b/src/sphinxconf.py
@@ -0,0 +1,8 @@
+# Sphinx documentation configuration file.
+def setup(app):
+ # hack the 'exclude_trees' configuration value so that our bounce examples
+ # aren't interpreted as documentation.
+ app.config.config_values['exclude_trees'][0].extend([
+ 'tests/bounces',
+ 'templates',
+ ])