Skip to content

Commit 64755ba

Browse files
docs: Add basic SEO configuration (#160)
* Set canonical URL to the main branch. * Add Google tag for Google Analytics.
1 parent 7059e23 commit 64755ba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/source/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
html_theme = "sphinx_rtd_theme"
8282
html_theme_options = {
8383
"navigation_depth": 2,
84+
"analytics_id": "G-NVJ1Y1YJHK",
8485
}
8586
html_show_sourcelink = False
8687

@@ -101,6 +102,7 @@
101102
smv_refs_override_suffix = "-docs"
102103

103104
html_sidebars = {"**": ["versions.html"]}
105+
html_baseurl = "https://nvidia-merlin.github.io/models/main"
104106

105107
intersphinx_mapping = {
106108
"python": ("https://docs.python.org/3", None),

0 commit comments

Comments
 (0)