API¶
The API pages are generated from the code on every build, so they match the commit the site was built from. A declaration’s doc comment is its description.
Zig API: every
pubdeclaration, one page per source file, read with the compiler’s own parser bydocs/tools/zig_api.zig, each linked to its source line at that commit.Zig autodoc: the same declarations in the browser
zig build docsmakes, with search and source views.
The program is one Zig module, src/main.zig, which imports each component as a pub declaration, so each has its page:
Component |
What it is |
|---|---|
|
the part of TOML 1.0 the configuration files use |
|
the settings, their layers, and where each value came from |
|
where a secret’s value comes from, and its removal from logs |
|
the site file templates |
|
where a build may write: the allocation’s node-local mount and the install prefix |
|
the RPATH wrappers |
|
|
|
|
The commands themselves are in src/main.zig; The eb-local command describes them.