zig/lib/docs
Loris Cro c481510c99 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.
2023-09-20 19:17:00 +02:00
..
commonmark.js autodoc: new layout (#16715) 2023-08-06 18:12:05 +02:00
index.html autodoc: split json payload per field 2023-09-17 18:23:21 +02:00
main.js autodoc: show more doc comments for namespaces and types 2023-09-20 19:17:00 +02:00
ziglexer.js autodoc: Implement a[b], a.?, and a.* (#16863) 2023-09-03 17:18:16 +02:00