Skip to content

Shorten Learn the Basics sidebar headings#823

Merged
bharvey88 merged 4 commits into
devfrom
esk-learn-the-basics-headings
May 18, 2026
Merged

Shorten Learn the Basics sidebar headings#823
bharvey88 merged 4 commits into
devfrom
esk-learn-the-basics-headings

Conversation

@bharvey88
Copy link
Copy Markdown
Contributor

@bharvey88 bharvey88 commented May 18, 2026

What does this implement/fix?

Trims the within-page H2 headings on Explaining ESPHome and What is YAML? so the left sidebar entries are shorter and don't wrap.

  • ESPHome vs ESPHome Device Builder -> ESPHome vs Device Builder
  • How you talk to your device -> Controlling your device
  • Why the Starter Kit is built on ESPHome -> Why ESPHome
  • What this looks like in ESPHome -> ESPHome example

Body content is unchanged. Holding this PR open for more changes before merge.

Types of changes

  • Typo / wording fix
  • Content update (correcting outdated info, adding missing steps, clarifications)
  • New page or new product section
  • Page move / rename (redirect added in mkdocs.yml)
  • Image / screenshot update
  • Nav / structure change
  • Site config or theme change
  • CI / workflows / dependencies — Does not publish

Checklist:

  • This PR targets the dev branch (not main)
  • Changes previewed locally with mkdocs serve
  • If pages were moved or renamed, redirects were added to mkdocs.yml
  • If new pages were added, nav was updated in mkdocs.yml

Summary by CodeRabbit

  • Documentation
    • Revised ESPHome learning guides with clearer section headings and improved content structure for better comprehension
    • Expanded YAML documentation with practical spacing rules, code examples, and indentation best practices to prevent common errors
    • Enhanced guidance on device interaction and control with improved terminology
    • Optimized tutorial navigation across learning materials

Review Change Stack

Trim the within-page H2s on Explaining ESPHome and What is YAML? so the
left sidebar entries don't wrap or feel unwieldy.

- ESPHome vs ESPHome Device Builder -> ESPHome vs Device Builder
- How you talk to your device -> Controlling your device
- Why the Starter Kit is built on ESPHome -> Why ESPHome
- What this looks like in ESPHome -> ESPHome example
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 18, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 8c431744-10a4-43ba-bd4c-1df52c18dccd

📥 Commits

Reviewing files that changed from the base of the PR and between 5c381da and 5caa3c0.

📒 Files selected for processing (3)
  • docs/products/ESPHome-Starter-Kit/learning-the-basics/explaining-esphome.md
  • docs/products/ESPHome-Starter-Kit/learning-the-basics/what-is-secrets-yaml.md
  • docs/products/ESPHome-Starter-Kit/learning-the-basics/what-is-yaml.md

Walkthrough

Three ESPHome Starter Kit learning documentation pages are cleaned up with simplified heading names, improved YAML guidance, and consistent removal of redundant "Back to First Steps" navigation buttons to streamline the learning experience.

Changes

Documentation Structure and Navigation Updates

Layer / File(s) Summary
Explaining ESPHome documentation refresh
docs/products/ESPHome-Starter-Kit/learning-the-basics/explaining-esphome.md
Headings are simplified ("ESPHome vs Device Builder," "Controlling your device," "Why ESPHome") and the section on why ESPHome is used is rewritten for clarity. The redundant "Back to First Steps" button is removed while preserving the primary "Visit esphome.io" link.
YAML and secrets learning documentation
docs/products/ESPHome-Starter-Kit/learning-the-basics/what-is-yaml.md, docs/products/ESPHome-Starter-Kit/learning-the-basics/what-is-secrets-yaml.md
YAML documentation gains a new "Spacing matters" subsection with three practical indentation rules and code examples, replacing older gotchas content. Both files remove their "Back to First Steps" button to align navigation across the learning section.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • ApolloAutomation/docs#778: Related documentation navigation cleanup that removes "Back to First Steps" buttons from getting-started materials.
  • ApolloAutomation/docs#820: Concurrent updates to the same ESPHome Starter Kit learning documentation files with heading and content structure changes.

Poem

📚 The docs get a refresh, so tidy and clean,
Headings simplified, navigation serene,
YAML rules spelled out with examples so neat,
No back-step buttons, the guide is complete! 🐰✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch esk-learn-the-basics-headings

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

bharvey88 added 3 commits May 18, 2026 13:57
Customer feedback flagged 'surfaces' as jargon and asked for stronger
coverage of YAML spacing rules.

- Replace 'This surfaces your device's sensors, switches, and lights as
  entities' with a plainer 'Each of your device's sensors, switches,
  and lights then appears in Home Assistant as an entity'
- New 'Spacing matters' H2 with the three core rules (no tabs,
  consistent indent, space after colon) and a correct vs broken example
- Trim the 'Indentation groups things together' H4 lead-in now that
  the spaces vs tabs detail lives in the new section
- Remove the 'Common gotchas' H4, now fully covered by Spacing matters
Customer feedback suggested adding advice to copy the existing YAML
into a notepad before hand-editing, as a safety net if a bad indent
breaks the build. Lands at the end of Spacing matters where the
failure mode just got explained.
These pages can be reached from anywhere in the sidebar or via inbound
links, so a Back to First Steps button at the bottom assumes a path
that may not exist. The remaining buttons are the external resource
and cross-link CTAs.
@bharvey88 bharvey88 merged commit 47b6b5b into dev May 18, 2026
1 check was pending
@bharvey88 bharvey88 deleted the esk-learn-the-basics-headings branch May 18, 2026 19:31
@bharvey88 bharvey88 mentioned this pull request May 18, 2026
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant