<title>feat(nix/buildManPages): infra for generating man page dirs from nix</title>
<updated>2021-03-31T23:06:10+00:00</updated>
<author>
<name>sterni</name>
<email>sternenseemann@systemli.org</email>
...</author>
<published>2021-03-24T19:02:03+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=811fff2d8b43cab0d15f32016c3d0572ffa9db77"/>
<id>urn:sha1:811fff2d8b43cab0d15f32016c3d0572ffa9db77</id>
<content type="text">
Very simple builder which builds (optionally) gzipped man pages from a
list of attrsets and links them into a common man directory with the
correct layout, so it should be installable immediately.
Additionally runs mandoc -T lint, but by default only for informational
purposes as it is very strict and some things are almost never true (for
example all Xrs being present in the respective directory).
buildManPages.single exposes the internal builder for a single,
optionally gzipped man page from a nix attrset.
Change-Id: I43fce011716f4a7cc80521f222800ca99ba54060
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2654
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
</content>