Auto-Generate OG Meta Images for VitePress Pages
Build-time social cards via transformPageData and static OG images per route.
Local search, sidebar automation, build errors, and VitePress deployment guides.
Build-time social cards via transformPageData and static OG images per route.
LCP, INP, CLS fixes specific to VitePress default theme — measurable before/after.
Deferred ad scripts, route-aware loading, and policy-safe placement on doc sites.
Cache, exclude files, parallel CI, and Shiki optimizations — 8 min build down to 2m40s.
Pure static HTML output — what runs at build vs browser, and avoiding window is not defined.
Connect docs to yourdomain.com with TLS, redirects, and correct base config.
VitePress links and assets 404 on GitHub Pages project site. Configure base, assetsDir, and clean URLs for subdirectory hosting.
VitePress docs build crashes with 'heap out of memory' on Vercel. Set NODE_OPTIONS, trim Shiki themes, and exclude large assets — config that worked on 520 pages.
Sticky right-rail TOC on wide screens using outline markers and custom CSS.
Turn off aggressive link prefetch on large doc sites where it hurts mobile data and server logs.
Lazy images, WebP in public/, and Vite asset handling for screenshot-heavy docs.
Override CSS for copy button hover, icon, and copied feedback state.
Replace default hero with branded layout using layout: home and custom Vue components.
Filesystem-driven sidebar with glob — stop hand-editing config when adding pages.
Enable default local search with custom result ranking and mixed-language content support.