Skip to content

Commit

Permalink
Merge pull request #258 from openedx/feanil/update_rtd_config
Browse files Browse the repository at this point in the history
build: Manually pull some RTD Context.
  • Loading branch information
bmtcril authored Sep 27, 2024
2 parents 4020cd2 + ac5646a commit c44c3d5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,14 @@

# -- Options for autosummary extension ---------------------------------------
autosummary_imported_members = True

# -- Read the Docs Specific Configuration
# Define the canonical URL if you are using a custom domain on Read the Docs
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")

# Tell Jinja2 templates the build is running on Read the Docs
if os.environ.get("READTHEDOCS", "") == "True":
if "html_context" not in globals():
html_context = {}
html_context["READTHEDOCS"] = True

0 comments on commit c44c3d5

Please sign in to comment.