sitegen

command
v0.0.0-...-77aa4db Latest Latest
Warning

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

Go to latest
Published: May 18, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Command sitegen renders the follow_along/ chapters, how-to/ recipes, and exercises/ extension prompts into a static website that matches the Claude-Design landing-page mockup.

Inputs (relative to the working directory, which is the repo root):

follow_along/en/*.md   how-to/en/*.md   exercises/en/*.md
follow_along/es/*.md   how-to/es/*.md   exercises/es/*.md

Outputs (under -out, default ./site):

./site/index.html                   -- English landing page
./site/chapters/<slug>.html         -- English chapter pages
./site/how-to/<slug>.html           -- English how-to guides
./site/exercises/<slug>.html        -- English exercise pages
./site/es/index.html                -- Spanish landing page
./site/es/chapters/<slug>.html      -- Spanish chapter pages
./site/es/how-to/<slug>.html        -- Spanish how-to guides
./site/es/exercises/<slug>.html     -- Spanish exercise pages
./site/styles.css                   -- shared CSS

Missing source directories are tolerated — the section is simply skipped for that language. Run from the repo root with `go run ./cmd/sitegen`.

Jump to

Keyboard shortcuts

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