From 2076e50ec327bcad756f05febaf5922ee18c4718 Mon Sep 17 00:00:00 2001 From: Peter Sobolewski <76622105+psobolewskiPhD@users.noreply.github.com> Date: Tue, 6 Feb 2024 12:59:18 -0500 Subject: [PATCH] use Light theme only --- docs/conf.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index b2b936ff..e2183456 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -116,6 +116,11 @@ "announcement": "https://napari.org/dev/_static/announcement.html", } +html_context = { + # use Light theme only, don't auto switch (default) + "default_mode": "light" +} + # 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".