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.
pubconstImportDirectoryEntry = externstruct {
/// The RVA of the import lookup table./// This table contains a name or ordinal for each import./// (The name "Characteristics" is used in Winnt.h, but no longer describes this field.)import_lookup_table_rva: u32,
/// The stamp that is set to zero until the image is bound./// After the image is bound, this field is set to the time/data stamp of the DLL.time_date_stamp: u32,
/// The index of the first forwarder reference.forwarder_chain: u32,
/// 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 RVA of the import address table./// The contents of this table are identical to the contents of the import lookup table until the image is bound.import_address_table_rva: u32,
}