Skip to content

Commit 75ee52f

Browse files
committed
Update used RTD env var
#2293 (comment)
1 parent 97ecda0 commit 75ee52f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def linkcode_resolve(domain, info):
353353
# -- Options for LaTeX output ---------------------------------------------
354354

355355
BRANCH = (
356-
os.environ.get("READTHEDOCS_VERSION") # ReadTheDocs
356+
os.environ.get("READTHEDOCS_GIT_IDENTIFIER") # ReadTheDocs
357357
or "main" # fallback
358358
)
359359

0 commit comments

Comments
 (0)