Skip to content

Commit

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

* Add Google tag for Google Analytics.
  • Loading branch information
mikemckiernan authored Nov 8, 2022
1 parent 8e7edba commit ba4c141
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 @@ -88,6 +88,7 @@
html_theme = "sphinx_rtd_theme"
html_theme_options = {
"navigation_depth": 3,
"analytics_id": "G-NVJ1Y1YJHK",
}
html_show_sourcelink = False

Expand Down Expand Up @@ -116,6 +117,7 @@
smv_refs_override_suffix = "-docs"

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

autodoc_inherit_docstrings = False
autodoc_default_options = {
Expand Down

0 comments on commit ba4c141

Please sign in to comment.