Skip to content

Wire up top-level changelog with divider and redirect#177

Merged
albertov19 merged 1 commit into
mainfrom
albertov19/platform-changelog
May 7, 2026
Merged

Wire up top-level changelog with divider and redirect#177
albertov19 merged 1 commit into
mainfrom
albertov19/platform-changelog

Conversation

@albertov19

Copy link
Copy Markdown
Contributor

Add nav.css with a subtle position-based divider above the last primary-nav entry (currently Changelog), registered in extra_css and the minify plugin's css_files so it loads on every template including home.html. Add a redirect from /code-reviews/changelogs/ to /changelogs/ so existing bookmarks keep working after the page move in the docs repo.

Add nav.css with a subtle position-based divider above the last
primary-nav entry (currently Changelog), registered in extra_css
and the minify plugin's css_files so it loads on every template
including home.html. Add a redirect from /code-reviews/changelogs/
to /changelogs/ so existing bookmarks keep working after the page
move in the docs repo.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 7, 2026 09:06
@albertov19

Copy link
Copy Markdown
Contributor Author

Goes with -> kluster-ai/docs#288

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the MkDocs site configuration and theme overrides to (1) visually separate the top-level “Changelog” entry in the primary navigation and (2) preserve existing links by redirecting the old changelog URL to its new location.

Changes:

  • Added a new theme stylesheet (nav.css) that applies a subtle divider above the last top-level primary-nav item (currently “Changelog”).
  • Registered nav.css in both extra_css and the minify plugin’s css_files list so it’s handled consistently with the site’s other global styles.
  • Added a redirect from /code-reviews/changelogs/ to /changelogs/ to keep old bookmarks working.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
redirects.json Adds a redirect mapping from the prior changelog location to the new top-level /changelogs/ path.
mkdocs.yml Ensures the new navigation stylesheet is included alongside existing global styles and is included in minification config.
material-overrides/assets/stylesheets/nav.css Introduces CSS that adds a divider above the last primary navigation item, with a dark-scheme color override.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@albertov19 albertov19 merged commit cc33129 into main May 7, 2026
4 checks passed
@albertov19 albertov19 deleted the albertov19/platform-changelog branch May 7, 2026 09:16
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.

2 participants