fix(scripts): improve nix options doc generator

- Restore missing description on hm enable option (fixes nix build warning)
- Rewrite format_default_value into format_value with example support and nix code blocks
- Fix Nix markup stripping: {tag}`content` now preserves backtick content
- Generalize ::: block handling beyond {.note} to any block type
- Switch output from Markdown table to labeled fields format
This commit is contained in:
Ruixi-rebirth 2026-05-12 22:12:07 +08:00
parent c3ec4c6142
commit d5db98cfb7
No known key found for this signature in database
GPG key ID: 847E32F6F2F1D108
3 changed files with 87 additions and 63 deletions

View file

@ -22,6 +22,7 @@ in
enable = mkOption {
type = types.bool;
default = false;
description = "Whether to enable mangowm, a Wayland compositor based on dwl.";
};
package = lib.mkOption {
type = lib.types.package;