summaryrefslogtreecommitdiffstats
path: root/sites/www/conf.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 17:47:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 17:47:36 +0000
commit3c7813683b1845959aca706eaa23f062a006356b (patch)
treeecba42f14f0c919d94332e2633d9b0e6834c9cec /sites/www/conf.py
parentInitial commit. (diff)
downloadparamiko-3c7813683b1845959aca706eaa23f062a006356b.tar.xz
paramiko-3c7813683b1845959aca706eaa23f062a006356b.zip
Adding upstream version 3.4.0.upstream/3.4.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'sites/www/conf.py')
-rw-r--r--sites/www/conf.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/sites/www/conf.py b/sites/www/conf.py
new file mode 100644
index 0000000..179f0b7
--- /dev/null
+++ b/sites/www/conf.py
@@ -0,0 +1,28 @@
+# Obtain shared config values
+from pathlib import Path
+import os
+import sys
+
+updir = Path(__file__).parent.parent.resolve()
+sys.path.append(str(updir))
+from shared_conf import *
+
+# Releases changelog extension
+extensions.append("releases")
+releases_release_uri = "https://github.com/paramiko/paramiko/tree/%s"
+releases_issue_uri = "https://github.com/paramiko/paramiko/issues/%s"
+releases_development_branch = "main"
+# Don't show unreleased_X.x sections up top for 1.x or 2.x anymore
+releases_supported_versions = [3]
+
+# Default is 'local' building, but reference the public docs site when building
+# under RTD.
+target = updir / "docs" / "_build"
+if os.environ.get("READTHEDOCS") == "True":
+ target = "http://docs.paramiko.org/en/latest/"
+intersphinx_mapping["docs"] = (str(target), None)
+
+# Sister-site links to API docs
+html_theme_options["extra_nav_links"] = {
+ "API Docs": "http://docs.paramiko.org"
+}