OpenProgram Docs

Site discoverability and performance

The landing page (website/index.html) and generated docs are static HTML on GitHub Pages. No change to positioning, hosting or content.

Already in place

Landing: canonical URL, description, Open Graph and Twitter cards, SoftwareSourceCode JSON-LD, robots.txt, sitemap.xml, llms.txt. Docs: absolute canonicals and paired English and Chinese files.

Behaviour

ItemEmitsBasis
Hero videoA muted, looping 1280×720 tour video (about 3 MB) with intrinsic dimensions and a JPEG poster from its title card. One rendering per theme; a small inline script picks the one that matches data-theme, so only one downloads. With reduced motion it shows the poster and controls instead of playing.Optimize LCP, Responsive images
Landing images and textExplicit width and height. Secondary text meets WCAG AA. The icon-only copy button has an accessible name. The word program in the App's blue-to-violet brand gradient.Lighthouse
Language pairsIdentical reciprocal en, zh-Hans and x-default links, English as fallback, from the same origin and base as canonicals. Unpaired pages emit none.Localized versions
CanonicalsSelf-referential; language toggle unchanged
BreadcrumbsOne BreadcrumbList per content page: OpenProgram Docs → current page. None on the docs root. Serialized by the standard library with < escaped.Breadcrumb data
Release feedOne application/atom+xml alternate to https://github.com/Fzkuji/OpenProgram/releases.atomNo new publishing service

Rejected: changing to SoftwareApplication for rich results, since no rating or offer data exists; analytics, tracking, cookie banners, new runtime dependencies, CDN or hosting changes. GitHub Pages cache headers are outside the repository.

Acceptance

CheckRequires
python -m scripts.docs_site.check_landingRejects old markup and old bilingual builds, duplicate or unrelated Atom feeds; validates the tour video (one element, both theme renderings, poster, dimensions, under 8 MB, copied by the build) and semantic hreflang
python -m scripts.docs_site.build, checklinksPass
HeroMaterially smaller than the PNG, declared intrinsic dimensions
Mobile LighthouseNo failures for unsized images, contrast, label-content-name mismatch, image delivery or LCP discovery; SEO and Best Practices stay 100
Built docsRoot has no BreadcrumbList; every canonical content page has one valid two-item trail rooted at https://fzkuji.github.io/OpenProgram/docs/
DeployedCI passes on the reviewed commit and the live page reproduces the markup

Implementation status

Implemented. The hero changed from a still image to the tour video, so the Lighthouse figures need a fresh mobile run against the deployed site.

Last updated · 2026-11-25