We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 841b06c commit 7883868Copy full SHA for 7883868
.github/workflows/doc-build.yml
@@ -5,6 +5,7 @@ on:
5
push:
6
branches:
7
- main
8
+ - release
9
tags:
10
- v[0-9]+.[0-9]+.[0-9]+
11
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
docs/source/conf.py
@@ -86,6 +86,8 @@
86
version = ".".join(
87
et_version_docs.split("/")[-1].split("-")[0].lstrip("v").split(".")[:2]
88
)
89
+ elif et_version_docs.startswith("refs/heads/release/"):
90
+ version = et_version_docs.split("/")[-1]
91
print(f"Version: {version}")
92
html_title = " ".join((project, version, "documentation"))
93
0 commit comments