nixpkgs/pkgs/tools/nix
pennae 7a74ce51a1 nixos-render-docs: add toc generator
the docbook toolchain uses docbook-xsl to generate its TOC, our html
renderer will have to do this on its own. this generator uses a very
straight-forward algorithm of only inspecting headings, but anything
else could be inspected as well. (examples come to mind, but those do
not have titles and would thus make for bad toc entries)

we also use path information (that will be taken from include block args
in the html renderer) to produce navigation information. the algorithm
we use mirrors what docbook does, linking to the next/previous files in
depth-first toc order.

toc entries are linked to the tokens they refer to for easy use later.
2023-02-21 18:26:41 +01:00
..
alejandra alejandra: 2.0.0 -> 3.0.0 2022-08-16 14:31:58 +01:00
cached-nix-shell
dnadd
info treewide: use lib.optionals 2023-02-14 19:11:59 +01:00
manix
nar-serve nar-serve: 0.4.0 -> 0.6.1 2022-06-24 10:50:56 +02:00
nix-init nix-init: 0.1.0 -> 0.1.1 2023-02-06 15:51:57 -05:00
nix-output-monitor nix-output-monitor: 2.0.0.4 -> 2.0.0.5 2022-11-28 00:33:37 +01:00
nix-query-tree-viewer
nix-script
nix-store-gcs-proxy nix-store-gcs-proxy: use buildGoModule 2022-10-17 03:30:31 +00:00
nixdoc lib: correctly render docs for nested identifiers 2022-12-23 21:10:16 +01:00
nixel nixel: init at 4.1.0 2022-06-23 15:54:39 -06:00
nixos-generators nixos-generators: 1.6.0 -> 1.7.0 2022-08-11 14:20:44 +02:00
nixos-install-tools
nixos-option
nixos-render-docs nixos-render-docs: add toc generator 2023-02-21 18:26:41 +01:00
nixpkgs-fmt nixpkgs-fmt: 1.2.0 -> 1.3.0 2022-06-18 06:14:46 +02:00
nixpkgs-hammering nixpkgs-hammering: init at unstable-2022-11-15 2023-01-21 11:26:21 -05:00
npins npins: 0.1.0 → 0.2.0 2022-10-27 23:26:11 +02:00
rnix-hashes
statix statix: 0.5.4 -> 0.5.6 2022-06-19 21:32:01 +10:00