Skip to content

Commit

Permalink
Add doc canonical link
Browse files Browse the repository at this point in the history
Signed-off-by: Sherlock113 <[email protected]>
  • Loading branch information
Sherlock113 committed Nov 11, 2024
1 parent b720a05 commit 8abbc50
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import importlib.metadata
from datetime import datetime
import os

# -- Project information -----------------------------------------------------

Expand Down Expand Up @@ -156,6 +157,9 @@
"dark_logo": "img/logo-dark.svg",
}

# Set canonical URL from readthedocs domain
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "/")

html_title = "BentoML"
html_static_path = ["_static"]
html_css_files = [
Expand Down

0 comments on commit 8abbc50

Please sign in to comment.