Skip to content

Add dynamic OG image background for social sharing#5405

Merged
fern-support merged 1 commit intomainfrom
og-dynamic-background-image-v2
May 6, 2026
Merged

Add dynamic OG image background for social sharing#5405
fern-support merged 1 commit intomainfrom
og-dynamic-background-image-v2

Conversation

@kgowru
Copy link
Copy Markdown
Contributor

@kgowru kgowru commented May 6, 2026

Summary

Configures dynamic Open Graph image generation in docs.yml for richer social sharing previews:

  • og:dynamic:background-image — uses the Fern docs screenshot as the OG card background
  • og:dynamic:show-url: false — hides the URL overlay
  • og:dynamic:show-gradient: false — removes the gradient overlay for a cleaner look
  • og:dynamic:show-logo: false — hides the logo overlay (logo is already baked into the background image)

Also includes fern/apis/fai/ai_examples_override.yml (new file).

Test plan

  • Share a docs page URL on Slack/Twitter/LinkedIn and verify the OG card renders with the background image and no overlays

@kgowru kgowru requested a review from devalog as a code owner May 6, 2026 03:13
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

@fern-support fern-support force-pushed the og-dynamic-background-image-v2 branch from 35b1dec to 5d133c1 Compare May 6, 2026 03:17
@fern-support fern-support merged commit c82094a into main May 6, 2026
1 check passed
@fern-support fern-support deleted the og-dynamic-background-image-v2 branch May 6, 2026 03:17
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