Contributing¶
This documentation lives in Source-Robotics/Spectral-BLDC-docs. A small fix can be made from the browser: the Edit it on GitHub link at the end of every page opens the page's source, and GitHub turns your change into a pull request. For anything larger, open an issue first.
How the site is built¶
- The pages are Markdown, built with MkDocs and the Material theme; the repository's
README.mdsays how to preview it locally. - The site describes one firmware release, named in
versions.yml. The command IDs, frame lengths, the UART command list and the defaults in the Reference are read from the firmware's source at that release's tag bytools/sync_firmware.py; do not edit those facts in the pages. The descriptions of the commands are indocs/includes/can_commands.ymlanduart_commands.yml. - Every push runs a strict build (a broken link fails it) and the tool tests. A push to
mainpublishes the site under its firmware version with mike.
House rules¶
- Facts come from the firmware. When a page and the firmware disagree, the firmware is right; fix the page, or report the firmware.
- Spell commands exactly as the firmware does, even where the spelling looks wrong.
- Write for someone who has the driver in front of them and wants to do one thing: say what to do, in order, then why.
- Three kinds of boxes: a note, a notice (damage) and a danger (injury). Use them for those, not for emphasis.
- Images: under 2400 px on the long side, with a caption that says what the reader should see.
Licence¶
Text and images: CC BY-SA 4.0: copy, adapt and share them, also commercially, if you credit Source Robotics and share your changes under the same licence. Code: the MIT licence, which covers the code examples in the pages and the site's own code. The Source Robotics name, the product names and the logos are not covered by either. By contributing you agree that your contribution is published under these licences.
Comments
Found a mistake on this page? Edit it on GitHub · Report it · Get help · This page as Markdown · llms.txt · The whole manual as PDF