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.
pubconstOptions = struct {
/// Which installation directory to put the main output file into.dest_dir: Dir = .default,
pdb_dir: Dir = .default,
compiler_rt_dyn_lib_dir: Dir = .default,
h_dir: Dir = .default,
implib_dir: Dir = .default,
/// Whether to install symlinks along with dynamic libraries.dylib_symlinks: ?bool = null,
/// If non-null, adds additional path components relative to bin dir, and/// overrides the basename of the Compile step for installation purposes.dest_sub_path: ?[]constu8 = null,
pubconstDir = union(enum) {
disabled,
default,
override: InstallDir,
};
}