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 standard library. Private Enum
constContext = enum {
/// The expression is the operand to a return expression.@"return",
/// The expression is the input to an error-handling operator (if-else, try, or catch).error_handling_expr,
/// The expression is the right-hand side of a shift operation.shift_op,
/// The expression is an argument in a function call.fn_arg,
/// The expression is the right-hand side of an initializer for a `const` variableconst_init,
/// The expression is the right-hand side of an assignment expression.assignment,
/// No specific operator in particular.none,
/// The expression is operand to address-of which is the operand to a return expression.return_addrof,
}