diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2014-09-05 10:39:00 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2014-09-05 10:39:00 -0700 |
commit | 0e0460f85942e79c94b7db9d93abdf60bf1dbac4 (patch) | |
tree | 152b80b4a2822abcb85136f7fbc7f9263279eb14 /sites/www/conf.py | |
parent | 683b3c22893be899d2fdbf1ada35e61fba8a3d70 (diff) | |
parent | eb7da84bee49f6e7b568ee00fd5f3db0bb29f36a (diff) |
Merge branch 'master' into 131-int
Diffstat (limited to 'sites/www/conf.py')
-rw-r--r-- | sites/www/conf.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sites/www/conf.py b/sites/www/conf.py new file mode 100644 index 00000000..0b0fb85c --- /dev/null +++ b/sites/www/conf.py @@ -0,0 +1,25 @@ +# Obtain shared config values +import sys +import os +from os.path import abspath, join, dirname + +sys.path.append(abspath(join(dirname(__file__), '..'))) +from shared_conf import * + +# Releases changelog extension +extensions.append('releases') +# Paramiko 1.x tags start with 'v'. Meh. +releases_release_uri = "https://github.com/paramiko/paramiko/tree/v%s" +releases_issue_uri = "https://github.com/paramiko/paramiko/issues/%s" + +# Default is 'local' building, but reference the public docs site when building +# under RTD. +target = join(dirname(__file__), '..', 'docs', '_build') +if os.environ.get('READTHEDOCS') == 'True': + target = 'http://docs.paramiko.org/en/latest/' +intersphinx_mapping['docs'] = (target, None) + +# Sister-site links to API docs +html_theme_options['extra_nav_links'] = { + "API Docs": 'http://docs.paramiko.org', +} |