From ef23443a204119ffb7db6b159e2962d946f24489 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Fri, 27 Sep 2024 12:03:41 -0700 Subject: [PATCH] WIP PyData Sphinx Theme --- Doc/conf.py | 11 ++++++----- Doc/requirements.txt | 3 ++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Doc/conf.py b/Doc/conf.py index 27cf03d6bea05aa..8d0a62d69d282bb 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -323,13 +323,14 @@ # ----------------------- # Use our custom theme. -html_theme = 'python_docs_theme' +# html_theme = 'python_docs_theme' +html_theme = 'pydata_sphinx_theme' html_theme_path = ['tools'] html_theme_options = { - 'collapsiblesidebar': True, - 'issues_url': '/bugs.html', - 'license_url': '/license.html', - 'root_include_title': False, # We use the version switcher instead. + # 'collapsiblesidebar': True, + # 'issues_url': '/bugs.html', + # 'license_url': '/license.html', + # 'root_include_title': False, # We use the version switcher instead. } if os.getenv("READTHEDOCS"): diff --git a/Doc/requirements.txt b/Doc/requirements.txt index bf1028020b7af76..f7f6345aae51133 100644 --- a/Doc/requirements.txt +++ b/Doc/requirements.txt @@ -15,6 +15,7 @@ sphinx-notfound-page~=1.0.0 # The theme used by the documentation is stored separately, so we need # to install that as well. -python-docs-theme>=2023.3.1,!=2023.7 +# python-docs-theme>=2023.3.1,!=2023.7 +pydata-sphinx-theme -c constraints.txt