Skip to content

fix(docs): ship the theme switch fix to the live docs site (#522) - #523

Merged
q-soriarty merged 2 commits into
mainfrom
hotfix/522-theme-switch-live
Nov 18, 2026
Merged

q-soriarty merged 2 commits into
mainfrom
hotfix/522-theme-switch-live

Conversation

@q-soriarty

Copy link
Copy Markdown
Contributor

Summary

The docs site still shows the broken theme switch: docs.yml deploys from main, and main pins the brand theme to v0.1.0. This hotfix brings the two commits of #520 to main, cherry-picked with -x:

  • build(docs): pin the brand theme to its v0.3.1 release: docs/site/brand from 61ffe28 (v0.1.0) to 9556eec (v0.3.1), whose only change under mkdocs/material is the theme switch fix (qubernetic/brand#15)
  • docs(changelog): note the theme switch fix: the same [Unreleased] entry as on develop

The branch's tree equals develop's, so the back-merge meets identical changes. No version tag: only the docs site changes, as with #515.

Test plan

  • The branch's tree equals origin/develop (git diff origin/develop is empty), where just docs-build (mkdocs build --strict) and the Chrome check passed in fix(docs): keep the theme switch layout after a click (#518) #520
  • CI passes on this PR
  • After the merge, docs.yml deploys from main, the live qubernetic.css contains .md-option:checked + .q-theme:not([hidden]) and the switch keeps its dot and centred label after a click
  • Back-merge main into develop

Closes #522

The brand theme's v0.3.1 keeps the header theme switch a flex row after
a click: MkDocs Material's `.md-option:checked + label:not([hidden])`
rule set it to `display: block`, which shrank the dot to a thin line and
moved the label to the top of the button (qubernetic/brand#15).

Between v0.1.0 and v0.3.1 that fix is the only change to the theme
files under mkdocs/material; v0.2.0 and v0.3.0 added herdr and Konsole
themes, which the site does not use.

Refs #518

(cherry picked from commit 0775e94)
Refs #518

(cherry picked from commit 1bc46a2)
@codecov

codecov Bot commented Nov 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@q-soriarty
q-soriarty merged commit e4e34eb into main Nov 18, 2026
8 checks passed
@q-soriarty
q-soriarty deleted the hotfix/522-theme-switch-live branch November 18, 2026 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(docs): ship the theme switch fix to the live docs site

1 participant