No description
Find a file
Dan Halbert a21066bb9f
Merge pull request #1609 from jwcooper/design-cleanup
Some more clean up to the new design
2025-04-01 11:00:22 -04:00
.github/workflows
_blinka
_board Distinguish the the TQ-T Pro boards apart (second try) 2025-03-20 16:53:57 -07:00
_data download counts 2025-03-22 19:53:46 -04:00
_includes lazy load more images 2025-03-31 16:21:40 -05:00
_layouts download page in progress 2025-02-13 16:33:21 -06:00
adabot@8a8115bdab update adabot submodule 2025-02-19 16:13:45 -06:00
api
assets Merge pull request #1609 from jwcooper/design-cleanup 2025-04-01 11:00:22 -04:00
awesome-circuitpython@292f762328 initial header work on updated design 2025-02-04 13:53:04 -06:00
bin add helper script to run jekyll with yjit enabled and some useful flags 2025-02-24 14:52:15 -06:00
connect
contributing
doc
lib/tasks
libraries drop 8.x bundles 2025-02-08 11:11:48 -05:00
tools Add missing boards up to CP 9.2.4 2025-01-29 11:02:44 -08:00
.gitignore
.gitmodules
.tool-versions bump default ruby version to 3.4.2 2025-02-24 14:52:25 -06:00
404.html
_config.yml adjust back down to 10 results as we will no longer have duplicates 2025-03-25 10:24:51 -05:00
awesome.html
blinka.html
CNAME
downloads.html
feed.html
Gemfile
Gemfile.lock Bump json from 2.10.1 to 2.10.2 2025-03-28 18:09:32 +00:00
index.html Merge pull request #1609 from jwcooper/design-cleanup 2025-04-01 11:00:22 -04:00
package-lock.json
Rakefile
README.md update readme and bump jekyll and associated dependencies to latest version 2025-02-24 14:51:53 -06:00
template.md Add missing boards up to CP 9.2.5 2025-03-20 16:01:48 -07:00
trademarks.html

CircuitPython organization site

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:

  1. Duplicate template.md to _board/<board id>.md.
  2. Edit _board/<board id>.md according to the template's instructions.
  3. In your _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

  1. Create a pull request with the file changes.

To test your changes locally:

  1. 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.
  2. As needed, git submodule update --init --recursive to fetch the submodules
  3. One time, run bundle config set path 'vendor/bundle' && bundle install
  4. Run bundle exec jekyll serve to generate the site locally
  5. Visit the displayed "server address"
  6. After most local edits, the content will be updated. You will need to reload (ctrl-r or F5) your browser

Note: For faster jekyll builds, you can use the --incremental flag. You'll also want to install ruby with yjit enabled for even faster builds.