gen

command
v0.4.0 Latest Latest
Warning

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

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

Documentation

Overview

Command gendocs generates a static HTML documentation site for a Go module using only the standard library (go/doc, go/parser). It walks every package in the module, renders package docs, exported functions, types, and methods, and writes a browsable site to an output directory (default ./_site).

Usage:

go run ./docs/gen -out _site

It is intentionally dependency-free so it runs in CI without any third-party tooling, matching this project's standard-library-only ethos.

Jump to

Keyboard shortcuts

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