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.
pubconstOptions = struct {
basename: ?[]constu8 = null,
format: ?Format = null,
only_section: ?[]constu8 = null,
pad_to: ?u64 = null,
compress_debug: bool = false,
strip: Strip = .none,
/// Put the stripped out debug sections in a separate file./// note: the `basename` is baked into the elf file to specify the link to the separate debug file./// see https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html////// Makes `getOutputSeparatedDebug` return non-null.separate_debug_file: ?SeparateDebugFile = null,
pubconstSeparateDebugFile = struct {
basename: ?[]constu8,
};
}