-
- Beginning in January 2023, versions for all NVIDIA Merlin projects
- will change from semantic versioning like 4.0
- to calendar versioning like 23.01
.
-
-{% endblock %}
+{%- extends "!layout.html" %}
+
+{%- block extrahead %}
+ {%- if analytics_id %}
+
+
+
+ {% endif %}
+
+
+
+
+{%- endblock %}
diff --git a/docs/source/_templates/merlin-ecosystem.html b/docs/source/_templates/merlin-ecosystem.html
new file mode 100644
index 000000000..42123a669
--- /dev/null
+++ b/docs/source/_templates/merlin-ecosystem.html
@@ -0,0 +1,14 @@
+
+
+
diff --git a/docs/source/_templates/versions.html b/docs/source/_templates/versions.html
index 31a125789..26e2a32fc 100644
--- a/docs/source/_templates/versions.html
+++ b/docs/source/_templates/versions.html
@@ -1,7 +1,7 @@
{%- if current_version %}
- Other Versions
+
v: {{ current_version.name }}
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 786e47bed..aa8311c81 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -13,7 +13,7 @@
# -- Project information -----------------------------------------------------
project = "Merlin"
-copyright = "2022, NVIDIA" # pylint: disable=redefined-builtin
+copyright = "2023, NVIDIA" # pylint: disable=redefined-builtin
author = "NVIDIA"
# -- General configuration ---------------------------------------------------
@@ -24,7 +24,6 @@
extensions = [
"myst_nb",
"sphinx_multiversion",
- "sphinx_rtd_theme",
"sphinx.ext.autodoc",
"sphinx.ext.coverage",
"sphinx.ext.githubpages",
@@ -70,11 +69,29 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
-html_theme = "sphinx_rtd_theme"
+html_theme = "sphinx_book_theme"
+html_title = "NVIDIA Merlin"
+html_favicon = "_static/favicon.png"
html_theme_options = {
- "titles_only": True,
- "analytics_id": "G-NVJ1Y1YJHK",
+ "repository_url": "https://github.com/NVIDIA-Merlin/Merlin",
+ "use_repository_button": True,
+ "footer_content_items": ["copyright.html", "last-updated.html"],
+ "extra_footer": "",
+ "logo": {"text": "NVIDIA Merlin", "alt_text": "NVIDIA Merlin"},
}
+html_sidebars = {
+ "**": [
+ "navbar-logo.html",
+ "search-field.html",
+ "icon-links.html",
+ "sbt-sidebar-nav.html",
+ "merlin-ecosystem.html",
+ "versions.html",
+ ]
+}
+html_css_files = ["css/custom.css", "css/versions.css"]
+html_js_files = ["js/rtd-version-switcher.js"]
+html_context = {"analytics_id": "G-NVJ1Y1YJHK"}
html_copy_source = False
html_show_sourcelink = False
@@ -96,7 +113,6 @@
smv_refs_override_suffix = "-docs"
-html_sidebars = {"**": ["versions.html"]}
html_baseurl = "https://nvidia-merlin.github.io/Merlin/stable/"
# Add any paths that contain custom static files (such as style sheets) here,