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.
vardebug_allocator: std.heap.DebugAllocator(.{
.stack_trace_frames = if (build_options.debug_allocationsandstd.debug.sys_can_stack_trace) 10else0,
.resize_stack_traces = build_options.debug_allocations,
// A unique value so that when a default-constructed
// GeneralPurposeAllocator is incorrectly passed to testing allocator, or
// vice versa, panic occurs.
.canary = @truncate(0xc647026dc6875134),
}) = .{}