nixosOptionsDoc
generates config for the built-in module system option _module.args
.
#293510
Labels
0.kind: bug
Something is broken
6.topic: documentation
Meta-discussion about documentation and its workflow
6.topic: module system
About "NixOS" module system internals
Describe the bug
Generating module options documentation with
nixosOptionsDoc
generates config for the built-in module system option_module.args
since b9756b4.Steps To Reproduce
Steps to reproduce the behavior:
nix-build generate-doc.nix
_module.args
Expected behavior
An empty result, like prior to b9756b4.
Alternatively documentation at
nixosOptionsDoc
about how to disable generating documentation for built-in options.Additional context
I wonder what is the best way of hiding the built-in module system options from docs.
Ways I came up with:
User filters the eval result
User makes
_module.args
internalExtend nixosOptionsDoc with a filter
See #293494
Notify maintainers
@asymmetric @ryantm
Metadata
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: