Akctuyally, reading the code instead of a documentation is one of the nice part of Zig.
It is such a readable language that I found it easier learning the API than most languages.
Zig has this on its side. Reading the unit tests directly from the code give, most of the time, a good example too.