A more detailed gude for adding a board to CircuitPython can be found in the following Adafruit Learn guide: How to add a New Board to the circuitpython.org website
To add a new board to the site:
template.md
to _board/<board id>.md
._board/<board id>.md
according to the template's instructions._board/<board id>.md
you will specify a board_image
. Create 3
versions of this file, in the following sizes and folder locations:Size | File | Dimensions (px) |
---|---|---|
Original | assets/images/orignal/{board_image} | 900px+ width and 4:3 ratio width |
example: 900 x 675 | ||
Large | assets/images/large/{board_image} | 800 x 600 |
Small | assets/images/small/{board_image} | 300 x 225 |
For more information on preferred images or if you prefer or must use 13:10 see Preparing the Images in the Adafruit Learn guide
To test your changes locally:
git submodule update --init --recursive
to fetch the submodulesbundle config set path 'vendor/bundle' && bundle install
bundle exec jekyll serve
to generate the site locally