From 219aaf5a0b78e09891557f15c16d3376d401c471 Mon Sep 17 00:00:00 2001 From: Valentin Gagarin Date: Wed, 26 Apr 2023 15:07:26 +0200 Subject: 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. --- doc/manual/src/command-ref/files/channels.md | 2 +- doc/manual/src/command-ref/files/default-nix-expression.md | 2 +- doc/manual/src/command-ref/files/user-profile-link.md | 2 +- doc/manual/src/command-ref/files/user-profiles.md | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'doc') 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. -- cgit v1.2.3