diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2014-01-22 10:55:39 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2014-01-22 10:55:39 -0800 |
commit | 5a1f927310414ca47408c3f2f81a0b43beb8cb19 (patch) | |
tree | 954d80439195e8d4681bded1d42e460f4b2d891c | |
parent | 2da914252064af8dc419b49a423ab57fdb0617c4 (diff) |
Blog only used/exists in www, don't import it in docs site
-rw-r--r-- | sites/shared_conf.py | 6 | ||||
-rw-r--r-- | sites/www/conf.py | 7 |
2 files changed, 7 insertions, 6 deletions
diff --git a/sites/shared_conf.py b/sites/shared_conf.py index 333db542..89e0a56d 100644 --- a/sites/shared_conf.py +++ b/sites/shared_conf.py @@ -5,12 +5,6 @@ import sys import alabaster -# Add local blog extension -sys.path.append(os.path.abspath('.')) -extensions = ['blog'] -rss_link = 'http://paramiko.org' -rss_description = 'Paramiko project news' - # Alabaster theme html_theme_path = [alabaster.get_path()] # Paths relative to invoking conf.py - not this shared file diff --git a/sites/www/conf.py b/sites/www/conf.py index 0c7ffe55..e504ec7b 100644 --- a/sites/www/conf.py +++ b/sites/www/conf.py @@ -2,3 +2,10 @@ import os, sys sys.path.append(os.path.abspath('..')) from shared_conf import * + +# Add local blog extension +sys.path.append(os.path.abspath('.')) +extensions = ['blog'] +rss_link = 'http://paramiko.org' +rss_description = 'Paramiko project news' + |