| Age | Commit message (Collapse) | Author |
|
Co-authored-by: massi <git@massi.world>
|
|
Also includes panics by virtue of the previous commit, checking one item off #19249.
|
|
Using the browser's `console.error`, etc. functions instead of `console.log` produces prettier output in the console. Additionally, `console.error` in particular includes a stack trace, which is useful for debugging where the error occurred.
Additionally, this commit leverages the enhanced logging to delete the separate `panic` function from the JS code and write it in Zig instead.
|
|
The old heuristic of checking only for the number of fields has the
downside of classifying all opaque types, such as `std.c.FILE`, as
"namespaces" rather than "types".
|
|
|
|
upstream commit 1f921d540e1a8bb40839be30239019c820eb663d
after this branch is merged, ziglang/zig becomes the new repository for
this code.
|
|
|
|
* autodoc: Some support for field_call
* autodoc: Change handling of field_call to respect tryResolveRefPath, add fieldVal to Expr
* autodoc: Fixed errors
* autodoc: sync with latest master changes
---------
Co-authored-by: Loris Cro <kappaloris@gmail.com>
|
|
|
|
show it for functions (#17322)
|
|
(#17367)
Fix issue with getting docs for src-less types in main.js
|
|
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.
|
|
this will make s3 re-enable compression for the stdlib's autodoc
and improve loading times (and data usage) for users
alongside this commit the deploy script for the official website is also
being updated
|
|
Co-authored-by: Loris Cro <kappaloris@gmail.com>
|
|
Implement unary ops handling.
Fix getType in main.js
Minor cleanup of builtin function handling.
|
|
|
|
|
|
This prevents the placeholder text from spilling out of the search bar
on smaller screens.
|
|
Closes #17013
|
|
|
|
closes #17014
supersedes #17022
follow up issue #17061
|
|
* autodoc: Implement `@call`, `@unionInit`, `@mulAdd` support
* autodoc: Implement builtinIndex in ex
|
|
|
|
* autodoc: Implement elem_val_node and basic optional_payload_*
* autodoc: Add `.*` loads
|
|
|
|
fix #15799
|
|
* autodoc: init guide TOC work
* autodoc: working guides toc navigation
* autodoc: more improvements
* autodoc: ui refinements
* autodoc: new layout and init descriptions for namespaces in std.zig
|
|
|
|
|
|
|
|
|
|
|
|
* autodoc: init work to refactor exprName
* autodoc: Implement more expressions in exprName refactor
* autodoc: more work
* autodoc: More exprName to ex refactoring
* autodoc: Remove whitespace flag from renderer; Add pre tags in
value and variable drawing in renderContainer
* autodoc: add inline styling to pre blocks
* autodoc: move renderer code to main.js
* autodoc: More exprName to ex refactoring; Fn signatures rendered with new code
* autodoc: Fix function rendering. Add more things to ex
* autodoc: nuke exprName
---------
Co-authored-by: Krzysztof Wolicki <der.teufel.mail@gmail.com>
|
|
|
|
|
|
|
|
|
|
* fixed autodoc rendering of @trucate builtin
* Changed to LHS for typeRef
* autodoc: fix typeref for `truncate`
---------
Co-authored-by: Loris Cro <kappaloris@gmail.com>
|
|
Closes #16081
|
|
|
|
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Optimize lowering of `s[start..][0..len]`
|
|
autodoc: Add layout to Struct and Union to handle packed and extern
|
|
autodoc: make help modal toggleable and allow entering "?" in search
|