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`.
Click to show internal directories.
Click to hide internal directories.