From d0c45434a384d81367a3d44705b92d015b019ee2 Mon Sep 17 00:00:00 2001 From: Doug Branton Date: Wed, 8 May 2024 14:20:23 -0700 Subject: [PATCH] add book theme --- docs/_static/custom.css | 3 +++ docs/conf.py | 5 ++++- docs/requirements.txt | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 docs/_static/custom.css diff --git a/docs/_static/custom.css b/docs/_static/custom.css new file mode 100644 index 0000000..d38d4d5 --- /dev/null +++ b/docs/_static/custom.css @@ -0,0 +1,3 @@ +.jupyter-widgets { + color: var(--pst-color-text-base) !important; +} \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index 1868243..8b2194f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -55,4 +55,7 @@ autoapi_add_toc_tree_entry = False autoapi_member_order = "bysource" -html_theme = "sphinx_rtd_theme" +html_theme = "sphinx_book_theme" + +html_static_path = ["_static"] +html_css_files = ["custom.css"] diff --git a/docs/requirements.txt b/docs/requirements.txt index ee05654..661f412 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -7,4 +7,4 @@ nbsphinx sphinx sphinx-autoapi sphinx-copybutton -sphinx-rtd-theme \ No newline at end of file +sphinx-book-theme \ No newline at end of file