docs/mdbook: handle visible = "transparent"#4092
docs/mdbook: handle visible = "transparent"#4092MattSturgeon merged 2 commits intonix-community:mainfrom
visible = "transparent"#4092Conversation
|
How is this supposed to be used? Adding to the example option, compiles the docs now, but it just hides the |
4c4e13a to
56fc5bc
Compare
It is supposed to hide the option, but not its sub-options. For If it's not working, then that probably means some edge-cases with how |
khaneliman
left a comment
There was a problem hiding this comment.
Alright, looks good knowing that merge needs to include getSubOptions for my use case.
|
Successfully created backport PR for |


Adds parity with NixOS/nixpkgs#441782 in our hacky manual docs logic.
See #4084 (comment)
There are probably some edge-cases this doesn't cover. I don't really want to invest too much time finding them when the right solution is to rip out our custom stuff and just use
lib.options.optionAttrSetToDocListas intended.One behaviour change is that
internal = trueis no longer considered when recursing into sub-options. This is intentional and matches howlib.options.optionAttrSetToDocListis implemented.