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.
fnloadInvalidValue(
data: *constInvalidValueData,
value_handle: ValueHandle,
) callconv(.c) noreturn {
constvalue: Value = .{ .handle = value_handle, .td = data.td };
panic(@returnAddress(), "load of value {f}, which is not valid for type {s}", .{
value, data.td.getName(),
});
}