From 29bbc9c13f355680b58fcfbe5735f2444f6017f9 Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Fri, 24 Feb 2023 17:23:32 -0500 Subject: Use releases 2.1 to hide 1.x, 2.x unreleased bits in changelog --- dev-requirements.txt | 2 +- sites/www/conf.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-requirements.txt b/dev-requirements.txt index b6a40dcc..646a4c5f 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -16,7 +16,7 @@ coverage>=6.2,<7 codecov==2.1.12 # Documentation tools alabaster==0.7.13 -releases>=2.0 +releases>=2.1 # Debuggery icecream>=2.1 # Self (sans GSS which is a pain to bother with most of the time) diff --git a/sites/www/conf.py b/sites/www/conf.py index e2341611..179f0b7f 100644 --- a/sites/www/conf.py +++ b/sites/www/conf.py @@ -11,6 +11,9 @@ from shared_conf import * 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. -- cgit v1.2.1