Commit graph

452687 commits

Author SHA1 Message Date
pennae
10a4f0daca nixos-render-docs: add options manpage converter
mdoc is just too slow to render on groff, and semantic markup doesn't
help us any for generated pages.

this produces a lot of changes to configuration.nix.5, but only few
rendering changes. most of those seem to be place losing a space where
docbook emitted roff code that did not faithfully represent the input
text, though a few places also gained space where docbook dropped them.
notably we also don't need the compatibility code docbook-xsl emitted
because that problem was fixed over a decade ago.

this will handle block quotes, which the docbook stylesheets turned into
a mess of roff requests that ended up showing up in the output instead
of being processed.
2023-02-08 15:23:34 +01:00
pennae
56f1d99b16 nixos-render-docs: factor out sorting of options list 2023-02-08 15:23:34 +01:00
pennae
b2a5b4d789 nixos-render-docs: move list-is-compact attr to meta
Token.attr is a dict[str, str | int | float], meta has no restriction on
the value type. attrs is ostensibly meant for html attributes, meta for
any information whatsoever.
2023-02-08 15:23:34 +01:00
pennae
09411102f6 nixos-render-docs: add option block separators
this will be necessary for manpages, which separate option declarations
not with external tags but by interspersing mandoc spacing instructions.
2023-02-08 15:23:34 +01:00
pennae
32136b1b01 nixos-render-docs: don't render empty descriptions at all 2023-02-08 15:23:34 +01:00
pennae
11daebd2d9 nixos-render-docs: add block and inline joiners
these work together with render and renderInline to produce an output
from either of the two. rendering manpages will need both: to join
blocks with newlines, and to run some postprocessing and the rendered inlines.
2023-02-08 15:23:34 +01:00
pennae
5a5255983b nixos-render-docs: calculate list end indices
that'll be useful to calculate the width of list item heads, which we'll
ned to render manpages.
2023-02-08 15:23:34 +01:00
pennae
8fe19590c3 nixos/make-options-doc: fix related packages link label
the pkgs path literal surely shouldn't include the title, right?
2023-02-08 15:23:34 +01:00
pennae
bf4c0c1900 nixos/*: remove trailing period in mkEnableOptions
those are added by mkEnableOption, and .. is replaced to … by markdown
processing.
2023-02-08 15:23:34 +01:00
pennae
2f9d71afdb nixos/x11: fix some docs links
the docbook stylesheets duplicated the target of these untitled links
into their label, but we should do that in markdown instead.
2023-02-08 15:23:34 +01:00
pennae
edccae739a nixos-render-docs: add a test for running mypy
pulling mypy into the build closure is unfortunately not reasonable, the
closure for mypy is rather large and takes a long time to build. if we
have the type checks hooked into CI we'll get most of the benefit though.
2023-02-08 15:23:34 +01:00
Sandro
62b965c135
Merge pull request #215274 from superherointj/fix-cryptodev
cryptodev: unpin kernel
2023-02-08 15:23:02 +01:00
Weijia Wang
8e2666a5a8
Merge pull request #215305 from r-ryantm/auto-update/python310Packages.requests-aws4auth
python310Packages.requests-aws4auth: 1.2.1 -> 1.2.2
2023-02-08 15:22:50 +01:00
Weijia Wang
6b5a3cda27
Merge pull request #215300 from elohmeier/watchfiles-darwin
python3Packages.watchfiles: fix build on Darwin
2023-02-08 15:14:14 +01:00
K900
6bf8f2bf1f
Merge pull request #215307 from K900/kio-admin
kio-admin: add meta
2023-02-08 17:13:39 +03:00
Weijia Wang
2d31960dab
Merge pull request #215302 from r-ryantm/auto-update/exploitdb
exploitdb: 2022-11-22 -> 2023-02-03
2023-02-08 15:04:26 +01:00
markuskowa
9313ae3ba5
Merge pull request #214924 from sheepforce/meep
meep: init at 1.25.0
2023-02-08 14:40:34 +01:00
K900
85dac16ffb kio-admin: add meta 2023-02-08 16:37:47 +03:00
K900
666ae72408
Merge pull request #215276 from K900/kio-admin
kio-admin: init at 1.0.0
2023-02-08 16:34:53 +03:00
R. Ryantm
655b5be0ce python310Packages.requests-aws4auth: 1.2.1 -> 1.2.2 2023-02-08 13:16:07 +00:00
Enno Richter
4d89637b5d python3Packages.watchfiles: fix build on Darwin 2023-02-08 13:51:00 +01:00
R. Ryantm
b4b4d8db8d exploitdb: 2022-11-22 -> 2023-02-03 2023-02-08 12:49:53 +00:00
Weijia Wang
b0a25c439d
Merge pull request #215277 from fabaff/aiohomekit-bump
python310Packages.aiohomekit: 2.4.6 -> 2.5.0
2023-02-08 13:47:14 +01:00
Weijia Wang
a7433e205f
Merge pull request #215278 from fabaff/peaqevcore-bump
python310Packages.peaqevcore: 11.1.2 -> 11.2.0
2023-02-08 13:45:52 +01:00
Weijia Wang
df1dabe98e
Merge pull request #215294 from r-ryantm/auto-update/hyperrogue
hyperrogue: 12.1h -> 12.1i
2023-02-08 13:43:24 +01:00
Mario Rodas
a7eb28e8b6
Merge pull request #165815 from r-ryantm/auto-update/actor-framework
caf: 0.18.5 -> 0.18.6
2023-02-08 07:40:57 -05:00
Weijia Wang
54403c2980
Merge pull request #215287 from marsam/update-scheme-manpages
scheme-manpages: 2022-07-04 -> 2023-02-06
2023-02-08 13:40:28 +01:00
Weijia Wang
37daaa1b73
Merge pull request #215293 from r-ryantm/auto-update/fend
fend: 1.1.4 -> 1.1.5
2023-02-08 13:38:41 +01:00
Weijia Wang
47dcc43d98
Merge pull request #215296 from marsam/update-libpg_query
libpg_query: 15-4.1.0 -> 15-4.2.0
2023-02-08 13:34:52 +01:00
Weijia Wang
87b9c4bde5
Merge pull request #215285 from marsam/update-bazel-buildtools
bazel-buildtools: 5.1.0 -> 6.0.1
2023-02-08 13:28:52 +01:00
Weijia Wang
85b9cd6b52
Merge pull request #215290 from r-ryantm/auto-update/quickemu
quickemu: 4.5 -> 4.6
2023-02-08 13:27:06 +01:00
Weijia Wang
3971475aad
Merge pull request #215280 from fabaff/angr-bump
python310Packages.angr: 9.2.36 -> 9.2.37
2023-02-08 13:19:22 +01:00
markuskowa
53cb0c9a0f
Merge pull request #214512 from r-ryantm/auto-update/hackrf
hackrf: 2022.09.1 -> 2023.01.1
2023-02-08 13:01:22 +01:00
R. Ryantm
3c178e21d7 hyperrogue: 12.1h -> 12.1i 2023-02-08 11:51:18 +00:00
R. Ryantm
4db65d131e fend: 1.1.4 -> 1.1.5 2023-02-08 11:47:14 +00:00
R. Ryantm
ee0eef3c84 quickemu: 4.5 -> 4.6 2023-02-08 11:37:52 +00:00
Vladimír Čunát
4b718d8bfc
Merge #215202: thunderbird: 102.7.1 -> 102.7.2 2023-02-08 12:09:19 +01:00
Sandro
7a033d6395
Merge pull request #213522 from wineee/deepin-go-package
deepin(go-packages): init at 20.8
2023-02-08 11:37:53 +01:00
Nick Cao
8ffd453164
Merge pull request #215271 from austinbutler/yubikey-manager-501
yubikey-manager: 5.0.0 -> 5.0.1
2023-02-08 18:35:35 +08:00
Phillip Seeber
bd09beae9e meep: init at 1.25.0
meep: more comments
2023-02-08 11:28:32 +01:00
Phillip Seeber
4c45a5f874 libGDSII: init at 0.21 2023-02-08 11:28:32 +01:00
Phillip Seeber
09d1372cb9 harminv: init at 1.4.2 2023-02-08 11:28:32 +01:00
Sandro
00bdf78a02
Merge pull request #215267 from onny/nextcloud-client
nextcloud-client: 3.6.6 -> 3.7.1
2023-02-08 11:18:56 +01:00
Sandro
a7b862f4f9
Merge pull request #215243 from winterqt/luksroot-pbkdf2-sha512-fix
nixos/luksroot: build pbkdf2-sha512 binary in its own derivation
2023-02-08 11:04:11 +01:00
Fabian Affolter
9819ff9067 python310Packages.peaqevcore: 11.1.2 -> 11.2.0 2023-02-08 10:56:53 +01:00
Fabian Affolter
b1e672e639 python310Packages.aiohomekit: 2.4.6 -> 2.5.0
Diff: https://github.com/Jc2k/aiohomekit/compare/refs/tags/2.4.6...2.5.0

Changelog: https://github.com/Jc2k/aiohomekit/releases/tag/2.5.0
2023-02-08 10:54:55 +01:00
Fabian Affolter
498a1c28a0 python310Packages.angr: 9.2.36 -> 9.2.37 2023-02-08 10:53:05 +01:00
Fabian Affolter
af2d3b2e91 python310Packages.cle: 9.2.36 -> 9.2.37 2023-02-08 10:52:59 +01:00
Fabian Affolter
5c4a77c439 python310Packages.claripy: 9.2.36 -> 9.2.37 2023-02-08 10:52:54 +01:00
Fabian Affolter
748a4c726a python310Packages.pyvex: 9.2.36 -> 9.2.37 2023-02-08 10:52:47 +01:00