mirror of
https://git.busybox.net/busybox
synced 2025-08-28 04:54:48 +02:00
In the generated `docs/busybox.pod` file, add a link for each command in the big command list that goes to that command's description, like a compact table of contents. This seems to only affect the generated HTML version of the usage page. To add `id` attributes to each usage section title, each command now uses `=head2` instead of `=item` for their section heading. To add links to each command in the list, the list was unindented so that it could use rich text, and each command was marked as code text (C<>) so they are styled in monospace. These changes mean that the HTML and mandoc command list will expand to fit the available width of the viewport, rather than wrapping at a fixed line-length. The plain text version retains its existing wrapping behavior. Because of the new code text formatting, `--quotes=none` was added to the pod2man and pod2text invocations in Makefile.custom to prevent the command list from quoting every single command. Signed-off-by: Noelle Leigh <noelle@noelle.dev> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> |
||
---|---|---|
.. | ||
.gitignore | ||
applet_tables.c | ||
applets.c | ||
busybox.mkll | ||
busybox.mkscripts | ||
busybox.mksuid | ||
individual.c | ||
install.sh | ||
Kbuild.src | ||
usage.c | ||
usage_compressed | ||
usage_pod.c |