Skip to content

Pin ToC Heading Levels and Fix Workspace Dashboard URI - #148

Merged
ptr727 merged 1 commit into
mainfrom
develop
Sep 14, 2026
Merged

ptr727 merged 1 commit into
mainfrom
develop

Conversation

@ptr727

@ptr727 ptr727 commented Sep 14, 2026 •

Copy link
Copy Markdown
Owner

Promotes develop to main to bless the current snapshot.

The workspace carried no markdown.extension.toc.levels, so the README Table of Contents was shaped by a user-level setting rather than by anything committed, and a save on a machine without that setting would have regenerated the list with every board heading in it.

  • Set markdown.extension.toc.levels to 2..3, the value every other fleet workspace carries, and regenerate the Table of Contents against it.
  • Recommend the Markdown All in One extension, which owns that setting and generates the Table of Contents. GOVERNANCE.md "Editor and Tasks" already names it in the standard set.
  • Omit 3rd Party Tools and License from the Table of Contents with inline markers. Both sections stay in place, with License last.
  • Correct esphome.dashboardUri. The stray dot left a trailing-dot host, which suppresses search-list expansion, so the name did not resolve at all.
  • Reindent the workspace from tabs to 4 spaces, per .editorconfig.
  • Rename the Waveshare board heading to Devkit, matching its four sibling board headings, and tighten the Devices paragraph, whose dropped detail is carried by DEVICES.md.

Verification

  • markdownlint-cli2: 0 issues.
  • Hub prose_lint.py --diff: clean on all changed lines.
  • Workspace JSON parses, and a flattened key comparison against the base commit shows one added key and one changed value, nothing lost or reordered by the reindent.
  • Every Table of Contents entry resolves to a real heading, and the only level-2 and level-3 headings absent are the five carrying an omit marker.
  • The corrected esphome.dashboardUri fetched live: 200, ESPHome Device Builder. The old value fails DNS resolution (curl exit 6).

Summary by CodeRabbit

  • Documentation

    • Updated the README table of contents for improved navigation.
    • Clarified the Waveshare ESP32-S3-ETH device description and deployment guidance.
    • Excluded third-party tools and licensing sections from the table of contents.
  • Workspace Configuration

    • Corrected the ESPHome dashboard address.
    • Added Markdown table-of-contents configuration and a recommended Markdown editing extension.

The workspace carried no markdown.extension.toc.levels, so the generated
Table of Contents depended on a user-level setting being present, and a
save on a machine without it would have regenerated the list with every
board heading in it.

- Set markdown.extension.toc.levels to 2..3, the fleet value, and
  regenerate the README Table of Contents against it.
- Recommend the Markdown All in One extension, which owns that setting
  and generates the Table of Contents.
- Omit 3rd Party Tools and License from the Table of Contents.
- Correct the dashboard URI, whose stray dot left a trailing-dot host
  that suppressed search-list expansion and did not resolve.
- Reindent the workspace to spaces, per .editorconfig.
- Rename the Waveshare board heading to Devkit, matching its sibling
  headings, and tighten the Devices paragraph.
Copilot AI lite review requested due to automatic review settings September 14, 2026 16:00
@coderabbitai

coderabbitai Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 4716aa66-61a0-426b-a39d-ec2d87dd4baf

📥 Commits

Reviewing files that changed from the base of the PR and between 38ff40c and bdc922b.

📒 Files selected for processing (2)
  • ESPHome-Config.code-workspace
  • README.md

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The pull request updates VS Code workspace settings and revises README navigation, section names, and device descriptions.

Changes

Workspace and README updates

Layer / File(s) Summary
Workspace authoring settings
ESPHome-Config.code-workspace
Adds Markdown TOC level settings, corrects the ESPHome dashboard URI, and recommends the Markdown All in One extension.
README structure and descriptions
README.md
Updates the table of contents, renames the Waveshare section, clarifies deployed device usage, and excludes the Third Party Tools and License headings from the table of contents.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to bdc92

The workspace and README updates are low-risk and reported verification is clean.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies two primary changes: pinning the table-of-contents heading levels and correcting the workspace dashboard URI. It is concise and relevant to the pull request.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch develop

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.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

Low-risk workspace/documentation changes with consistent heading levels and a corrected dashboard URI, and no issues found in the reviewed diff.

Pull request overview

This PR promotes the current develop snapshot to main by making the workspace and README deterministic across machines: it pins the Markdown ToC heading levels in the committed VS Code workspace, regenerates the README ToC accordingly, and fixes the ESPHome dashboard URI so it resolves correctly.

Changes:

  • Update ESPHome-Config.code-workspace to add markdown.extension.toc.levels: "2..3", recommend Markdown All in One, fix esphome.dashboardUri, and reindent consistently.
  • Regenerate README.md’s Table of Contents to match levels 2–3 and add omit markers for sections that should not appear in the ToC.
  • Minor README wording/heading tweaks to keep headings consistent (e.g., “Waveshare … Devkit”) and tighten the Devices description.
File summaries
File Description
README.md Regenerates/pins the ToC to stable heading levels and adds omit markers to keep the ToC consistent across editors.
ESPHome-Config.code-workspace Commits workspace settings that control ToC generation and fixes the ESPHome dashboard URI for correct resolution.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ptr727
ptr727 merged commit ddfe82b into main Sep 14, 2026
17 checks passed
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.

2 participants