Writing notes
Any page can choose what the board beside it selects, in its frontmatter:
---title: Writing notesselect: J4 # a part, a net ("net:VSYS") or a group ("group:battery")board: my-board # only on a site with several boards: which one sits beside this page (false for none)---Groups come from your schematic
Section titled “Groups come from your schematic”The site makes one page for each part of your design: power, the microcontroller, the connectors. You decide what those are in KiCad:
- Draw a box around some parts and give it a title. Use a rectangle, with a text near its top-left corner (inside the box or just above it), or a text box, whose first line is the title. Every part inside the box belongs to that group. Boxes can sit inside other boxes.
- No boxes on a sheet? Its parts are a group named after the sheet.
- Parts on the top-level sheet that aren’t in a box are listed as Other parts.
The Feather does both: its Connectors sheet has three titled boxes (Headers, Battery, Qwiic Connector), and its other sheets are a group each.
Notes on a group
Section titled “Notes on a group”Make a file named after the group, in a folder named after the board. The group’s name is in its page’s address: the Battery group is at /royalblue54l-feather/battery/, so its note is:
src/content/groups/royalblue54l-feather/battery.mdx---title: Battery # optional: renames the group on the sitesummary: A JST connector for a single-cell LiPo battery.---J4 takes a single-cell LiPo. ...summaryshows on the board’s overview and in the board’s card when the group is selected.- The body goes at the top of the group’s page, above its parts, the groups it connects to, and its nets.
overview.mdxin the same folder is the board’s own page.
Pointing into the board from any page
Section titled “Pointing into the board from any page”import PartLink from "astro-loupe/PartLink.astro";
The regulator <PartLink to="U1" board="my-board" /> sits by the input.A part link selects the part in the board beside the page; it never leaves the page you’re reading.