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.
pubconstOptions = struct {
/// User-provided buffer with static lifetime.////// Used to store the entire write buffer sent to the terminal. Progress output will be truncated if it/// cannot fit into this buffer which will look bad but not cause any malfunctions.////// Must be at least 200 bytes.draw_buffer: []u8 = &default_draw_buffer,
/// How many nanoseconds between writing updates to the terminal.refresh_rate_ns: Io.Duration = .fromMilliseconds(80),
/// How many nanoseconds to keep the output hiddeninitial_delay_ns: Io.Duration = .fromMilliseconds(200),
/// If provided, causes the progress item to have a denominator./// 0 means unknown.estimated_total_items: usize = 0,
root_name: []constu8 = "",
disable_printing: bool = false,
}