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.
pubconstAddCSourceFilesOptions = struct {
/// When provided, `files` are relative to `root` rather than the/// package that owns the `Compile` step.root: ?LazyPath = null,
files: []const []constu8,
flags: []const []constu8 = &.{},
/// By default, determines language of each file individually based on its file extensionlanguage: ?CSourceLanguage = null,
}