* Omit the "Defined by:" elements in the configuration.nix section of
the manual. While it's a useful feature, it has the unfortunate side-effect of causing the manual to be rebuilt every time the user adds an option definition to any module (including configuration.nix), and rebuilding the manual is rather slow. svn path=/nixpkgs/trunk/; revision=23110
This commit is contained in:
parent
e4686546ec
commit
415cf4cd1c
2 changed files with 1 additions and 2 deletions
|
@ -259,7 +259,6 @@ rec {
|
|||
value = m.config;
|
||||
}) definitions;
|
||||
|
||||
|
||||
values = values_ ++
|
||||
optionals (option.isOption && option.decl ? extraConfigs)
|
||||
option.decl.extraConfigs;
|
||||
|
|
|
@ -260,7 +260,7 @@ rec {
|
|||
throw "Option ${opt.name}: No description.";
|
||||
|
||||
declarations = map (x: toString x.source) opt.declarations;
|
||||
definitions = map (x: toString x.source) opt.definitions;
|
||||
#definitions = map (x: toString x.source) opt.definitions;
|
||||
}
|
||||
// optionalAttrs (opt ? example) { example = scrubOptionValue opt.example; }
|
||||
// optionalAttrs (opt ? default) { default = scrubOptionValue opt.default; }
|
||||
|
|
Loading…
Reference in a new issue