You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: comprehensive documentation review and updates (#1809)
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
(cherry picked from commit 773dbba)
- Images: `/assets/images/` path, stored in `docs/docs/assets/images/`
268
-
- Code blocks: `ini` for Klipper/Moonraker config, `bash` for shell commands, `json` for JSON
271
+
- Code blocks must always have a language tag: `ini` for Klipper/Moonraker config, `bash` for shell commands, `json` for JSON, `text` when no language applies
272
+
- Zensical uses Python-Markdown which requires 4-space indentation per nesting level for all block-level elements nested in lists (sub-lists, paragraphs, code blocks, blockquotes) — no tabs
273
+
- Tables must use aligned pipe style (columns padded to equal width)
269
274
- Links: use `{.md-button}` attribute for standalone action links
270
275
- Keys: use `++key++` syntax (pymdownx.keys extension) instead of `<kbd>`
271
276
- Terminology: G-code (not gcode/Gcode), Wi-Fi (not WiFi), GitHub (not Github), Node.js (not NodeJS), SD card (not SDCard), em dash (—) not hyphen (-) for parenthetical dashes
- Klipper macro names: format as inline code (e.g., `PAUSE`, `SET_PAUSE_AT_LAYER`, `_CLIENT_VARIABLE`)
278
+
- Klipper/Moonraker section names and config variable names: format as inline code (e.g., `[virtual_sdcard]`, `enable_object_processing`) — exception: leave unformatted when used as markdown headings
279
+
- Glossary terms (AFC, API, CNC, CORS, JWT, MCU, MMU, MPC, PID, etc.) get automatic tooltips via `docs/includes/glossary.md`
280
+
- When introducing acronyms in docs, check if they exist in the glossary — if not, assess whether they should be added (domain-specific or non-obvious acronyms: yes; universally known ones like USB, HTTP, CPU: no)
273
281
-**Before committing docs changes**, always run:
274
282
-`markdownlint --config docs/.markdownlint.json docs/docs/` — must be clean
275
283
-`codespell docs/docs/` — must be clean (install via `pip install codespell`)
0 commit comments