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.
pubconstDeleteTreeError = error{
AccessDenied,
PermissionDenied,
FileTooBig,
SymLinkLoop,
ProcessFdQuotaExceeded,
SystemFdQuotaExceeded,
NoDevice,
SystemResources,
ReadOnlyFileSystem,
FileSystem,
FileBusy,
/// One of the path components was not a directory./// This error is unreachable if `sub_path` does not contain a path separator.NotDir,
/// On Windows, `\\server` or `\\server\share` was not found.NetworkNotFound,
} || PathNameError || Io.Cancelable || Io.UnexpectedError