Skip to content

Commit 7ac71dd

Browse files
committed
Correctly document custom Read the Docs logic
1 parent b4a362d commit 7ac71dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/en/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,8 @@
251251
issues_github_path = "pytest-dev/pytest"
252252

253253
# -- Custom Read the Docs build configuration -----------------------------------------
254-
# (undocumented, relies on implementation details of Read the Docs' build)
254+
# https://docs.readthedocs.io/en/stable/reference/environment-variables.html#environment-variable-reference
255+
# https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#including-content-based-on-tags
255256

256257
IS_RELEASE_ON_RTD = (
257258
os.getenv("READTHEDOCS", "False") == "True"

0 commit comments

Comments
 (0)