docs: add OG images implementation guide and checklist for social media sharing #1032
+2,312
−27
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.
Add Open Graph Images for Social Media Sharing
Summary
Implemented comprehensive Open Graph (OG) image system with 22 custom branded images across 174 documentation pages to enhance social media sharing with beautiful, branded previews on platforms like Twitter, Facebook, LinkedIn, Discord, and Slack.
Why This Matters
Before: Links shared on social media showed no preview or generic fallback
After: Every documentation page shows a beautiful, branded preview with:
This improves:
What Changed
🎨 New OG Images (22 total)
Core Documentation:
homepage.png
- Default fallbackplatform.png
- Platform docsjs-sdk.png
- JavaScript SDKandroid-sdk.png
- Android SDKios-sdk.png
- iOS SDKcli.png
- Tolgee CLIapi.png
- REST APIFramework Integrations:
react.png
- Reactreact-native.png
- React Nativevue.png
- Vue.jsangular.png
- Angularsvelte.png
- Sveltenext.png
- Next.jsvanilla.png
- Vanilla JSi18next.png
- i18nextPlatform Features:
integrations.png
- Third-party integrationsself-hosting.png
- Self-hosting guidesin-context.png
- In-context translationmachine-translation.png
- AI translationfigma-plugin.png
- Figma pluginslack.png
- Slack integrationunreal.png
- Unreal Engine plugin📄 Pages Updated (174 pages - 100% coverage)
🛠️ Technical Implementation
Configuration:
docusaurus.config.ts
LayoutContent.tsx
image:
field to frontmatter of 174 documentation pagesImage Specifications:
Automation Scripts:
scripts/generateOgImages.ts
- Generates SVG templates from configscripts/convertOgImages.ts
- Converts SVG to PNG with proper color renderingnpm run generate-og-images
,npm run convert-og-images
,npm run og-images
Testing
After deployment, verify OG images with: