Skip to content

Standard library

The pages under this section are generated by cmd/ferndoc, which parses internal/stdlib/*.fern and emits one Markdown file per module with the public functions, structs, enums and constants — along with any doc comments preceding each declaration.

Run the generator manually with:

Terminal window
go run ./cmd/ferndoc -out site/src/content/docs/stdlib/

It runs automatically as part of npm run build in site/.

Browse the sidebar to the left, or peek at the source under internal/stdlib/std/ on GitHub.