summaryrefslogtreecommitdiff
path: root/src/sphinxconf.py
diff options
context:
space:
mode:
authorBarry Warsaw2009-06-30 06:14:49 -0400
committerBarry Warsaw2009-06-30 06:14:49 -0400
commitfc07eb2b464eaea1f3dcc9ce4d57343571e8527f (patch)
treec8d7c87af7cdf0bf46cca711129c699128cf4432 /src/sphinxconf.py
parent9e97e8ae31450ce6a308f700fc358710462c01f8 (diff)
downloadmailman-fc07eb2b464eaea1f3dcc9ce4d57343571e8527f.tar.gz
mailman-fc07eb2b464eaea1f3dcc9ce4d57343571e8527f.tar.zst
mailman-fc07eb2b464eaea1f3dcc9ce4d57343571e8527f.zip
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',
+ ])