Repository navigation
Update from code changes: mint og CLI command - #7780
Merged
Merged
Conversation
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
dks333
approved these changes
Oct 11, 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.
Documents the new
mint ogCLI command, which renders a page's social preview (OG) image to a local PNG, with its flags, warnings and exit codes, and links to it from the OG image section of the SEO page.Authors can now check a page's thumbnail and try
preset,surfaceandappearancevalues before deploying, using the same rendering as the live site.Mirrored into es, fr and zh.
Based on a merged CLI change that adds
mint ogto render a page's OG card.Note
Low Risk
Documentation-only changes with no runtime or application code impact.
Overview
Documents the
mint ogCLI command across English and localized (es, fr, zh) CLI reference pages. The new section explains rendering a page’s social OG preview to PNG usingdocs.jsonthumbnailsand page/section overrides, optionalpageargument, flags (--preset,--surface,--appearance,--output,--no-open), non-fatal warnings, and exit code1for invalid config or missing pages, with usage examples.The SEO guides in the same locales gain a short pointer to
mint ogas a way to preview generated OG images locally without deploying (alongside the existingmint dev/_mintlify/og/workflow).Reviewed by Cursor Bugbot for commit bed22d3. Bugbot is set up for automated code reviews on this repo. Configure here.