docs: PyPI version badge across docs site#199
Merged
Conversation
Three coordinated edits surface the published locus-sdk version throughout the mkdocs site, matching the README badge from #198: - docs/index.md — shields.io badge under the H1, Oracle-red. - overrides/partials/source.html — adds the badge to the mkdocs header right slot, alongside the existing GitHub icon. - docs/stylesheets/locus.css — .md-header__pypi selector for the header badge: inline-flex layout, subtle hover lift, narrower padding under 60em viewports. All three render the same shields.io image, which auto-updates when a new release publishes to PyPI. Signed-off-by: Federico Kamelhar <federico.kamelhar@oracle.com>
2 tasks
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.
Surfaces the published
locus-sdkversion in the mkdocs header right slot (every page), matching the README badge from #198.Changes
overrides/partials/source.html— adds the badge link next to the existing GitHub icon in the header right slot.docs/stylesheets/locus.css—.md-header__pypiselector: inline-flex layout, subtle hover lift, narrower padding under 60em viewports.Both use the same shields.io image as the README, so the badge auto-updates when a new release publishes to PyPI. Oracle-red (#C74634) to match the site palette.
Test plan