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.
pubconstExportDirectoryTable = externstruct {
/// Reservedflags: u32,
/// Creation time of this tabletime_date_stamp: u32,
major_version: u16,
minor_version: u16,
/// The address of an ASCII string that contains the name of the DLL./// This address is relative to the image base.name_rva: u32,
/// The ordinal of the first export in this imageordinal_base: u32,
/// Number of entries in the export address tablenumber_of_entries: u32,
/// Number of entries in the name pointer table and ordinal tablenumber_of_names: u32,
export_address_table_rva: u32,
name_pointer_table_rva: u32,
ordinal_table_rva: u32,
}