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.
fnwalkMembers(w: *Walk, members: []constAst.Node.Index) Error!void {
// First we scan for globals so that we can delete them while walking.tryscanDecls(w, members, .add);
for (members) |member| {
trywalkMember(w, member);
}
tryscanDecls(w, members, .remove);
}