Skip to content

Conversation

@roomote
Copy link
Contributor

@roomote roomote bot commented Oct 22, 2025

This PR applies the same improvement from Roo-Code web (dynamic OG image generation) to our Docs site.\n\nSummary of changes:\n- Add centralized endpoint constant at src/constants.ts (ROOCODE_OG_IMAGE_ENDPOINT)\n- Configure site-wide dynamic OG/Twitter image via themeConfig.image at docusaurus.config.ts\n- Remove per-page static frontmatter images so pages fall back to dynamic default (bulk removal across docs)\n- Keep homepage explicitly pointing to dynamic OG URL at docs/index.md\n\nNotes:\n- Mirrors approach in Roo-Code PR #8773 using a centralized OG endpoint\n- Avoids duplicate OG tags by relying on themeConfig.image for defaults\n\nTesting:\n- Typecheck passes locally (npm run typecheck)\n- Lint:unused is currently not runnable due to missing ESLint flat config (unchanged by this PR)


Important

Implements dynamic OpenGraph images for social previews across the documentation site, centralizing the OG image endpoint and removing static images from individual pages.

  • Behavior:
    • Centralizes dynamic OpenGraph image generation using ROOCODE_OG_IMAGE_ENDPOINT in src/constants.ts.
    • Configures site-wide dynamic OG/Twitter image via themeConfig.image in docusaurus.config.ts.
    • Removes static frontmatter images from individual documentation pages, defaulting to dynamic images.
    • Keeps homepage pointing to dynamic OG URL in docs/index.md.
  • Testing:
    • Typecheck passes locally.
    • Lint:unused not runnable due to missing ESLint flat config.

This description was created by Ellipsis for 81410c3. You can customize this summary. It will automatically update as commits are pushed.

@vercel
Copy link

vercel bot commented Oct 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
roo-code-docs Ready Ready Preview Comment Oct 22, 2025 2:20pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

1 participant