Skip to content

Commit

Permalink
Merge pull request Elgg#14759 from jdalsem/6.1-fixes
Browse files Browse the repository at this point in the history
chore(docs): set the canonical docs url for readthedocs
  • Loading branch information
jdalsem authored Dec 5, 2024
2 parents 798dbfd + 93360a4 commit 2329f63
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
from sphinx.highlighting import lexers
from pygments.lexers.web import PhpLexer

# Set canonical URL from the Read the Docs Domain
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")

# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
Expand Down

0 comments on commit 2329f63

Please sign in to comment.