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.
pubconstCreateFileAtomicOptions = struct {
permissions: File.Permissions = .default_file,
make_path: bool = false,
/// Tells whether the unnamed file will be ultimately created with/// `File.Atomic.link` or `File.Atomic.replace`.////// If this value is incorrect it will cause an assertion failure in/// `File.Atomic.replace`.replace: bool = false,
}