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.
constArgvToScriptCommandLineError = error{
OutOfMemory,
InvalidWtf8,
/// NUL (U+0000), LF (U+000A), CR (U+000D) are not allowed/// within arguments when executing a `.bat`/`.cmd` script./// - NUL/LF signifiies end of arguments, so anything afterwards/// would be lost after execution./// - CR is stripped by `cmd.exe`, so any CR codepoints/// would be lost after execution.InvalidBatchScriptArg,
}