aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorManlio Perillo <manlio.perillo@gmail.com>2023-01-18 18:35:25 +0100
committerVeikka Tuominen <git@vexu.eu>2023-01-23 15:14:24 +0200
commitce6de2df826347feadb66d087c43c77b2891dc0b (patch)
tree35d6e155d09c3a5f3947ef7b71e98819cfe78124 /src/Compilation.zig
parent220020599cc11764eb9ed32025dd506f2affedda (diff)
downloadzig-ce6de2df826347feadb66d087c43c77b2891dc0b.tar.gz
zig-ce6de2df826347feadb66d087c43c77b2891dc0b.zip
docgen: make the name required in the Code node
Update the genToc funtion to make the name required in the Code node, and add an additional optional field for the expected error, to use with test_err, test_safety and obj_err. Update langref.html.in to ensure all code blocks have a name that - is unique, so that a doctest can be identified by it - is descriptive For test, test_err and test_safefy, ensure that the doctest name starts with "test_", excluding doctests in the "Zig Test" section and doctests that are imported by other doctests. Ensure that the indentation of code_begin and code_end blocks are consistent. Fix a typo in pointer_arthemtic.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions