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.
pubconstSectionMapEntry = externstruct {
/// See the SectionMapEntryFlags enum below.flags: u16,
/// Logical overlay numberovl: u16,
/// Group index into descriptor array.group: u16,
frame: u16,
/// Byte index of segment / group name in string table, or 0xFFFF.section_name: u16,
/// Byte index of class in string table, or 0xFFFF.class_name: u16,
/// Byte offset of the logical segment within physical segment. If group is set in flags, this is the offset of the group.offset: u32,
/// Byte count of the segment or group.section_length: u32,
}