scverse_doc.theme#

The scverse theme: brand chrome, the per-package accent, and the ecosystem dropdown.

scverse_doc selects this theme; on its own, set html_theme = "scverse". Declare the package with the theme options; pydata-sphinx-theme’s own options work as well. This theme sets up scverse_doc.source, which adds the repository links. The accent colour and the “scverse packages” dropdown come from the registry, without any configuration.

Theme options#

html_theme_options keys this theme adds. Everything else there is pydata-sphinx-theme’s. The repository links have their own config values.

package#
Type:
str
Default:
project

The registry name to look the accent and the dropdown’s current entry up under.

accent#
Type:
str
Default:
the registry accent, else the scverse primary

CSS colour for decorative surfaces; link and text shades are derived from it.

show_ecosystem_dropdown#
Type:
bool
Default:
True

Whether the navbar carries the “scverse packages” dropdown.