diff options
author | pennae <github@quasiparticle.net> | 2023-02-08 10:13:22 +0100 |
---|---|---|
committer | pennae <github@quasiparticle.net> | 2023-02-10 06:40:01 +0100 |
commit | 2e3d9e8d74fdcbcea364923f0ba6537774894865 (patch) | |
tree | f05c7f076a7a6e9cb661befc6a6a272f2933b2f9 /nixos/doc/manual/development | |
parent | a15d7335a55e3a2726a2962767b0927367db1ebc (diff) | |
download | nixpkgs-2e3d9e8d74fdcbcea364923f0ba6537774894865.tar nixpkgs-2e3d9e8d74fdcbcea364923f0ba6537774894865.tar.gz nixpkgs-2e3d9e8d74fdcbcea364923f0ba6537774894865.tar.bz2 nixpkgs-2e3d9e8d74fdcbcea364923f0ba6537774894865.tar.lz nixpkgs-2e3d9e8d74fdcbcea364923f0ba6537774894865.tar.xz nixpkgs-2e3d9e8d74fdcbcea364923f0ba6537774894865.tar.zst nixpkgs-2e3d9e8d74fdcbcea364923f0ba6537774894865.zip |
nixos/manual: remove .unnumbered section attributes
pandoc would drop these when converting to docbook, just like it dropped .title block classes.
Diffstat (limited to 'nixos/doc/manual/development')
-rw-r--r-- | nixos/doc/manual/development/option-def.section.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/doc/manual/development/option-def.section.md b/nixos/doc/manual/development/option-def.section.md index 22cf38873cf..6a3dc26b99b 100644 --- a/nixos/doc/manual/development/option-def.section.md +++ b/nixos/doc/manual/development/option-def.section.md @@ -12,7 +12,7 @@ config = { However, sometimes you need to wrap an option definition or set of option definitions in a *property* to achieve certain effects: -## Delaying Conditionals {#sec-option-definitions-delaying-conditionals .unnumbered} +## Delaying Conditionals {#sec-option-definitions-delaying-conditionals} If a set of option definitions is conditional on the value of another option, you may need to use `mkIf`. Consider, for instance: @@ -56,7 +56,7 @@ config = { }; ``` -## Setting Priorities {#sec-option-definitions-setting-priorities .unnumbered} +## Setting Priorities {#sec-option-definitions-setting-priorities} A module can override the definitions of an option in other modules by setting an *override priority*. All option definitions that do not have the lowest @@ -72,7 +72,7 @@ This definition causes all other definitions with priorities above 10 to be discarded. The function `mkForce` is equal to `mkOverride 50`, and `mkDefault` is equal to `mkOverride 1000`. -## Ordering Definitions {#sec-option-definitions-ordering .unnumbered} +## Ordering Definitions {#sec-option-definitions-ordering} It is also possible to influence the order in which the definitions for an option are merged by setting an *order priority* with `mkOrder`. The default order priority is 1000. @@ -89,7 +89,7 @@ definitions in the final list value of `hardware.firmware`. Note that this is different from [override priorities](#sec-option-definitions-setting-priorities): setting an order does not affect whether the definition is included or not. -## Merging Configurations {#sec-option-definitions-merging .unnumbered} +## Merging Configurations {#sec-option-definitions-merging} In conjunction with `mkIf`, it is sometimes useful for a module to return multiple sets of option definitions, to be merged together as if |