pydata/pydata-sphinx-theme

many users struggle with version switcher/banner handling

Open

#1,629 opened on Jan 4, 2024

View on GitHub
 (7 comments) (0 reactions) (0 assignees)Python (376 forks)github user discovery
good first issuekind: documentation

Repository metrics

Stars
 (766 stars)
PR merge metrics
 (Avg merge 1d 14h) (18 merged PRs in 30d)

Description

we use the release value and not the version value from conf.py to decide whether to show a version warning banner. We are assuming folks follow what is stated in the Sphinx docs for release:

If you don’t need the separation provided between version and release, just set them both to the same value.

the fact that folks keep stumbling around the version switcher and the warning banner suggests that either (1) what we're doing is too fragile/magic, or (2) we're not documenting it clearly enough.

Originally posted by @drammock in https://github.com/pydata/pydata-sphinx-theme/issues/1445#issuecomment-1877861639

Contributor guide