lix/doc/manual
John Ericson 91b6833686 Move tests to separate directories, and document
Today, with the tests inside a `tests` intermingled with the
corresponding library's source code, we have a few problems:

- We have to be careful that wildcards don't end up with tests being
  built as part of Nix proper, or test headers being installed as part
  of Nix proper.

- Tests in libraries but not executables is not right:

  - It means each executable runs the previous unit tests again, because
    it needs the libraries.

  - It doesn't work right on Windows, which doesn't want you to load a
    DLL just for the side global variable . It could be made to work
    with the dlopen equivalent, but that's gross!

This reorg solves these problems.

There is a remaining problem which is that sibbling headers (like
`hash.hh` the test header vs `hash.hh` the main `libnixutil` header) end
up shadowing each other. This PR doesn't solve that. That is left as
future work for a future PR.

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-12-01 10:48:58 -05:00
..
rl-next mention renaming of nix doctor 2023-11-30 23:04:05 +01:00
src Move tests to separate directories, and document 2023-12-01 10:48:58 -05:00
theme doc/manual: don't need to copy highlight.js manually 2021-08-04 19:47:05 -07:00
_redirects Avoid <name>/<name> in documentation URLs 2023-11-30 09:37:32 -05:00
anchors.jq doc: Port anchors preprocessor to jq script 2022-05-26 18:17:21 +02:00
book.toml manual: Check links 2023-01-10 22:30:41 +01:00
custom.css disallow selecting shell prompt in code samples 2022-12-05 11:01:46 +01:00
generate-builtin-constants.nix use lookup paths in helper expressions consistently 2023-11-30 21:53:31 +01:00
generate-builtins.nix use lookup paths in helper expressions consistently 2023-11-30 21:53:31 +01:00
generate-manpage.nix Document each store type on its own page 2023-12-01 01:27:52 +01:00
generate-settings.nix reword the experimental feature notice 2023-11-30 23:24:53 +01:00
generate-store-info.nix Document each store type on its own page 2023-12-01 01:27:52 +01:00
generate-store-types.nix Document each store type on its own page 2023-12-01 01:27:52 +01:00
generate-xp-features-shortlist.nix use lookup paths in helper expressions consistently 2023-11-30 21:53:31 +01:00
generate-xp-features.nix Document each store type on its own page 2023-12-01 01:27:52 +01:00
local.mk Document each store type on its own page 2023-12-01 01:27:52 +01:00
quote-literals.xsl Generate release notes again 2014-03-12 14:24:29 +01:00
redirects.js add path based redirects 2023-11-27 08:33:03 +01:00
utils.nix Document each store type on its own page 2023-12-01 01:27:52 +01:00