busybox/applets
Noelle Leigh 26fdc7c6ef docs: Add links to cmd description from cmd list
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>
2025-08-03 10:53:20 +02:00
..
.gitignore .gitignore: add missing ignores 2011-03-06 19:54:15 +01:00
applet_tables.c fix "warning array subscript has type 'char'" 2021-04-14 19:12:43 +02:00
applets.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
busybox.mkll fix "make install" 2011-02-20 05:50:04 +01:00
busybox.mkscripts Treat custom and applet scripts as applets 2018-11-17 21:16:33 +01:00
busybox.mksuid buildsys: Add helper to list suid applets 2013-07-26 13:39:46 +02:00
individual.c libbb: code shrink: introduce and use [_]exit_FAILURE() 2023-06-15 11:55:56 +02:00
install.sh install.sh: don't clobber dangling symlinks 2018-07-31 15:49:19 +02:00
Kbuild.src build system: different fix for include/applet_tables.h/include/NUM_APPLETS.h 2016-08-21 22:00:20 +02:00
usage.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
usage_compressed Automatically disable FEATURE_COMPRESS_USAGE for small builds. 2017-01-06 19:16:36 +01:00
usage_pod.c docs: Add links to cmd description from cmd list 2025-08-03 10:53:20 +02:00