about summary refs log tree commit diff
path: root/doc/builders
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2023-06-10 17:54:02 +0200
committerpennae <github@quasiparticle.net>2023-06-10 18:17:04 +0200
commite42a5c78e75aba56b546cbcb8efdf46587fea276 (patch)
tree6e16df089ad38c4733f09a4fac05f5b71d7d99af /doc/builders
parent830f5b33ddfbfa8d8864a6724fcac87f893ec88a (diff)
downloadnixlib-e42a5c78e75aba56b546cbcb8efdf46587fea276.tar
nixlib-e42a5c78e75aba56b546cbcb8efdf46587fea276.tar.gz
nixlib-e42a5c78e75aba56b546cbcb8efdf46587fea276.tar.bz2
nixlib-e42a5c78e75aba56b546cbcb8efdf46587fea276.tar.lz
nixlib-e42a5c78e75aba56b546cbcb8efdf46587fea276.tar.xz
nixlib-e42a5c78e75aba56b546cbcb8efdf46587fea276.tar.zst
nixlib-e42a5c78e75aba56b546cbcb8efdf46587fea276.zip
doc: make sure section depths are consecutive
skipping heading levels (eg from # to ###, or starting at ###) is legal
in pandoc, but not in nixos-render-docs. pandoc acts as though section
levels *were* consecutive, nixos-render-docs prefers to tell people not
to do that kind of thing because it can make documents more fragile.
Diffstat (limited to 'doc/builders')
-rw-r--r--doc/builders/special/makesetuphook.section.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/builders/special/makesetuphook.section.md b/doc/builders/special/makesetuphook.section.md
index fee508dc29c2..eb042412137b 100644
--- a/doc/builders/special/makesetuphook.section.md
+++ b/doc/builders/special/makesetuphook.section.md
@@ -12,7 +12,7 @@ pkgs.makeSetupHook {
 } ./script.sh
 ```
 
-#### setup hook that depends on the hello package and runs hello and @shell@ is substituted with path to bash {#sec-pkgs.makeSetupHook-usage-example}
+### setup hook that depends on the hello package and runs hello and @shell@ is substituted with path to bash {#sec-pkgs.makeSetupHook-usage-example}
 
 ```nix
 pkgs.makeSetupHook {