From f2c5f08f54e7679b1fd6b835efc6bb7a4a514d34 Mon Sep 17 00:00:00 2001 From: Abraham Gonzalez Date: Thu, 6 Oct 2022 12:53:19 -0500 Subject: [PATCH] Update conf.py --- docs/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 225d940d..21dc0af3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -94,6 +94,7 @@ elif on_gha: # Looking up a branch name or tag requires switching on the event type that triggered the workflow # so just use the SHA of the commit instead. version = os.environ.get("GITHUB_SHA") + rtd_version = "stable" # default to stable when not on rtd else: # When running locally, try to set version to a branch name that could be # used to reference files on GH that could be added or moved. This should match rtd_version when running @@ -104,6 +105,7 @@ else: version = output else: raise Exception("git rev-parse --abbrev-ref HEAD returned non-zero") + rtd_version = "stable" # default to stable when not on rtd # for now make these match release = version