From 0b661fb31a1ad136f5c59109cae7dcc1dddc5a7a Mon Sep 17 00:00:00 2001 From: Matt Weller Date: Mon, 29 Jul 2024 11:15:18 -0700 Subject: [PATCH] readthedocs4 --- docs/conf.py | 3 +++ docs/requirements.txt | 1 + 2 files changed, 4 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index c4594e2..8863368 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -39,6 +39,7 @@ 'sphinx.ext.viewcode', 'sphinx.ext.todo', 'sphinx_rtd_theme', + 'sphinx_rtd_dark_mode', ] # Add any paths that contain templates here, relative to this directory. @@ -64,6 +65,8 @@ # html_theme = 'sphinx_rtd_theme' +default_dark_mode = True + # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". diff --git a/docs/requirements.txt b/docs/requirements.txt index 2bb4a03..1e6c235 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -38,6 +38,7 @@ sphinx==5.3.0 # via sphinx-rtd-theme sphinx-rtd-theme==1.1.1 # via -r requirements.in +sphinx-rtd-dark-mode==1.3.0 sphinxcontrib-applehelp==2.0.0 # via sphinx sphinxcontrib-devhelp==2.0.0