nixpkgs/pkgs/tools/nix
pennae 1229e735ac nixos-render-docs: add structural includes, use for manual
this adds support for structural includes to nixos-render-docs.
structural includes provide a way to denote the (sub)structure of the
nixos manual in the markdown source files, very similar to how we used
literal docbook blocks before, and are processed by nixos-render-docs
without involvement of xml tooling. this will ultimately allow us to
emit the nixos manual in other formats as well, e.g. html, without going
through docbook at all.

alternatives to this source layout were also considered:

a parallel structure using e.g. toml files that describe the document
tree and links to each part is possible, but much more complicated to
implement than the solution chosen here and makes it harder to follow
which files have what substructure. it also makes it much harder to
include a substructure in the middle of a file.

much the same goes for command-line arguments to the converter, only
that command-lined arguments are even harder to specify correctly and
cannot be reasonably pulled together from many places without involving
another layer of tooling. cli arguments would also mean that the manual
structure would be fixed in default.nix, which is also not ideal.
2023-02-12 13:02:42 +01:00
..
alejandra alejandra: 2.0.0 -> 3.0.0 2022-08-16 14:31:58 +01:00
cached-nix-shell
dnadd
info Merge pull request #210864 from peng1999/nix-info-patch 2023-01-31 18:10:55 +08: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 structural includes, use for manual 2023-02-12 13:02:42 +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