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.
pubconstSelfInfoError = error{
/// The required debug info is invalid or corrupted.InvalidDebugInfo,
/// The required debug info could not be found.MissingDebugInfo,
/// The required debug info was found, and may be valid, but is not supported by this implementation.UnsupportedDebugInfo,
/// The required debug info could not be read from disk due to some IO error.ReadFailed,
OutOfMemory,
Canceled,
Unexpected,
}