Repository navigation
fix(docs): restore callout styling and improve highlight block visibility - #4956
Merged
Merged
Conversation
another-rex
enabled auto-merge (squash)
March 6, 2026 04:22
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>
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.
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.)