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.
pubconsttpacket_req3 = externstruct {
block_size: c_uint, // Minimal size of contiguous blockblock_nr: c_uint, // Number of blocksframe_size: c_uint, // Size of frameframe_nr: c_uint, // Total number of framesretire_blk_tov: c_uint, // Timeout in msecssizeof_priv: c_uint, // Offset to private data areafeature_req_word: c_uint,
}