From 64755badd4e5756601f66e7e568201aedb8a4144 Mon Sep 17 00:00:00 2001 From: mikemckiernan Date: Tue, 8 Nov 2022 00:28:51 -0500 Subject: [PATCH] docs: Add basic SEO configuration (#160) * Set canonical URL to the main branch. * Add Google tag for Google Analytics. --- docs/source/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index a961691ad..46a69d3fb 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -81,6 +81,7 @@ html_theme = "sphinx_rtd_theme" html_theme_options = { "navigation_depth": 2, + "analytics_id": "G-NVJ1Y1YJHK", } html_show_sourcelink = False @@ -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),