From 18fd616351a25622b1dc43c59d0c52ace5bfe3ef Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Sat, 1 Sep 2018 15:49:04 -0400 Subject: [PATCH] nixos docs: Give sections IDs --- nixos/doc/manual/configuration/linux-kernel.xml | 11 ++++++----- nixos/doc/manual/development/assertions.xml | 4 ++-- nixos/doc/manual/development/option-types.xml | 12 ++++++------ .../doc/manual/development/writing-documentation.xml | 8 ++++---- nixos/doc/manual/installation/upgrading.xml | 2 +- 5 files changed, 19 insertions(+), 18 deletions(-) diff --git a/nixos/doc/manual/configuration/linux-kernel.xml b/nixos/doc/manual/configuration/linux-kernel.xml index f4d697c42dbd..2f766f2b32f7 100644 --- a/nixos/doc/manual/configuration/linux-kernel.xml +++ b/nixos/doc/manual/configuration/linux-kernel.xml @@ -66,14 +66,15 @@ nixpkgs.config.packageOverrides = pkgs: sets the kernel’s TCP keepalive time to 120 seconds. To see the available parameters, run sysctl -a. -
+
Customize your kernel The first step before compiling the kernel is to generate an appropriate - .config configuration. Either you pass your own config via - the configfile setting of linuxManualConfig: - .config configuration. Either you pass your own config + via the configfile setting of + linuxManualConfig: +make menuconfig
-
+
Developing kernel modules diff --git a/nixos/doc/manual/development/assertions.xml b/nixos/doc/manual/development/assertions.xml index 17c38ffcc717..32f90cf2e7c4 100644 --- a/nixos/doc/manual/development/assertions.xml +++ b/nixos/doc/manual/development/assertions.xml @@ -20,7 +20,7 @@ NixOS module system. -
+
Warnings @@ -44,7 +44,7 @@
-
+
Assertions diff --git a/nixos/doc/manual/development/option-types.xml b/nixos/doc/manual/development/option-types.xml index 47dd09158e91..e6c9eae11a72 100644 --- a/nixos/doc/manual/development/option-types.xml +++ b/nixos/doc/manual/development/option-types.xml @@ -11,7 +11,7 @@ value definitions. -
+
Basic Types @@ -196,7 +196,7 @@
-
+
Value Types @@ -257,7 +257,7 @@
-
+
Composed Types @@ -483,7 +483,7 @@ config.mod.two = { foo = 2; bar = "two"; };
-
+
Extending types @@ -543,14 +543,14 @@ nixThings = mkOption {
-
+
Custom Types Custom types can be created with the mkOptionType function. As type creation includes some more complex topics such as submodule handling, it is recommended to get familiar with - types.nix code before creating a new type. diff --git a/nixos/doc/manual/development/writing-documentation.xml b/nixos/doc/manual/development/writing-documentation.xml index 8ecdd1c770f2..2183937ad0da 100644 --- a/nixos/doc/manual/development/writing-documentation.xml +++ b/nixos/doc/manual/development/writing-documentation.xml @@ -10,7 +10,7 @@ sources and presenting it in an accessible style would be a worthy contribution to the project. -
+
Building the Manual @@ -42,7 +42,7 @@ ./result/share/doc/nixos/index.html.
-
+
Editing DocBook XML @@ -76,7 +76,7 @@ Issue and someone will handle the conversion to XML for you.
-
+
Creating a Topic @@ -128,7 +128,7 @@
-
+
Adding a Topic to the Book diff --git a/nixos/doc/manual/installation/upgrading.xml b/nixos/doc/manual/installation/upgrading.xml index 20355812ec63..85e5082575d3 100644 --- a/nixos/doc/manual/installation/upgrading.xml +++ b/nixos/doc/manual/installation/upgrading.xml @@ -109,7 +109,7 @@ nixos https://nixos.org/channels/nixos-unstable so in that case you will not be able to go back to your original channel. -
+
Automatic Upgrades