What are the best param documentation patterns for Zig?

Note that you can add doc comments to parameters directly.

Example from the standard library:

How it looks in autodoc:

https://ziglang.org/documentation/master/std/#std.fs.Dir.symLinkW

11 Likes