dashboard: adopt PyData Sphinx Theme palette + logo, matching docs - #70184
Merged
Conversation
Aligns the salt-nightlies visibility page (https://saltstack.github.io/salt-nightlies) with the visual language used across saltproject.io, docs.saltproject.io, and the install guide (all pydata-sphinx-theme or its Hugo port). Changes to .github/scripts/generate_nightly_dashboard.py: - Embed SaltProject_altlogo_teal.png as a base64 data URI, sourced from the salt-install-guide _static/img/ set (identical to docs sites). - Add a top navbar with logo + links to saltproject.io / install-guide / docs / GitHub, with the current page marked active. - Swap the CSS palette to PST tokens: primary teal #0a7d91, link-hover purple #8045e5, success #28a745, danger #d72d47, warning #9a6700, background #fff, borders #d1d5da. - Switch fonts to the PST system-UI + ui-monospace stacks. - Add a footer with the "Updated ..." timestamp and repo link. Zero external dependencies: no CDN CSS/JS, everything (logo + styles) is self-contained in the generated index.html so the page renders on enterprise GHE / air-gapped mirrors identically. Rendered locally against the live gh-pages history.json — no regression in table structure and the expand-on-click detail rows still work.
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.
What
Rethemes the salt-nightlies visibility page so it looks like the rest of the Salt Project sites (saltproject.io, docs.saltproject.io, install-guide — all pydata-sphinx-theme or its Hugo port).
Touches only `.github/scripts/generate_nightly_dashboard.py` (the generator that publish-nightly-release.yml invokes) plus a new PNG asset. The next successful publish cycle regenerates `gh-pages/index.html` on saltstack/salt-nightlies with the new theme.
Changes
Fully self-contained — no CDN CSS/JS added — so the page keeps rendering on GHE / air-gapped mirrors byte-for-byte.
Test plan