zig/doc
Manlio Perillo 3542dbf0ea langref: add section numbers
When reading a document with nested sections, it is not easy to discover
the depth of the current section.

Add support for nested section numbers, from the h2 to the h4 heading,
in the format "lv1. ", "lv1.lv2. ", "lv1.lv2.lv3. ".  The "Zig Version"
and "Table of Content" sections are excluded.

The section numbers are implemented in CSS, with the CSS rules declared
inside a @media rule.  Currently the @media rule targets all media.
2022-12-19 21:51:23 +02:00
..
docgen.zig Remove unneeded else unreachable in docgen.zig 2022-12-10 05:50:56 -05:00
langref.html.in langref: add section numbers 2022-12-19 21:51:23 +02:00