Skip to content

Commit 5ce8f01

Browse files
committed
remove trailing whitespaces and add one print statement
1 parent 30a1e4c commit 5ce8f01

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/doc-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ jobs:
9292
9393
# Get github.ref for the output doc folder. By default "main"
9494
# If matches a tag like refs/tags/v1.12.0-rc3 or
95-
# refs/tags/v1.12.0 convert to 1.12
95+
# refs/tags/v1.12.0 convert to 1.12
9696
GITHUB_REF=${{ github.ref }}
9797
98-
# Convert refs/tags/v1.12.0rc3 into 1.12.
98+
# Convert refs/tags/v1.12.0rc3 into 1.12.
9999
# Adopted from https://github.com/pytorch/pytorch/blob/main/.github/workflows/_docs.yml#L150C11-L155C13
100100
if [[ "${GITHUB_REF}" =~ ^refs/tags/v([0-9]+\\.[0-9]+)\\. ]]; then
101101
TARGET_FOLDER="${BASH_REMATCH[1]}"

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373

7474
# Get ET_VERSION_DOCS during the build.
7575
et_version_docs = os.environ.get("ET_VERSION_DOCS", None)
76-
76+
print(f"et_version_docs: {et_version_docs}")
7777

7878
# The code below will cut version displayed in the dropdown like this:
7979
# By default, set to "main".

0 commit comments

Comments
 (0)