Add Type information into manual and manpages, fixes #4600

This commit is contained in:
Domen Kožar
2015-01-04 15:40:59 +01:00
parent 7af2eee472
commit 79a51b0cf3
3 changed files with 11 additions and 1 deletions

View File

@@ -96,6 +96,7 @@ rec {
declarations = filter (x: x != unknownModule) opt.declarations;
internal = opt.internal or false;
visible = opt.visible or true;
type = opt.type.name or null;
}
// (if opt ? example then { example = scrubOptionValue opt.example; } else {})
// (if opt ? default then { default = scrubOptionValue opt.default; } else {})