Skip to content

Update from code changes: mint og CLI command - #7780

Merged
dks333 merged 1 commit into
mainfrom
autopilot/934de4a2
Oct 11, 2026
Merged

dks333 merged 1 commit into
mainfrom
autopilot/934de4a2

Conversation

@mintlify

@mintlify mintlify Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Documents the new mint og CLI 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, surface and appearance values 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 og to render a page's OG card.


Note

Low Risk
Documentation-only changes with no runtime or application code impact.

Overview
Documents the mint og CLI command across English and localized (es, fr, zh) CLI reference pages. The new section explains rendering a page’s social OG preview to PNG using docs.json thumbnails and page/section overrides, optional page argument, flags (--preset, --surface, --appearance, --output, --no-open), non-fatal warnings, and exit code 1 for invalid config or missing pages, with usage examples.

The SEO guides in the same locales gain a short pointer to mint og as a way to preview generated OG images locally without deploying (alongside the existing mint dev /_mintlify/og/ workflow).

Reviewed by Cursor Bugbot for commit bed22d3. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify
mintlify Bot requested a review from dks333 October 11, 2026 00:45
@mintlify

mintlify Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
mintlify 🟢 Ready View Preview Oct 11, 2026, 12:46 AM

@dks333
dks333 merged commit 8992b25 into main Oct 11, 2026
5 checks passed
@dks333
dks333 deleted the autopilot/934de4a2 branch October 11, 2026 00:46

This branch was successfully deployed

1 active deployment
staging — bed22d38 Deployed Oct 11, 2026 by mintlify[bot]
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.

2 participants