Repository navigation
refactor: simplify the quartoorg site code - #2298
Merged
Merged
Conversation
mcanouil
force-pushed
the
refactor/simplify-quartoorg
branch
from
October 19, 2026 09:46
c6bc178 to
2fcc6ba
Compare
The light and dark themes now share one announcement banner rule, and the prerelease banner only overrides its colour. The navbar drops a selector for an icon the site no longer uses. The page tweaks script detects macOS from the user agent instead of the deprecated navigator.platform, and marks pymd comments with a class instead of setting the font weight inline.
Two are backups of older renders that nothing ever referenced, and two are home page drafts from March 2023 that newer images replaced.
mcanouil
force-pushed
the
refactor/simplify-quartoorg
branch
from
October 19, 2026 09:53
2fcc6ba to
1083719
Compare
mcanouil
marked this pull request as ready for review
October 19, 2026 09:55
Contributor
|
Successfully created backport PR for |
github-actions Bot
added a commit
that referenced
this pull request
Oct 19, 2026
* refactor: simplify the quartoorg site code The light and dark themes now share one announcement banner rule, and the prerelease banner only overrides its colour. The navbar drops a selector for an icon the site no longer uses. The page tweaks script detects macOS from the user agent instead of the deprecated navigator.platform, and marks pymd comments with a class instead of setting the font weight inline. * chore: remove unused images Two are backups of older renders that nothing ever referenced, and two are home page drafts from March 2023 that newer images replaced. * refactor: drop the scope on the pymd comment rule (cherry picked from commit dad5dc9) Co-authored-by: Mickaël Canouil <8896044+mcanouil@users.noreply.github.com>
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.
This tidies leftovers from the move of the site theme into the
quartoorgextension in #2222.The rendered site doesn't change.
#quarto-announcementrule in_announcement.scss, and the prerelease banner only overrides its background colour..bi-twitterselector.page-tweaks.htmldetects macOS fromnavigator.userAgentinstead of the deprecatednavigator.platform. Macs and iPads in desktop mode still get ⌘, and other devices ⌃..pymdcomments with a class, and thefont-weightlives in the stylesheet instead of an inline style.Four files in
images/go. Nothing references them, and git history shows why:hello-jupyter.bak.pngandhello-julia.bak2.pngare backups of older renders, saved in d1c85bf and 74b66ba.demo-jupyter.png(0596468) andhello-jupyter-notebook.png(404c16d) were home page drafts from March 2023, replaced within two days bydemo-jupyter-plain.png(47b63d7), which is still in use.Screenshots of 15 pages and the prerelease banner, in light and dark at three widths, match
main.Two of them, pixel-identical:
The compiled CSS differs only by the removed selector, the new class rule and the dropped duplicate declarations.