summaryrefslogtreecommitdiffhomepage
path: root/sites/shared_conf.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-09-06 16:07:24 -0700
committerJeff Forcier <jeff@bitprophet.org>2014-09-06 16:07:24 -0700
commit08239ff4b29c0b53c5443f21ae482e51340223f6 (patch)
tree73f0b7e4d25a80c965186d03abde9c006b1feec0 /sites/shared_conf.py
parent5335d9dc0a6266217d288e7aaf2091739980d841 (diff)
parent6a6ac4d78421667b810f5e3a017fb669853133f9 (diff)
Merge branch 'master' into 234-int
Diffstat (limited to 'sites/shared_conf.py')
-rw-r--r--sites/shared_conf.py41
1 files changed, 41 insertions, 0 deletions
diff --git a/sites/shared_conf.py b/sites/shared_conf.py
new file mode 100644
index 00000000..4a6a5c4e
--- /dev/null
+++ b/sites/shared_conf.py
@@ -0,0 +1,41 @@
+from datetime import datetime
+
+import alabaster
+
+
+# Alabaster theme + mini-extension
+html_theme_path = [alabaster.get_path()]
+extensions = ['alabaster', 'sphinx.ext.intersphinx']
+# Paths relative to invoking conf.py - not this shared file
+html_theme = 'alabaster'
+html_theme_options = {
+ 'description': "A Python implementation of SSHv2.",
+ 'github_user': 'paramiko',
+ 'github_repo': 'paramiko',
+ 'gratipay_user': 'bitprophet',
+ 'analytics_id': 'UA-18486793-2',
+ 'travis_button': True,
+}
+html_sidebars = {
+ '**': [
+ 'about.html',
+ 'navigation.html',
+ 'searchbox.html',
+ 'donate.html',
+ ]
+}
+
+# Everything intersphinx's to Python
+intersphinx_mapping = {
+ 'python': ('http://docs.python.org/2.6', None),
+}
+
+# Regular settings
+project = 'Paramiko'
+year = datetime.now().year
+copyright = '%d Jeff Forcier' % year
+master_doc = 'index'
+templates_path = ['_templates']
+exclude_trees = ['_build']
+source_suffix = '.rst'
+default_role = 'obj'