]> git.ipfire.org Git - thirdparty/coreutils.git/commit
doc: html: support defined anchors for command options
authorPádraig Brady <P@draigBrady.com>
Thu, 27 Nov 2025 20:45:44 +0000 (20:45 +0000)
committerPádraig Brady <P@draigBrady.com>
Fri, 5 Dec 2025 16:32:14 +0000 (16:32 +0000)
commitcc3499326fc088b93bb67dddfcba9e71516883b1
treebfc823c8b2d0614f5ae2c57a8fd970da79d1a1f5
parent8787601bbe08ccf38b50e8c7364607229ffa8c64
doc: html: support defined anchors for command options

* doc/coreutils.texi (optAnchor): A new macro to output a
referencable anchor, called from ...
(optItem): ... here; a new macro to output all index entries
for each option item.
(optZero,optZeroTerminated): Show an example of the adjustment
done to each option description.
* doc/local.mk (html-local): Post-process the texinfo generated HTML
(`make html`) to remove our "-option" tag, and replace all
escaped _002d with a standard hyphen, which is fine in URLs.
doc/coreutils.texi
doc/local.mk