Repository navigation
Update from code changes: Preview OG images in mint dev - #7741
Merged
Merged
Conversation
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
dks333
approved these changes
Oct 7, 2026
This was referenced Oct 8, 2026
This branch was successfully deployed
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.
Adds a short "Preview OG images locally" section to the SEO page's OG images section.
mint devnow generates each page's social preview card from your local files and serves it at/_mintlify/og/<page-path>.png. The card rebuilds on every refresh, so you can check changes todocs.json, frontmatter or logos before you deploy.Based on the local OG image preview that just shipped for
mint dev.Notes for reviewers: this only reaches users once a CLI release includes it. Please hold the merge if that release hasn't gone out yet.
Note
Low Risk
Documentation-only change with no runtime or security impact.
Overview
Adds a Preview OG images locally subsection under the SEO guide’s OG images area, documenting how
mint devbuilds per-page social preview PNGs from local project files.Readers can open
/_mintlify/og/<page-path>.png(withindex.pngfor the home page) and refresh to pick up changes todocs.json, frontmatter, or logos. The section also notes that local previewog:imagemeta tags point at these generated URLs unless a customog:imageis set.Reviewed by Cursor Bugbot for commit eafce65. Bugbot is set up for automated code reviews on this repo. Configure here.