Debian Codegraph @

sites/www/conf.py

raw
1 # Obtain shared config values
2 from pathlib import Path
3 import os
4 import sys
5
6 updir = Path(__file__).parent.parent.resolve()
7 sys.path.append(str(updir))
8 from shared_conf import *
9
10 # Releases changelog extension
11 extensions.append("releases")
12 releases_release_uri = "https://github.com/paramiko/paramiko/tree/%s"
13 releases_issue_uri = "https://github.com/paramiko/paramiko/issues/%s"
14 releases_development_branch = "main"
15 # Don't show unreleased_X.x sections up top for 1.x or 2.x anymore
16 releases_supported_versions = [3]
17
18 # Default is 'local' building, but reference the public docs site when building
19 # under RTD.
20 target = updir / "docs" / "_build"
21 if os.environ.get("READTHEDOCS") == "True":
22 target = "http://docs.paramiko.org/en/latest/"
23 intersphinx_mapping["docs"] = (str(target), None)
24
25 # Sister-site links to API docs
26 html_theme_options["extra_nav_links"] = {
27 "API Docs": "http://docs.paramiko.org"
28 }