From bfb119b711baae8945de7f665683ff9619a6cc47 Mon Sep 17 00:00:00 2001 From: Oliver Holworthy Date: Tue, 23 Apr 2024 10:50:07 +0100 Subject: [PATCH] Remove rtd_theme and add sidebar configuration --- docs/source/conf.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 72763d1e0e..4ddefa3e87 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -45,7 +45,6 @@ "sphinx_design", "sphinx_external_toc", "sphinx_multiversion", - "sphinx_rtd_theme", "sphinx.ext.autodoc", "sphinx.ext.autosummary", "sphinx.ext.coverage", @@ -87,7 +86,7 @@ # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = "sphinx-book-theme" +html_theme = "sphinx_book_theme" html_title = "NVTabular" html_theme_options = { "repository_url": "https://github.com/NVIDIA-Merlin/NVTabular", @@ -96,6 +95,16 @@ "extra_footer": "", "logo": {"text": "NVIDIA Merlin NVTabular", "alt_text": "NVIDIA Merlin NVTabular"}, } +html_sidebars = { + "**": [ + "navbar-logo.html", + "search-field.html", + "icon-links.html", + "sbt-sidebar-nav.html", + "merlin-ecosystem.html", + "versions.html", + ] +} html_favicon = "_static/favicon.png" html_copy_source = True html_show_sourcelink = False