DRAW-50 Note reference to a note the notes file does not have¶
| Severity | Status | Implementation |
|---|---|---|
| warning | runs in better_erc | mid, depends on NET-26, CFG-2 |
Data it needs: drawing geometry, project file: drawing.notes.
Looks at. The schematic drawing (geometry), the setting drawing.notes.
Long explanations belong in a Markdown notes file kept with the board, one heading per note: ## N13 · AUX supply. The sheet then points at them with See N13 or See N12, N14. A reference to a note that was renumbered or never written sends the reader nowhere.
The setting drawing.notes names the notes files, as paths relative to the project directory, separated by commas: berc check hw/board --set drawing.notes=../doc/notes.md. A note id is a Markdown heading of any level whose text starts with N and a number. A reference is a word N plus a number in a text, text box or table cell, following the word See (any case) in a list joined by commas, and, & or /: See N3, see N12, N14 and N20. Without the setting the check does not run; a file that cannot be read stops the run with an error.
Settings¶
Set them in the project file under [checks."DRAW-50"], or for one run with --set DRAW-50.NAME=VALUE. A name that starts with drawing. is shared by several checks and is set under that name alone.
| Setting | Default | Meaning |
|---|---|---|
drawing.notes |
unset | the board's notes files (Markdown, one ## N<number> heading per note), relative to the project directory |
Test schematics¶
Each schematic below is in test_schematics/sources. The block under it is what berc check --only DRAW-50 reports on it.
draw-50_note_references¶