diff --git a/docs/_static/custom.css b/docs/_static/custom.css new file mode 100644 index 00000000..d38d4d5e --- /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 00c3450b..6ff20bfa 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -56,4 +56,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 7b3f1a71..411dd889 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -8,4 +8,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