summaryrefslogtreecommitdiff
path: root/conf.py
diff options
context:
space:
mode:
authorBarry Warsaw2012-03-16 10:04:40 -0700
committerBarry Warsaw2012-03-16 10:04:40 -0700
commit5aa8f097f1d7a96500ccd2ccfa2fedd6ac830786 (patch)
tree0297941b03f0a7afcabc23a91a526ab73f4ff5fb /conf.py
parent148bd63fcca2613c4d10d234fe47a173d307b3e5 (diff)
parent3dc3f7b1a067ccb67a9d532bc14eeb9d0a0f0d63 (diff)
downloadmailman-5aa8f097f1d7a96500ccd2ccfa2fedd6ac830786.tar.gz
mailman-5aa8f097f1d7a96500ccd2ccfa2fedd6ac830786.tar.zst
mailman-5aa8f097f1d7a96500ccd2ccfa2fedd6ac830786.zip
Diffstat (limited to 'conf.py')
-rw-r--r--conf.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/conf.py b/conf.py
index fd3511d10..56b458ff8 100644
--- a/conf.py
+++ b/conf.py
@@ -25,10 +25,12 @@ import sys, os
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode']
+extensions = ['sphinx.ext.autodoc',
+ 'sphinx.ext.viewcode',
+ 'sphinx.ext.graphviz']
# Add any paths that contain templates here, relative to this directory.
-templates_path = ['_templates']
+# templates_path = ['_templates']
# The suffix of source filenames.
source_suffix = '.rst'
@@ -122,7 +124,7 @@ html_theme = 'default'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = ['_static']
+# html_static_path = ['_static']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
@@ -222,6 +224,7 @@ def index_html():
import errno
cwd = os.getcwd()
try:
+ os.makedirs('build/sphinx/html')
os.chdir('build/sphinx/html')
os.symlink('README.html', 'index.html')
print 'index.html -> README.html'