aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Gagarin <valentin.gagarin@tweag.io>2022-06-08 11:50:24 +0200
committerValentin Gagarin <valentin.gagarin@tweag.io>2022-08-04 12:37:47 +0200
commitdef80d5777dcd5d4b8a10e54be24d745b5d7562b (patch)
tree114c675d84dba1e0f8e352a946ff92f956450560
parentc345345deeb188830e62e9b2e957cf1d09d1c6b5 (diff)
add subsections to table of contents
-rw-r--r--doc/manual/src/SUMMARY.md.in8
-rw-r--r--doc/manual/src/architecture/store/store.md6
2 files changed, 10 insertions, 4 deletions
diff --git a/doc/manual/src/SUMMARY.md.in b/doc/manual/src/SUMMARY.md.in
index 997d75444..5581bad3a 100644
--- a/doc/manual/src/SUMMARY.md.in
+++ b/doc/manual/src/SUMMARY.md.in
@@ -17,7 +17,13 @@
- [Upgrading Nix](installation/upgrading.md)
- [Architecture](architecture/architecture.md)
- [Store](architecture/store/store.md)
- - [Store Path](architecture/store/path.md)
+ - [Store Object](architecture/store/store.md#store-object)
+ - [Reference](architecture/store/store.md#reference)
+ - [Operations](architecture/store/store.md#operations)
+ - [Closure](architecture/store/store.md#closure)
+ - [Files and Processes](architecture/store/store.md#files-and-processes)
+ - [Build system terminology](architecture/store/store.md#build-system-terminology)
+ - [Store Path](architecture/store/path.md)
- [Digest](architecture/store/path.md#digest)
- [Input Addressing](architecture/store/path.md#input-addressing)
- [Content Addressing](architecture/store/path.md#content-addressing)
diff --git a/doc/manual/src/architecture/store/store.md b/doc/manual/src/architecture/store/store.md
index cba875092..e1d983d99 100644
--- a/doc/manual/src/architecture/store/store.md
+++ b/doc/manual/src/architecture/store/store.md
@@ -36,13 +36,13 @@ Nix makes no distinction if store objects are build inputs, build results, or bu
Store objects are [immutable][immutable-object]: once created, they do not change until they are deleted.
-## Reference
+## Reference {#reference}
A store object reference is an [opaque][opaque-data-type], [unique identifier][unique-identifier]:
The only way to obtain references is by adding or building store objects.
A reference will always point to exactly one store object.
-## Operations
+## Operations {#operations}
A Nix store can *add*, *retrieve*, and *delete* store objects.
@@ -178,7 +178,7 @@ Examples:
To make store objects accessible to processes, stores ultimately have to expose store objects through the file system.
-## A [Rosetta stone][rosetta-stone] for build system terminology
+## A [Rosetta stone][rosetta-stone] for build system terminology {#build-system-terminology}
The Nix store's design is comparable to other build systems.
Usage of terms is, for historic reasons, not entirely consistent within the Nix ecosystem, and still subject to slow change.