Repository with instructions and remarks on assembling and testing Sinara hardware. Doesn't pretend to be source of ultimate truth, and can change at any time.
Go to file
mwojcik 6ad461aad8 stabilizer: update instructions to store the broker/ip address 2024-11-18 16:50:47 +08:00
src stabilizer: update instructions to store the broker/ip address 2024-11-18 16:50:47 +08:00
.gitignore Init MDBook and Nix 2023-02-03 16:55:09 +08:00
LICENSE Initial commit 2023-02-03 16:13:18 +08:00
README.md Use linter for markdown 2024-09-25 16:02:11 +08:00
book.toml Init MDBook and Nix 2023-02-03 16:55:09 +08:00
flake.lock flake add nodejs to devshell and update 2024-10-17 13:47:28 +08:00
flake.nix flake add nodejs to devshell and update 2024-10-17 13:47:28 +08:00
package-lock.json Use linter for markdown 2024-09-25 16:02:11 +08:00
package.json Use linter for markdown 2024-09-25 16:02:11 +08:00

README.md

sinara-assembly

Repository with instructions and remarks on assembling and testing Sinara hardware

Build docs

nix build

The output files are in result/book directory.

Development shell

nix develop
mdbook build

The output files will be in book directory.

Alternative way

Since the docs builder depends only on mdBook, you may get it from anywhere you like - nix-shell -p mdbook, snap install mdbook, cargo install mdbook or any other from your OS. After that you will be able to do:

mdbook build

The output files will be in book directory.

Contributing

If you found missing hardware or just want to add/enhance hints and instructions, feel free to push them.

Tips for adding hardware instructions:

  1. Compose a chapter in a new Markdown file in src/hw

  2. Add pictures if needed, store them in src/img, assure them to be clear, informative and compressed (you can use convert <INPUT IMAGE> -quality 80% -resize <width>x<height> <OUTPUT IMAGE> for optimizing JPEG image or convert <INPUT IMAGE> -quality 80% -resize <width>x<height> -background white -alpha remove -alpha off <OUTPUT IMAGE> for images with transparent background)

  3. Add link to the new chapter to the src/SUMMARY.md

  4. Do not forget to tell about all hidden/non-obvious obstacles and pitfalls

  5. Avoid using uncommon, complex, or hard-to-understand words, phrases, or grammar (e.g., constituent -> ✔️component). Keep in mind that these guides may be used by people with different backgrounds and levels of English proficiency.

  6. Add testing steps, even the "obvious" ones

  7. Add JSON sample if needed

  8. Add hardware setup (e.g. pins, switches) steps if needed

  9. View changed and added pages with mdbook build (see building instructions above)

  10. Check your contributions with linter:

    nix-shell -p nodejs
    npm install
    npx markdownlint-cli2 "src/**/*.md" --fix