From 411c793287ad4f61b5a7ea653df7338aae090b72 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Sun, 29 Oct 2023 09:46:59 -0500 Subject: [PATCH] Adopt pydata sphinx theme (#371) --- docs/conf.py | 4 ++-- pyproject.toml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index df987352..32b90eba 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -124,12 +124,12 @@ # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -# html_theme = 'alabaster' +html_theme = "pydata_sphinx_theme" # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. -# html_theme_options = {} +html_theme_options = {"navigation_with_keys": False} # Add any paths that contain custom themes here, relative to this directory. # html_theme_path = [] diff --git a/pyproject.toml b/pyproject.toml index fb12bb4e..bf2f9cc3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,6 +52,7 @@ docs = [ "sphinxcontrib_spelling", "sphinx-autodoc-typehints", "traitlets", + "pydata_sphinx_theme", ] [project.scripts]