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.
pubconstdata = externstruct {
/// The system call number.nr: c_int,
/// The CPU architecture/system call convention./// One of the values defined in `std.os.linux.AUDIT`.arch: u32,
instruction_pointer: u64,
arg0: u64,
arg1: u64,
arg2: u64,
arg3: u64,
arg4: u64,
arg5: u64,
}