Skip to content

Commit

Permalink
docs: Add basic SEO configuration (#160)
Browse files Browse the repository at this point in the history
* Set canonical URL to the main branch.

* Add Google tag for Google Analytics.
  • Loading branch information
mikemckiernan authored Nov 8, 2022
1 parent 7059e23 commit 64755ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
html_theme = "sphinx_rtd_theme"
html_theme_options = {
"navigation_depth": 2,
"analytics_id": "G-NVJ1Y1YJHK",
}
html_show_sourcelink = False

Expand All @@ -101,6 +102,7 @@
smv_refs_override_suffix = "-docs"

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

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

0 comments on commit 64755ba

Please sign in to comment.