aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/c/type.zig
diff options
context:
space:
mode:
authorLoris Cro <kappaloris@gmail.com>2023-09-20 19:17:00 +0200
committerLoris Cro <kappaloris@gmail.com>2023-09-20 19:17:00 +0200
commitc481510c99ab29903350a834810bdcac32dbd9ea (patch)
tree93d30e203b38f33ea297f9ad46170226c2a40ebb /src/codegen/c/type.zig
parenta63a1c5cb9fd31a57e8371e6cba5f316bd3f2a65 (diff)
downloadzig-c481510c99ab29903350a834810bdcac32dbd9ea.tar.gz
zig-c481510c99ab29903350a834810bdcac32dbd9ea.zip
autodoc: show more doc comments for namespaces and types
previously, in the container view (the type of view that you see when you look at `std` for example), when listing types and namespaces, we would only show doc comments places on the direct child decl, which in the case of the `std` namespace, for example, it's just a bunch of re-exports. now, if we don't find a direct doc comment, we chase indirection and display doc comments placed directly on the definition, if any. this is the precise priority order: ``` /// 1 pub const Foo = _Foo; /// 2 const _Foo = struct { //! 3 }; ``` The numbers show the priority order for autodoc.
Diffstat (limited to 'src/codegen/c/type.zig')
0 files changed, 0 insertions, 0 deletions