This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.
usage_libc
Maker.usage_libc
constusage_libc =
\\Usage: zig libc\\\\ Detect the native libc installation and print the resulting\\ paths to stdout. You can save this into a file and then edit\\ the paths to create a cross compilation libc kit. Then you\\ can pass `--libc [file]` for Zig to use it.\\\\Usage: zig libc [paths_file]\\\\ Parse a libc installation text file and validate it.\\\\Options:\\ -h, --help Print this help and exit\\ -target [name] <arch><sub>-<os>-<abi> see the targets command\\ -includes Print the libc include directories for the target\\
constusage_libc =
\\Usage: zig libc\\\\ Detect the native libc installation and print the resulting\\ paths to stdout. You can save this into a file and then edit\\ the paths to create a cross compilation libc kit. Then you\\ can pass `--libc [file]` for Zig to use it.\\\\Usage: zig libc [paths_file]\\\\ Parse a libc installation text file and validate it.\\\\Options:\\ -h, --help Print this help and exit\\ -target [name] <arch><sub>-<os>-<abi> see the targets command\\ -includes Print the libc include directories for the target\\