Skip to content

Commit 39e956f

Browse files
committed
desktops: drop line numbers from the lifecycle code blocks
The mkdocs config enables linenums globally for every fenced code block via pymdownx.highlight, which doubled up with the inline '1. 2. 3.' step prefixes inside the install / remove / upgrade-downgrade lifecycle blocks. The result was a left gutter of 1..N alongside the inline 1. 2. 3. on every line — two parallel numbering systems competing for attention. Override per-block with `{ .text linenums="0" }` on the three lifecycle code fences. The inline step numbers are the canonical step IDs (referenced from the prose around them); the auto gutter was redundant. Other code blocks in the doc keep the global gutter — only the lifecycle ascii-art blocks change.
1 parent e07a50b commit 39e956f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/Developer-Guide_Desktops.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ Not called from the desktop install path by default. The `armbian-imager` AppIma
587587

588588
The install pipeline in `module_desktops install` is intentionally linear and idempotent-friendly. **Every step that touches system state is gated on the previous step's success.**
589589

590-
```text
590+
```{ .text linenums="0" }
591591
1. Validate args de= and tier= both required; tier must be minimal|mid|full
592592
2. Resolve target user module_desktop_getuser
593593
3. Parse YAML at target tier module_desktop_yamlparse $de $arch $release $tier
@@ -617,7 +617,7 @@ If step 10 or 11 fails, the function returns 1 with no further state changes —
617617

618618
## Lifecycle: remove
619619

620-
```text
620+
```{ .text linenums="0" }
621621
1. Validate args de= required
622622
2. Read installed tier marker /etc/armbian/desktop/<de>.tier (default: minimal)
623623
3. Parse YAML at the installed module_desktop_yamlparse $de $arch $release $installed_tier
@@ -640,7 +640,7 @@ The `set-default` and `isolate` calls together ensure the user gets a console lo
640640

641641
`upgrade` and `downgrade` are the two halves of `_module_desktops_change_tier`:
642642

643-
```text
643+
```{ .text linenums="0" }
644644
1. Validate args de= and tier= required; tier must be minimal|mid|full
645645
2. Read current tier marker /etc/armbian/desktop/<de>.tier (must exist)
646646
3. Validate direction upgrade refuses target <= current

0 commit comments

Comments
 (0)