reformat after update

This commit is contained in:
Jörg Thalheim
2025-01-14 15:30:29 +01:00
parent 9d29cc63ad
commit e2aa66d86f
17 changed files with 37 additions and 35 deletions

View File

@@ -103,7 +103,7 @@ def render_option(
read_only = option.get("readOnly")
res = f"""
{"#" * level} {sanitize(name) if short_head is None else sanitize(short_head)} {"{: #"+sanitize_anchor(name)+"}" if level > 1 else ""}
{"#" * level} {sanitize(name) if short_head is None else sanitize(short_head)} {"{: #" + sanitize_anchor(name) + "}" if level > 1 else ""}
"""
@@ -125,7 +125,7 @@ def render_option(
**Default**:
```nix
{option.get("default",{}).get("text") if option.get("default") else "No default set."}
{option.get("default", {}).get("text") if option.get("default") else "No default set."}
```
"""
example = option.get("example", {}).get("text")