about summary refs log tree commit diff
path: root/nixpkgs/doc/functions/library.xml
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/doc/functions/library.xml')
-rw-r--r--nixpkgs/doc/functions/library.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/doc/functions/library.xml b/nixpkgs/doc/functions/library.xml
new file mode 100644
index 000000000000..b01de3c6e413
--- /dev/null
+++ b/nixpkgs/doc/functions/library.xml
@@ -0,0 +1,24 @@
+<section xmlns="http://docbook.org/ns/docbook"
+         xmlns:xlink="http://www.w3.org/1999/xlink"
+         xmlns:xi="http://www.w3.org/2001/XInclude"
+         xml:id="sec-functions-library">
+ <title>Nixpkgs Library Functions</title>
+
+ <para>
+  Nixpkgs provides a standard library at <varname>pkgs.lib</varname>, or
+  through <code>import &lt;nixpkgs/lib&gt;</code>.
+ </para>
+
+ <xi:include href="./library/asserts.xml" />
+
+ <xi:include href="./library/attrsets.xml" />
+
+ <!-- These docs are generated via nixdoc. To add another generated
+      library function file to this list, the file
+      `lib-function-docs.nix` must also be updated. -->
+ <xi:include href="./library/generated/strings.xml" />
+ <xi:include href="./library/generated/trivial.xml" />
+ <xi:include href="./library/generated/lists.xml" />
+ <xi:include href="./library/generated/debug.xml" />
+ <xi:include href="./library/generated/options.xml" />
+</section>