Skip to content

Commit ae15d4e

Browse files
committed
Fix links in the manual
1 parent 469123e commit ae15d4e

File tree

30 files changed

+53
-53
lines changed

30 files changed

+53
-53
lines changed

doc/manual/anchors.jq

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
def transform_anchors_html:
6-
. | gsub($empty_anchor_regex; "<a name=\"" + .anchor + "\"></a>")
6+
. | gsub($empty_anchor_regex; "<a id=\"" + .anchor + "\"></a>")
77
| gsub($anchor_regex; "<a href=\"#" + .anchor + "\" id=\"" + .anchor + "\">" + .text + "</a>");
88

99

doc/manual/source/command-ref/nix-channel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The moving parts of channels are:
1414
- The official channels listed at <https://nixos.org/channels>
1515
- The user-specific list of [subscribed channels](#subscribed-channels)
1616
- The [downloaded channel contents](#channels)
17-
- The [Nix expression search path](@docroot@/command-ref/conf-file.md#conf-nix-path), set with the [`-I` option](#opt-i) or the [`NIX_PATH` environment variable](#env-NIX_PATH)
17+
- The [Nix expression search path](@docroot@/command-ref/conf-file.md#conf-nix-path), set with the [`-I` option](#opt-I) or the [`NIX_PATH` environment variable](#env-NIX_PATH)
1818

1919
> **Note**
2020
>

doc/manual/source/command-ref/nix-env/upgrade.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ left untouched; this is not an error. It is also not an error if an
2222
element of *args* matches no installed derivations.
2323

2424
For a description of how *args* is mapped to a set of store paths, see
25-
[`--install`](#operation---install). If *args* describes multiple
25+
[`--install`](./install.md). If *args* describes multiple
2626
store paths with the same symbolic name, only the one with the highest
2727
version is installed.
2828

doc/manual/source/development/building.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ You can also build Nix for one of the [supported platforms](#platforms).
6666
This section assumes you are using Nix with the [`flakes`] and [`nix-command`] experimental features enabled.
6767

6868
[`flakes`]: @docroot@/development/experimental-features.md#xp-feature-flakes
69-
[`nix-command`]: @docroot@/development/experimental-features.md#xp-nix-command
69+
[`nix-command`]: @docroot@/development/experimental-features.md#xp-feature-nix-command
7070

7171
To build all dependencies and start a shell in which all environment variables are set up so that those dependencies can be found:
7272

@@ -256,7 +256,7 @@ You can use any of the other supported environments in place of `nix-cli-ccacheS
256256
## Editor integration
257257

258258
The `clangd` LSP server is installed by default on the `clang`-based `devShell`s.
259-
See [supported compilation environments](#compilation-environments) and instructions how to set up a shell [with flakes](#nix-with-flakes) or in [classic Nix](#classic-nix).
259+
See [supported compilation environments](#compilation-environments) and instructions how to set up a shell [with flakes](#building-nix-with-flakes) or in [classic Nix](#building-nix).
260260

261261
To use the LSP with your editor, you will want a `compile_commands.json` file telling `clangd` how we are compiling the code.
262262
Meson's configure always produces this inside the build directory.

doc/manual/source/development/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ This will:
119119

120120
3. Stop the program when the test fails, allowing the user to then issue arbitrary commands to GDB.
121121

122-
### Characterisation testing { #characaterisation-testing-unit }
122+
### Characterisation testing { #characterisation-testing-unit }
123123

124124
See [functional characterisation testing](#characterisation-testing-functional) for a broader discussion of characterisation testing.
125125

doc/manual/source/glossary.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208

209209
- [impure derivation]{#gloss-impure-derivation}
210210

211-
[An experimental feature](#@docroot@/development/experimental-features.md#xp-feature-impure-derivations) that allows derivations to be explicitly marked as impure,
211+
[An experimental feature](@docroot@/development/experimental-features.md#xp-feature-impure-derivations) that allows derivations to be explicitly marked as impure,
212212
so that they are always rebuilt, and their outputs not reused by subsequent calls to realise them.
213213

214214
- [Nix database]{#gloss-nix-database}
@@ -279,7 +279,7 @@
279279

280280
See [References](@docroot@/store/store-object.md#references) for details.
281281

282-
- [referrer]{#gloss-reference}
282+
- [referrer]{#gloss-referrer}
283283

284284
A reversed edge from one [store object] to another.
285285

@@ -367,8 +367,8 @@
367367

368368
Nix represents files as [file system objects][file system object], and how they belong together is encoded as [references][reference] between [store objects][store object] that contain these file system objects.
369369

370-
The [Nix language] allows denoting packages in terms of [attribute sets](@docroot@/language/types.md#attribute-set) containing:
371-
- attributes that refer to the files of a package, typically in the form of [derivation outputs](#output),
370+
The [Nix language] allows denoting packages in terms of [attribute sets](@docroot@/language/types.md#type-attrs) containing:
371+
- attributes that refer to the files of a package, typically in the form of [derivation outputs](#gloss-output),
372372
- attributes with metadata, such as information about how the package is supposed to be used.
373373

374374
The exact shape of these attribute sets is up to convention.
@@ -383,7 +383,7 @@
383383

384384
[string]: ./language/types.md#type-string
385385
[path]: ./language/types.md#type-path
386-
[attribute name]: ./language/types.md#attribute-set
386+
[attribute name]: ./language/types.md#type-attrs
387387

388388
- [base directory]{#gloss-base-directory}
389389

doc/manual/source/language/advanced-attributes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ Here is more information on the `output*` attributes, and what values they may b
333333
334334
`outputHashAlgo` can only be `null` when `outputHash` follows the SRI format, because in that case the choice of hash algorithm is determined by `outputHash`.
335335
336-
- [`outputHash`]{#adv-attr-outputHashAlgo}; [`outputHash`]{#adv-attr-outputHashMode}
336+
- [`outputHash`]{#adv-attr-outputHash}
337337
338338
This will specify the output hash of the single output of a [fixed-output derivation].
339339

doc/manual/source/language/derivations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ It outputs an attribute set, and produces a [store derivation] as a side effect
1616
- [`name`]{#attr-name} ([String](@docroot@/language/types.md#type-string))
1717

1818
A symbolic name for the derivation.
19-
See [derivation outputs](@docroot@/store/derivation/index.md#outputs) for what this is affects.
19+
See [derivation outputs](@docroot@/store/derivation/outputs/index.md#outputs) for what this is affects.
2020

2121
[store path]: @docroot@/store/store-path.md
2222

doc/manual/source/language/identifiers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ An *identifier* is an [ASCII](https://en.wikipedia.org/wiki/ASCII) character seq
1616
1717
# Names
1818

19-
A *name* can be written as an [identifier](#identifier) or a [string literal](./string-literals.md).
19+
A *name* can be written as an [identifier](#identifiers) or a [string literal](./string-literals.md).
2020

2121
> **Syntax**
2222
>

doc/manual/source/language/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ This is an incomplete overview of language features, by example.
137137
</td>
138138
<td>
139139

140-
[Booleans](@docroot@/language/types.md#type-boolean)
140+
[Booleans](@docroot@/language/types.md#type-bool)
141141

142142
</td>
143143
</tr>
@@ -245,7 +245,7 @@ This is an incomplete overview of language features, by example.
245245
</td>
246246
<td>
247247

248-
An [attribute set](@docroot@/language/types.md#attribute-set) with attributes named `x` and `y`
248+
An [attribute set](@docroot@/language/types.md#type-attrs) with attributes named `x` and `y`
249249

250250
</td>
251251
</tr>
@@ -285,7 +285,7 @@ This is an incomplete overview of language features, by example.
285285
</td>
286286
<td>
287287

288-
[Lists](@docroot@/language/types.md#list) with three elements.
288+
[Lists](@docroot@/language/types.md#type-list) with three elements.
289289

290290
</td>
291291
</tr>
@@ -369,7 +369,7 @@ This is an incomplete overview of language features, by example.
369369
</td>
370370
<td>
371371

372-
[Attribute selection](@docroot@/language/types.md#attribute-set) (evaluates to `1`)
372+
[Attribute selection](@docroot@/language/types.md#type-attrs) (evaluates to `1`)
373373

374374
</td>
375375
</tr>
@@ -381,7 +381,7 @@ This is an incomplete overview of language features, by example.
381381
</td>
382382
<td>
383383

384-
[Attribute selection](@docroot@/language/types.md#attribute-set) with default (evaluates to `3`)
384+
[Attribute selection](@docroot@/language/types.md#type-attrs) with default (evaluates to `3`)
385385

386386
</td>
387387
</tr>

0 commit comments

Comments
 (0)