Skip to content

fix(docs): restore callout styling and improve highlight block visibility - #4956

Merged
another-rex merged 3 commits into
google:masterfrom
ashmod:fix/docs-callout-styling
Mar 6, 2026
Merged

another-rex merged 3 commits into
google:masterfrom
ashmod:fix/docs-callout-styling

Conversation

@ashmod

@ashmod ashmod commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

A recent just-the-docs update broke callout block styling on the docs pages.
This PR adds a custom override to restore callouts to their original styles.

Also improved highlight block readability to match the one applied in osv-scanner docs a while back.

(Warning and Highlight blocks are not used anywhere in the osv.dev docs yet, but this should help ensure the styles are ready for future updates.)

@jess-lowe jess-lowe 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.

LGTM, thanks :)

@another-rex
another-rex enabled auto-merge (squash) March 6, 2026 04:22
@another-rex
another-rex merged commit c141eed into google:master Mar 6, 2026
21 checks passed
another-rex pushed a commit to google/osv-scanner that referenced this pull request Mar 8, 2026
Restores callout block styles that were broken in a recent just-the-docs
update.
(same override as google/osv.dev#4956)
tymzd pushed a commit to tymzd/osv.dev that referenced this pull request Apr 13, 2026
…lity (google#4956)

A recent just-the-docs update [broke callout block
styling](https://google.github.io/osv.dev/post-v1-query/#:~:text=dev/v1/query%22-,The%20API,-has%20a%20response)
on the docs pages.
This PR adds a custom override to restore callouts to their original
styles.

Also improved highlight block readability to match [the one applied in
osv-scanner docs](google/osv-scanner#2106) a
while back.

(Warning and Highlight blocks are not used anywhere in the osv.dev docs
yet, but this should help ensure the styles are ready for future
updates.)

---------

Co-authored-by: Rex P <106129829+another-rex@users.noreply.github.com>
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.

3 participants