Skip to content

Commit

Permalink
[DOCS] Use an absolute path for the canonical link (#3271)
Browse files Browse the repository at this point in the history
  • Loading branch information
desmondcheongzx authored Nov 12, 2024
1 parent c77cfdb commit 6021827
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@
"show_toc_level": 2,
}
# Set canonical link
html_baseurl = "/stable/"
# Based on Google Search's recommendation, we use an absolute path here. For more details, see:
# https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls#use-rel=canonical-link-annotations
html_baseurl = "https://www.getdaft.io/projects/docs/en/stable/"

# -- Copy button configuration

Expand Down

0 comments on commit 6021827

Please sign in to comment.