Wire up top-level changelog with divider and redirect#177
Merged
Conversation
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>
3 tasks
Contributor
Author
|
Goes with -> kluster-ai/docs#288 |
Contributor
There was a problem hiding this comment.
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.cssin bothextra_cssand theminifyplugin’scss_fileslist 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.
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.
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.