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.
pubconstAccessError = error{
/// The requested `AccessOptions` would be denied to the file, or search/// permission is denied for one of the directories in the path prefix.AccessDenied,
/// Write permission was requested but the file is immutable.PermissionDenied,
FileNotFound,
InputOutput,
SystemResources,
FileBusy,
SymLinkLoop,
ReadOnlyFileSystem,
} || PathNameError || Io.Cancelable || Io.UnexpectedError