lol

nixos docs: Give sections IDs

+19 -18
+6 -5
nixos/doc/manual/configuration/linux-kernel.xml
··· 66 66 sets the kernel’s TCP keepalive time to 120 seconds. To see the available 67 67 parameters, run <command>sysctl -a</command>. 68 68 </para> 69 - <section> 69 + <section xml:id="sec-linux-config-customizing"> 70 70 <title>Customize your kernel</title> 71 71 72 72 <para> 73 73 The first step before compiling the kernel is to generate an appropriate 74 - <literal>.config</literal> configuration. Either you pass your own config via 75 - the <literal>configfile</literal> setting of <literal>linuxManualConfig</literal>: 76 - <screen><![CDATA[ 74 + <literal>.config</literal> configuration. Either you pass your own config 75 + via the <literal>configfile</literal> setting of 76 + <literal>linuxManualConfig</literal>: 77 + <screen><![CDATA[ 77 78 custom-kernel = super.linuxManualConfig { 78 79 inherit (super) stdenv hostPlatform; 79 80 inherit (linux_4_9) src; ··· 117 118 ]]></screen> 118 119 </para> 119 120 </section> 120 - <section> 121 + <section xml:id="sec-linux-config-developing-modules"> 121 122 <title>Developing kernel modules</title> 122 123 123 124 <para>
+2 -2
nixos/doc/manual/development/assertions.xml
··· 20 20 NixOS module system. 21 21 </para> 22 22 23 - <section> 23 + <section xml:id="sec-assertions-warnings"> 24 24 <title>Warnings</title> 25 25 26 26 <para> ··· 44 44 </programlisting> 45 45 </section> 46 46 47 - <section> 47 + <section xml:id="sec-assertions-assertions"> 48 48 <title>Assertions</title> 49 49 50 50 <para>
+6 -6
nixos/doc/manual/development/option-types.xml
··· 11 11 value definitions. 12 12 </para> 13 13 14 - <section> 14 + <section xml:id="sec-option-types-basic"> 15 15 <title>Basic Types</title> 16 16 17 17 <para> ··· 196 196 </variablelist> 197 197 </section> 198 198 199 - <section> 199 + <section xml:id="sec-option-types-value"> 200 200 <title>Value Types</title> 201 201 202 202 <para> ··· 257 257 </variablelist> 258 258 </section> 259 259 260 - <section> 260 + <section xml:id="sec-option-types-composed"> 261 261 <title>Composed Types</title> 262 262 263 263 <para> ··· 483 483 </example> 484 484 </section> 485 485 486 - <section> 486 + <section xml:id="sec-option-types-extending"> 487 487 <title>Extending types</title> 488 488 489 489 <para> ··· 543 543 </variablelist> 544 544 </section> 545 545 546 - <section> 546 + <section xml:id="sec-option-types-custom"> 547 547 <title>Custom Types</title> 548 548 549 549 <para> 550 550 Custom types can be created with the <literal>mkOptionType</literal> 551 551 function. As type creation includes some more complex topics such as 552 552 submodule handling, it is recommended to get familiar with 553 - <filename 553 + <filename 554 554 xlink:href="https://github.com/NixOS/nixpkgs/blob/master/lib/types.nix">types.nix</filename> 555 555 code before creating a new type. 556 556 </para>
+4 -4
nixos/doc/manual/development/writing-documentation.xml
··· 10 10 sources and presenting it in an accessible style would be a worthy 11 11 contribution to the project. 12 12 </para> 13 - <section> 13 + <section xml:id="sec-writing-docs-building-the-manual"> 14 14 <title>Building the Manual</title> 15 15 16 16 <para> ··· 42 42 <filename>./result/share/doc/nixos/index.html</filename>. 43 43 </para> 44 44 </section> 45 - <section> 45 + <section xml:id="sec-writing-docs-editing-docbook-xml"> 46 46 <title>Editing DocBook XML</title> 47 47 48 48 <para> ··· 76 76 Issue</link> and someone will handle the conversion to XML for you. 77 77 </para> 78 78 </section> 79 - <section> 79 + <section xml:id="sec-writing-docs-creating-a-topic"> 80 80 <title>Creating a Topic</title> 81 81 82 82 <para> ··· 128 128 </itemizedlist> 129 129 </para> 130 130 </section> 131 - <section> 131 + <section xml:id="sec-writing-docs-adding-a-topic"> 132 132 <title>Adding a Topic to the Book</title> 133 133 134 134 <para>
+1 -1
nixos/doc/manual/installation/upgrading.xml
··· 109 109 so in that case you will not be able to go back to your original channel. 110 110 </para> 111 111 </warning> 112 - <section> 112 + <section xml:id="sec-upgrading-automatic"> 113 113 <title>Automatic Upgrades</title> 114 114 115 115 <para>