diff options
author | pennae <github@quasiparticle.net> | 2023-06-10 17:54:02 +0200 |
---|---|---|
committer | pennae <github@quasiparticle.net> | 2023-06-10 18:17:04 +0200 |
commit | e42a5c78e75aba56b546cbcb8efdf46587fea276 (patch) | |
tree | 6e16df089ad38c4733f09a4fac05f5b71d7d99af /doc/builders | |
parent | 830f5b33ddfbfa8d8864a6724fcac87f893ec88a (diff) |
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.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/builders/special/makesetuphook.section.md b/doc/builders/special/makesetuphook.section.md index fee508dc29c2a..eb042412137b8 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 { |