FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

webcodecs-census/docs at main · motionvector-dev/webcodecs-census · GitHub

Latest commit

 

History

History

README.md

docs/

The documentation site, and the diagram the root README uses.

Path What
index.html What the tool is, the problem, and why the worker case is hard
quickstart.html Install and a first leak report, three ways
api.html The core and assertion API, field by field
cdp.html The CDP driver
mcp.html The MCP server
extension.html The browser extension, patch mode and exact mode
ci.html CI recipes
limits.html What it cannot see
injection-*.svg The two-phase injection diagram, one file per theme. Generated by npm run build:diagram; also embedded in the root README
.nojekyll Serve the directory as-is rather than through Jekyll

Publishing

.github/workflows/pages.yml uploads this directory unchanged. Nothing is built, so what is committed is exactly what is served — open any page with file:// and it works.

Pages has to be switched on once by hand, under Settings → Pages → Source: GitHub Actions. Until then the deploy step fails, which is the right state for a repository that has not decided to publish.

Editing

Two rules, both of which the workflow enforces or the pages depend on.

Nothing may be loaded from the network. No CDN scripts, no remote fonts, no external stylesheets. Outbound <a href> links are fine; a remote asset is not, because it makes the page depend on someone else's uptime and fails quietly for anyone who has it cached. The deploy workflow greps for this and fails the build.

Every page carries the same <style> block. It is duplicated on purpose — that is what keeps the site buildless — so a style change means replacing that block in all eight files, not editing one. The block runs from the :root palette to the reduced-motion query and is byte-identical everywhere, so a mechanical replace is safe.

Themes are three-state: the bare :root palette is light, a prefers-color-scheme: dark block guarded with :not([data-theme="light"]) handles the System setting, and an explicit [data-theme="dark"] block lets the toggle win in both directions. Do not give a colour its only definition inside one of those blocks.


Back | FazBrowse Home | New Git URL