From 948f06882db0e91eb80a2ec70670d185147d2618 Mon Sep 17 00:00:00 2001 From: Lukas Heumos Date: Thu, 22 Oct 2026 16:48:32 +0200 Subject: [PATCH 1/3] Take the docs' accents from the scverse-doc registry and colour the sidebar captions red scverse-doc's registry now carries pertpy's logo blue (scverse/scverse-doc#72), so the hard-coded accent is redundant, and secondary_accent = True takes pertpy's logo red for the sidebar captions (scverse/scverse-doc#73). Both need the scverse-doc release after 0.2.4. --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index d84612c2..f4a68df8 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -54,7 +54,7 @@ typehints_defaults = "comma" html_logo = "_static/pertpy_logo.svg" -html_theme_options = {"accent": "#30679a"} +html_theme_options = {"secondary_accent": True} html_static_path = ["_static"] html_extra_path = ["llms.txt"] From 182781b0aaae026546e7c3682e493ad2430c1ec1 Mon Sep 17 00:00:00 2001 From: Lukas Heumos Date: Thu, 22 Oct 2026 16:48:45 +0200 Subject: [PATCH 2/3] Add changelog entry for #1182 --- docs/changelog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/changelog.md b/docs/changelog.md index ad9e3e29..a271e0b6 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -31,6 +31,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### 🧰 Maintenance * Build the docs with the shared scverse theme and configuration from `scverse-doc`, with the logo blue as its accent for links and highlights ([#1179](https://github.com/scverse/pertpy/pull/1179)) @Zethson +* The docs take their accents from the scverse-doc registry and colour the sidebar captions in the logo red ([#1182](https://github.com/scverse/pertpy/pull/1182)) @Zethson ## v1.4.0 From 00936134e9855c30aa6573988f31e83fcc876d84 Mon Sep 17 00:00:00 2001 From: Lukas Heumos Date: Fri, 23 Oct 2026 10:38:31 +0200 Subject: [PATCH 3/3] Require scverse-doc 0.3.0 for the secondary_accent theme option --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4d2ee6ea..c4409145 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -124,7 +124,7 @@ dev = [ doc = [ "docutils>=0.8", "sphinx>=8.1", - "scverse-doc[full]>=0.2.4", + "scverse-doc[full]>=0.3.0", "sphinxcontrib-bibtex>=1.0.0", "sphinx-issues", "sphinx-gallery",