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.
pubconstDebugInfoDefinition = externstruct {
unused_1: [4]u8,
/// The actual ordinal line number (1, 2, 3, and so on) within the source file, corresponding to the .bf or .ef record.linenumber: u16,
unused_2: [6]u8,
/// The symbol-table index of the next .bf symbol record./// If the function is the last in the symbol table, this field is set to zero./// It is not used for .ef records.pointer_to_next_function: u32,
unused_3: [2]u8,
}