[docs] docs 페이지 메타데이터 및 동적 OG 이미지 적용#189
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Code Review
This pull request centralizes metadata generation for the documentation pages by introducing a 'createDocsPageMetadata' helper and refactoring MDX pages to use it. It also adds a dynamic Open Graph (OG) image generation route ('/og') using Next.js 'ImageResponse'. The review feedback recommends lazy loading the font and logo assets inside the OG route handler to prevent build-time failures and unhandled promise rejections, as well as using relative paths for OG images in the metadata helper to ensure proper resolution across local, preview, and production environments.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
개요 💡
docs앱의 메타데이터를 페이지별로 정리하고, 고정 OG 이미지를 페이지별 동적 OG 이미지로 전환합니다.작업내용 ⌨️
apps/docs/src/shared/lib/metadata.ts에 docs 전용 메타데이터 helper 추가title,og:title,og:url,twitter:image를 페이지별로 생성하도록 변경apps/docs/src/app/og/route.tsx를 추가해 문서 제목 기반 동적 OG 이미지 생성apps/docs/src/app/layout.tsx의 전역 metadata를 공통 helper 기반으로 정리스크린샷/동영상 📸
리뷰 요청사항 👀