Skip to content

Update from code changes: Preview OG images in mint dev - #7741

Merged
dks333 merged 1 commit into
mainfrom
instinct/bf699599
Oct 7, 2026
Merged

dks333 merged 1 commit into
mainfrom
instinct/bf699599

Conversation

@mintlify

@mintlify mintlify Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Adds a short "Preview OG images locally" section to the SEO page's OG images section.
mint dev now 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 to docs.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 dev builds per-page social preview PNGs from local project files.

Readers can open /_mintlify/og/<page-path>.png (with index.png for the home page) and refresh to pick up changes to docs.json, frontmatter, or logos. The section also notes that local preview og:image meta tags point at these generated URLs unless a custom og:image is set.

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

@mintlify mintlify Bot assigned dks333 Oct 7, 2026
@mintlify

mintlify Bot commented Oct 7, 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 7, 2026, 8:49 PM

@dks333
dks333 merged commit 1947855 into main Oct 7, 2026
5 checks passed
@dks333
dks333 deleted the instinct/bf699599 branch October 7, 2026 20:54

This branch was successfully deployed

1 active deployment
staging — eafce659 Deployed Oct 7, 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.

1 participant