Skip to content

Commit 9a7afd3

Browse files
committed
Merge branch 'svekars-patch-3' of github.com:pytorch/executorch into svekars-patch-3
2 parents 8400e21 + 210a225 commit 9a7afd3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/source/conf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,13 @@
7878
# The code below will cut version displayed in the dropdown like this:
7979
# By default, set to "main".
8080
# If it's a tag like refs/tags/v1.2.3-rc4 or refs/tags/v1.2.3, then
81-
# cut to v1.2
81+
# cut to 1.2
8282
# the version varible is used in layout.html: https://github.com/pytorch/executorch/blob/main/docs/source/_templates/layout.html#L29
8383
version = release = "main"
8484
if et_version_docs:
8585
if et_version_docs.startswith("refs/tags/v"):
8686
version = ".".join(
8787
et_version_docs.split("/")[-1].split("-")[0].lstrip("v").split(".")[:2]
88-
)
8988
print(f"Version: {version}")
9089
html_title = " ".join((project, version, "documentation"))
9190

0 commit comments

Comments
 (0)