aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorManlio Perillo <manlio.perillo@gmail.com>2023-02-25 11:14:43 +0100
committerManlio Perillo <manlio.perillo@gmail.com>2023-03-27 12:10:49 +0200
commit7ca052a6fb017882de1ebcf86226f3b2927a11c7 (patch)
treeef6c234d65b8b078b3e09eaa234d0fe1c4c84b7f /lib/std
parent1dd26042cc11e15eb7406e750c9454a2e2289a0f (diff)
downloadzig-7ca052a6fb017882de1ebcf86226f3b2927a11c7.tar.gz
zig-7ca052a6fb017882de1ebcf86226f3b2927a11c7.zip
docgen: improve the termColor function
Make the termColor function more robust, ensuring that the generated HTML classes are more consistent and that they are supported in the CSS. Add documentation about the ANSI codes generated by Zig, and remove the previous comment with the supported colors. Improve test coverage for the termColor function, and move the tests at the end of the file before the printShell tests. Rename the "term color" test to "term supported colors" and add an additional "term output from zig" test, using test data generated from the Zig compiler. Update the langref.html.in CSS to use the new names and remove incorrect or obsolete colors like .t0_1, .t37 and .t37_1. Fix support for the 1m color. Change font-weight to normal for the kbd element, to avoid both the command (like `zig build-exe`) and the first line of the error message having a bold font. Rename the "shell parsed" test to "printShell".
Diffstat (limited to 'lib/std')
0 files changed, 0 insertions, 0 deletions