0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib
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.
History 2023-09-20 19:17:00 +02:00
..
compiler_rt compiler_rt: fix arm hard-float f16 abi 2023-09-19 09:37:53 -07:00
docs autodoc: show more doc comments for namespaces and types 2023-09-20 19:17:00 +02:00
include update C language headers to LLVM 17 2023-09-19 09:37:31 -07:00
init-exe std.Build: use Step.* instead of *Step 2023-05-03 20:55:29 -07:00
init-lib init-exe/init-lib template: fix use of install() and run() 2023-04-10 18:35:14 -07:00
libc macos: add <paths.h> header to Zig shipped libc 2023-08-19 14:23:00 +02:00
libcxx update libcxx to latest LLVM release/17.x 2023-09-19 09:37:53 -07:00
libcxxabi libcxxabi: update to LLVM 17 2023-09-19 09:37:31 -07:00
libunwind libunwind: update to LLVM 17 2023-09-19 09:37:31 -07:00
std nvptx: omit sm_90a from the CPU target features for now 2023-09-19 09:37:53 -07:00
tsan update libcxx, libcxxabi, libunwind, and tsan to llvm 13 rc1 2021-08-16 23:32:13 -07:00
build_runner.zig package manager: write deps in a flat format, eliminating the FQN concept 2023-09-15 14:04:23 -07:00
c.zig std: finish cleanup up asm 2023-07-31 03:49:21 -04:00
compiler_rt.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
ssp.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
test_runner.zig Build: fail tests that log errors, like zig test does 2023-08-25 15:36:25 -07:00
zig.h cbe: get behavior tests running on arm 2023-07-31 01:58:10 -04:00