CircuitPython organization site
To add a new board to the site:
- Duplicate
template.md
to_board/<board id>.md
. - Edit
_board/<board id>.md
according to the template's instructions. - Provide 3 images. An original high-quality image. A smaller image (300 px width), and a larger image (700 px width) in each respective directory (assets/images/boards/{small large original}) and process them in something like https://squoosh.app/ to reduce file size. If you only have one image, place it in the 'original' folder.
- Create a pull request with the file changes.
To test your changes locally:
- You need "ruby" and "ruby-bundler" installed locally. These instructions were tested with ruby 2.5 and ruby-bundler 1.17.3 on a Debian Stretch system.
- As needed,
git submodule update --init --recursive
to fetch the submodules - One time, run
bundle install --path vendor/bundle
- Run
bundle exec jekyll serve
to generate the site locally - Visit the displayed "server address"
- After most local edits, the content will be updated. You will need to reload (ctrl-r or F5) your browser