Skip to content

Expand hole docs for rect shape and solder mask props#694

Open
rushabhcodes wants to merge 2 commits into
tscircuit:mainfrom
rushabhcodes:codex/hole-docs-solder-mask
Open

Expand hole docs for rect shape and solder mask props#694
rushabhcodes wants to merge 2 commits into
tscircuit:mainfrom
rushabhcodes:codex/hole-docs-solder-mask

Conversation

@rushabhcodes
Copy link
Copy Markdown
Contributor

Summary

  • Expanded the <hole /> docs to match the sibling @tscircuit/props API.
  • Added the rect hole shape, radius, and solder-mask props to the docs page.
  • Updated the quickstart list so <hole /> points at the fuller prop surface.

Validation

  • bun run build was attempted earlier, but the repo currently fails in generated Docusaurus debug files unrelated to this docs change.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Jun 1, 2026 7:36am

Request Review

@rushabhcodes rushabhcodes changed the title [codex] Expand hole docs for rect shape and solder mask props Expand hole docs for rect shape and solder mask props Jun 1, 2026
@rushabhcodes rushabhcodes marked this pull request as ready for review June 1, 2026 07:00
Copilot AI review requested due to automatic review settings June 1, 2026 07:00
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Expands the documentation for the <hole /> element to better match the @tscircuit/props surface area, including the new rect shape and additional sizing / solder-mask-related props, and updates the quickstart cheat sheet accordingly.

Changes:

  • Documented a third hole shape (rect) and added an example for rectangular holes.
  • Documented circle sizing via radius in addition to diameter, and added solder mask props (solderMaskMargin, coveredWithSolderMask).
  • Updated the quickstart “important props” list for <hole /> to reflect the expanded prop surface.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
docs/intro/quickstart-ChatGPT.mdx Updates the <hole /> quickstart bullet to list the expanded prop surface.
docs/elements/hole.mdx Expands <hole /> docs with rect shape, radius, solder mask props, and new/updated examples and properties table.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/elements/hole.mdx
Comment thread docs/elements/hole.mdx Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.

3 participants