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.
pubconstSectionDefinition = externstruct {
/// The size of section data; the same as SizeOfRawData in the section header.length: u32,
/// The number of relocation entries for the section.number_of_relocations: u16,
/// The number of line-number entries for the section.number_of_linenumbers: u16,
/// The checksum for communal data. It is applicable if the IMAGE_SCN_LNK_COMDAT flag is set in the section header.checksum: u32,
/// One-based index into the section table for the associated section. This is used when the COMDAT selection setting is 5.number: u16,
/// The COMDAT selection number. This is applicable if the section is a COMDAT section.selection: ComdatSelection,
unused: [3]u8,
}