Skip to content

Use Ravion-branded OG banners for every docs page - #26

Merged
flybayer merged 3 commits into
mainfrom
devin/1785789898-docs-og-images
Aug 3, 2026
Merged

Use Ravion-branded OG banners for every docs page#26
flybayer merged 3 commits into
mainfrom
devin/1785789898-docs-og-images

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

Docs links currently unfurl with Mintlify's auto-generated preview. Every page now points its social-share tags at the Ravion OG renderer instead, so docs share the same banner as the marketing site and the blog (orange grid, frame brackets, PP Fragment title):

---
title: "CI integration"
description: "..."
"og:image": "https://www.ravion.com/og/docs/config-as-code/ci-integration.png"
"twitter:image": "https://www.ravion.com/og/docs/config-as-code/ci-integration.png"
---

Only the page path goes into the frontmatter — the renderer (flightcontrolhq/flightcontrol#6795) reads the title from the page's own Mintlify Markdown export, so titles never get duplicated or drift.

scripts/sync-og-images.mjs writes those two tags for every .mdx outside snippets/ (the 107 committed pages here are its output). Generated pages don't carry the tags, so the module-catalog workflow now runs pnpm sync:og-images after generation — as do the two sync workflows in the monorepo — and --check mode runs on pull requests to catch a page that was added or regenerated without them.

Verified with mint validate (build validation passed) and by rendering /og/docs/index.png and /og/docs/config-as-code/ci-integration.png against a local web server.

Link to Devin session: https://app.devin.ai/sessions/5a2da15aec4240a8b446ef95f66e3fbd
Requested by: @flybayer

Co-Authored-By: brandon <brandon@flightcontrol.dev>
@flybayer flybayer self-assigned this Aug 3, 2026
@mintlify

mintlify Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

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

Project Status Preview Updated (UTC)
Ravion 🟢 Ready View Preview Aug 3, 2026, 8:46 PM

@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

devin-ai-integration Bot and others added 2 commits August 3, 2026 20:47
Co-Authored-By: brandon <brandon@flightcontrol.dev>
Co-Authored-By: brandon <brandon@flightcontrol.dev>
@flybayer
flybayer merged commit 058d264 into main Aug 3, 2026
5 checks passed
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