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. Public Enum
pubconstImportNameType = enum(u3) {
/// The import is by ordinal. This indicates that the value in the Ordinal/Hint/// field of the import header is the import's ordinal. If this constant is not/// specified, then the Ordinal/Hint field should always be interpreted as the import's hint.ORDINAL = 0,
/// The import name is identical to the public symbol name.NAME = 1,
/// The import name is the public symbol name, but skipping the leading ?, @, or optionally _.NAME_NOPREFIX = 2,
/// The import name is the public symbol name, but skipping the leading ?, @, or optionally _,/// and truncating at the first @.NAME_UNDECORATE = 3,
/// https://github.com/llvm/llvm-project/pull/83211NAME_EXPORTAS = 4,
_,
}