summary refs log tree commit diff
path: root/doc/coding-conventions.xml
diff options
context:
space:
mode:
authorPascal Wittmann <mail@pascal-wittmann.de>2015-05-31 18:41:34 +0200
committerPascal Wittmann <mail@pascal-wittmann.de>2015-05-31 18:41:34 +0200
commit53b5d946e15b7865d5aefb1bd566bca475727e7c (patch)
tree139f41bde0dd5602589624ab88401cba7bb51221 /doc/coding-conventions.xml
parentd780e48b3104cd5585a87665854803e42a664941 (diff)
downloadnixlib-53b5d946e15b7865d5aefb1bd566bca475727e7c.tar
nixlib-53b5d946e15b7865d5aefb1bd566bca475727e7c.tar.gz
nixlib-53b5d946e15b7865d5aefb1bd566bca475727e7c.tar.bz2
nixlib-53b5d946e15b7865d5aefb1bd566bca475727e7c.tar.lz
nixlib-53b5d946e15b7865d5aefb1bd566bca475727e7c.tar.xz
nixlib-53b5d946e15b7865d5aefb1bd566bca475727e7c.tar.zst
nixlib-53b5d946e15b7865d5aefb1bd566bca475727e7c.zip
doc: add section ids
This commit also use enforces consistent use of the prefixes "sec" for
section and "ssec" for subsection.
Diffstat (limited to 'doc/coding-conventions.xml')
-rw-r--r--doc/coding-conventions.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/coding-conventions.xml b/doc/coding-conventions.xml
index 68b075959c9c..b041a73d8182 100644
--- a/doc/coding-conventions.xml
+++ b/doc/coding-conventions.xml
@@ -5,7 +5,7 @@
 <title>Coding conventions</title>
 
 
-<section><title>Syntax</title>
+<section xml:id="sec-syntax"><title>Syntax</title>
 
 <itemizedlist>
 
@@ -207,7 +207,7 @@ args.stdenv.mkDerivation (args // {
 </section>
 
 
-<section><title>Package naming</title>
+<section xml:id="sec-package-naming"><title>Package naming</title>
 
 <para>In Nixpkgs, there are generally three different names associated with a package:
 
@@ -292,7 +292,7 @@ dashes between words — not in camel case.  For instance, it should be
 <filename>allPackages.nix</filename> or
 <filename>AllPackages.nix</filename>.</para>
 
-<section><title>Hierarchy</title>
+<section xml:id="sec-hierarchy"><title>Hierarchy</title>
 
 <para>Each package should be stored in its own directory somewhere in
 the <filename>pkgs/</filename> tree, i.e. in