generated docs: refactor how type kinds work
generated docs: refactor how type kinds work

raulgrell/zig,zig-lang/zig,raulgrell/zig,zig-lang/zig,raulgrell/zig,andrewrk/zig,raulgrell/zig,raulgrell/zig,andrewrk/zig,zig-lang/zig