Skip to content

docs: PyPI version badge across docs site#199

Merged
fede-kamel merged 1 commit into
mainfrom
docs/index-pypi-badge
May 15, 2026
Merged

docs: PyPI version badge across docs site#199
fede-kamel merged 1 commit into
mainfrom
docs/index-pypi-badge

Conversation

@fede-kamel
Copy link
Copy Markdown
Contributor

Surfaces the published locus-sdk version 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__pypi selector: 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

  • markdownlint pass
  • CI green (mkdocs strict build)

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>
@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 15, 2026
@fede-kamel fede-kamel merged commit f1290d6 into main May 15, 2026
10 checks passed
@fede-kamel fede-kamel deleted the docs/index-pypi-badge branch May 15, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant