Repository navigation
fix(docs): ship the theme switch fix to the live docs site (#522) - #523
Merged
Merged
Conversation
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)
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The docs site still shows the broken theme switch:
docs.ymldeploys frommain, andmainpins the brand theme to v0.1.0. This hotfix brings the two commits of #520 tomain, cherry-picked with-x:build(docs): pin the brand theme to its v0.3.1 release:docs/site/brandfrom61ffe28(v0.1.0) to9556eec(v0.3.1), whose only change undermkdocs/materialis the theme switch fix (qubernetic/brand#15)docs(changelog): note the theme switch fix: the same[Unreleased]entry as ondevelopThe 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
origin/develop(git diff origin/developis empty), wherejust docs-build(mkdocs build --strict) and the Chrome check passed in fix(docs): keep the theme switch layout after a click (#518) #520docs.ymldeploys frommain, the livequbernetic.csscontains.md-option:checked + .q-theme:not([hidden])and the switch keeps its dot and centred label after a clickmainintodevelopCloses #522