summary refs log tree commit diff
path: root/doc/stdenv
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2023-03-25 21:38:26 +0100
committerpennae <github@quasiparticle.net>2023-07-01 20:59:29 +0200
commitbe4d19ff1a9a327ae805fdb344470ed6450256fc (patch)
treefa5f0b01cc0f081d16d3aef6d9af84c318151c00 /doc/stdenv
parentb521f451a3b2dcee1c72cd11a87d14249b125ce9 (diff)
downloadnixpkgs-be4d19ff1a9a327ae805fdb344470ed6450256fc.tar
nixpkgs-be4d19ff1a9a327ae805fdb344470ed6450256fc.tar.gz
nixpkgs-be4d19ff1a9a327ae805fdb344470ed6450256fc.tar.bz2
nixpkgs-be4d19ff1a9a327ae805fdb344470ed6450256fc.tar.lz
nixpkgs-be4d19ff1a9a327ae805fdb344470ed6450256fc.tar.xz
nixpkgs-be4d19ff1a9a327ae805fdb344470ed6450256fc.tar.zst
nixpkgs-be4d19ff1a9a327ae805fdb344470ed6450256fc.zip
doc: render nixpkgs manual with nrd
also updates nixdoc to 2.3.0. the nixdoc update is not a separate commit
because that would leave the manual build broken for one commit,
potentially breaking bisects and rebases.
Diffstat (limited to 'doc/stdenv')
-rw-r--r--doc/stdenv/stdenv.chapter.md11
1 files changed, 3 insertions, 8 deletions
diff --git a/doc/stdenv/stdenv.chapter.md b/doc/stdenv/stdenv.chapter.md
index 71d28282e9b..a0f81b97f6b 100644
--- a/doc/stdenv/stdenv.chapter.md
+++ b/doc/stdenv/stdenv.chapter.md
@@ -464,10 +464,8 @@ The commit object contains the following values:
 
 If the returned array contains exactly one object (e.g. `[{}]`), all values are optional and will be determined automatically.
 
-```{=docbook}
-<example>
-<title>Standard output of an update script using commit feature</title>
-```
+::: {.example #var-passthru-updateScript-example-commit}
+# Standard output of an update script using commit feature
 
 ```json
 [
@@ -481,10 +479,7 @@ If the returned array contains exactly one object (e.g. `[{}]`), all values are
   }
 ]
 ```
-
-```{=docbook}
-</example>
-```
+:::
 
 ### Recursive attributes in `mkDerivation` {#mkderivation-recursive-attributes}