1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 01:51:47 +02:00

docs: Refer to the glossary with @docroot@ instead of ..

These unweildy relative paths probably predate the `@docroot@`
mechanism.
This commit is contained in:
John Ericson 2024-04-12 11:06:47 -04:00
parent 13c2005e7d
commit 95ae12b607
14 changed files with 20 additions and 20 deletions

View file

@ -113,7 +113,7 @@
For example, assume you used a file path in an interpolated string during a `nix repl` session.
Later in the same session, after having changed the file contents, evaluating the interpolated string with the file path again might not return a new [store path], since Nix might not re-read the file contents.
[store path]: ../glossary.md#gloss-store-path
[store path]: @docroot@/glossary.md#gloss-store-path
Paths can include [string interpolation] and can themselves be [interpolated in other expressions].