We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70f096a commit f2c5f08Copy full SHA for f2c5f08
docs/conf.py
@@ -94,6 +94,7 @@
94
# Looking up a branch name or tag requires switching on the event type that triggered the workflow
95
# so just use the SHA of the commit instead.
96
version = os.environ.get("GITHUB_SHA")
97
+ rtd_version = "stable" # default to stable when not on rtd
98
else:
99
# When running locally, try to set version to a branch name that could be
100
# used to reference files on GH that could be added or moved. This should match rtd_version when running
@@ -104,6 +105,7 @@
104
105
version = output
106
107
raise Exception("git rev-parse --abbrev-ref HEAD returned non-zero")
108
109
110
# for now make these match
111
release = version
0 commit comments