sitegen

command
v4.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Command sitegen builds the GoWebComponents docs site.

The site itself is a pure GWC application (examples/site): every page, style, and behavior is Go compiled to wasm. This tool compiles that app and generates the single boot shell — the only HTML in the deployed artifact, and it is generated here, never authored. It also emits a Web App Manifest (manifest.json) and a versioned service worker (sw.js) so the site is installable and works offline after the first load.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL