diff --git a/docs/conf.py b/docs/conf.py index f408dd1..95dfdd9 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -29,6 +29,7 @@ author = "Animath" # ones. extensions = [ "sphinx_rtd_theme", + "sphinx_rtd_dark_mode", ] # Add any paths that contain templates here, relative to this directory. @@ -58,3 +59,5 @@ html_theme = 'sphinx_rtd_theme' # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] + +default_dark_mode = True diff --git a/docs/requirements.txt b/docs/requirements.txt index 540deda..f952b2c 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,2 +1,3 @@ sphinx>=3.3 -sphinx-rtd-theme>=0.5 +sphinx-rtd-theme>=2.0 +sphinx_rtd_dark_mode>=1.3.0