You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
createConfig() silently drops opts.head — OG/Twitter meta never emitted on any product docs #6
Repo: codecoradev/codecora-theme · Pinned by: every product docs site (uteke, covecto, …) via github:codecoradev/codecora-theme#<sha>
Bug
createConfig() interface declares:
/** Extra VitePress head tags (merged after theme defaults). */
head?: UserConfig['head']
…but the returned defineConfig({ head: [...] }) is a hardcoded array (preconnect ×2, Google Fonts stylesheet, theme-color, accent style). opts.head is never read — anything a product passes is silently dropped.
Root-page <title> equals opts.title verbatim (no suffix) while subpages use "<Page> | <site title>" — so products should pass a keyword-rich site title, or accept a bare one on the root page
No per-page canonical/og:url is emitted anywhere; only frontmatter head: works today (VitePress frontmatter head merges reliably, values containing : must be YAML-quoted)
Additional findings from the 2026-10-05 live vision audit (post-fix re-verification of codecora.dev/covecto/docs after PR codecoradev/covecto#40):
Secondary button text contrast — Install / GitHub pills render light-bg + light text (near-invisible). VitePress default .VPButton.alt colors don't adapt to the dark theme tokens. Theme should set alt-button text to a dark ink on light bg (or invert).
No footer on docs pages — home layout ends after content; no copyright/links footer anywhere. Suggest theme-level default footer (brand + legal + repo links), overridable per product.
Literal # in rendered headings — ## Engine Comparison renders with a visible # prefix (theme default h2::before content). Should be removed in the shared theme.
Navbar logo path — hardcodes src: '/logo.png' which never resolves under base: '/<product>/docs/' (workaround shipped per-repo via docs/public/logo.png; proper fix = {base}logo.png or theme-shipped asset).
(already in this issue)opts.head silently dropped.
All five are shared-theme defects affecting every product docs site (verified on covecto; uteke confirmed for logo + head at least).
Activity
ajianaz commentedon Oct 5, 2026
Additional findings from the 2026-10-05 live vision audit (post-fix re-verification of codecora.dev/covecto/docs after PR codecoradev/covecto#40):
Install/GitHubpills render light-bg + light text (near-invisible). VitePress default.VPButton.altcolors don't adapt to the dark theme tokens. Theme should set alt-button text to a dark ink on light bg (or invert).#in rendered headings —## Engine Comparisonrenders with a visible#prefix (theme defaulth2::beforecontent). Should be removed in the shared theme.src: '/logo.png'which never resolves underbase: '/<product>/docs/'(workaround shipped per-repo viadocs/public/logo.png; proper fix ={base}logo.pngor theme-shipped asset).opts.headsilently dropped.All five are shared-theme defects affecting every product docs site (verified on covecto; uteke confirmed for logo + head at least).