aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorValentin Gagarin <valentin.gagarin@tweag.io>2023-04-26 15:07:26 +0200
committerValentin Gagarin <valentin.gagarin@tweag.io>2023-04-26 15:39:35 +0200
commit219aaf5a0b78e09891557f15c16d3376d401c471 (patch)
treedf919538b0e67522279212fcdf7a8246dda73e3e /doc
parentbb8e3b5d86635b318de7e2d24503eba4990d042e (diff)
increase heading level
otherwise the headings won't match at the point where they are included. this is a bit hacky and brittle, but works for now.
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/src/command-ref/files/channels.md2
-rw-r--r--doc/manual/src/command-ref/files/default-nix-expression.md2
-rw-r--r--doc/manual/src/command-ref/files/user-profile-link.md2
-rw-r--r--doc/manual/src/command-ref/files/user-profiles.md6
4 files changed, 6 insertions, 6 deletions
diff --git a/doc/manual/src/command-ref/files/channels.md b/doc/manual/src/command-ref/files/channels.md
index 88db66165..c680c747a 100644
--- a/doc/manual/src/command-ref/files/channels.md
+++ b/doc/manual/src/command-ref/files/channels.md
@@ -1,4 +1,4 @@
-# Channels
+## Channels
A directory containing symlinks to Nix channels, managed by [`nix-channel`]:
diff --git a/doc/manual/src/command-ref/files/default-nix-expression.md b/doc/manual/src/command-ref/files/default-nix-expression.md
index daf21e56f..1ce40f019 100644
--- a/doc/manual/src/command-ref/files/default-nix-expression.md
+++ b/doc/manual/src/command-ref/files/default-nix-expression.md
@@ -1,4 +1,4 @@
-# Default Nix expression
+## Default Nix expression
The source for the default [Nix expressions](@docroot@/language/index.md) used by [`nix-env`]:
diff --git a/doc/manual/src/command-ref/files/user-profile-link.md b/doc/manual/src/command-ref/files/user-profile-link.md
index 439446b40..1a7d15e44 100644
--- a/doc/manual/src/command-ref/files/user-profile-link.md
+++ b/doc/manual/src/command-ref/files/user-profile-link.md
@@ -1,4 +1,4 @@
-# User profile link
+## User profile link
A symbolic link to the user's current profile.
diff --git a/doc/manual/src/command-ref/files/user-profiles.md b/doc/manual/src/command-ref/files/user-profiles.md
index 6075bf125..4296d473c 100644
--- a/doc/manual/src/command-ref/files/user-profiles.md
+++ b/doc/manual/src/command-ref/files/user-profiles.md
@@ -1,4 +1,4 @@
-# User profiles
+## User profiles
A directory that contains links to user profiles managed by [`nix-env`] and [`nix profile`]:
@@ -7,7 +7,7 @@ A directory that contains links to user profiles managed by [`nix-env`] and [`ni
A profile is a directory of symlinks to files in the Nix store.
-## Profile compatibility
+### Profile compatibility
> **Warning**
>
@@ -32,7 +32,7 @@ To migrate back to `nix-env` you can delete your current profile:
$ rm -rf "${XDG_STATE_HOME-$HOME/.local/state}/nix/profiles/profile"
```
-## Filesystem layout
+### Filesystem layout
Profiles are versioned as follows. When using a profile named *path*, *path* is a symlink to *path*`-`*N*`-link`, where *N* is the version of the profile.
In turn, *path*`-`*N*`-link` is a symlink to a path in the Nix store.