Restructure wake-up battery sensor guide with per-device content tabs#883
Conversation
Rework the wake-up battery sensor article into a device-per-tab layout covering TEMP-1B, PLT-1B, BTN-1, H-1, and H-2. Both wake methods (reset button, boot button) now live in each device tab with that device's photos. H-1 and H-2 tabs carry a "smart firmware only" note linking to their flashing guides. - Convert the Homey general page from a full duplicate into a snippet wrapper of the main file so there is a single source of truth. - Add wrapper pages and nav entries for BTN-1 (main + Homey), H-1, and H-2 (main) so each device section links to the wake guide. - Rename the H-1 flashing page from /products/h1/code to /products/h1/reflash for consistency with H-2; update all references (nav, boot-mode, getting-started, wake-up tab). No redirect added. - Fix the H-1 flashing page: repoint four screenshots from the dead github.io MTR-1 asset URLs to their local /assets copies and remove leftover MTR-1 wording.
|
Caution Review failedPull request was closed or merged during review WalkthroughThis PR consolidates duplicated battery sensor wake-up instructions into a single shared documentation page with device-specific sections, converts product-specific pages to include-based wrappers, updates navigation to expose the new pages, and corrects H-1 documentation links and image references from external and outdated URLs to local assets. ChangesBattery Sensor Documentation Refactoring
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
What does this implement/fix?
Restructures the wake-up battery sensor guide into a device-per-tab layout (mkdocs-material content tabs) and extends it beyond TEMP-1B/PLT-1B to also cover BTN-1, H-1, and H-2.
products/general/battery-sensors/wake-up-battery-sensor.md; each device tab holds both wake methods (reset button, boot button) with that device's photos.--8<--snippet wrapper of the main file (one place to edit going forward).products/h1/code.md→products/h1/reflash.mdfor consistency with H-2, and updates every reference (nav, boot-mode, getting-started, the new wake-up tab). No redirect added — old/products/h1/code/links break intentionally, per decision.github.io/docs/products/mtr1/assets/...URLs to their existing local/assets/copies and removes leftover "MTR-1" wording.Previewed locally with
mkdocs serve; all affected pages build and render with no new warnings.Types of changes
mkdocs.yml)Checklist:
devbranch (notmain)mkdocs servemkdocs.ymlmkdocs.ymlSummary by CodeRabbit