No description
Find a file
2025-02-24 14:52:25 -06:00
.github/workflows pin ruby minor version 2024-12-28 08:31:02 -06:00
_blinka split raspberrypi family to rp2040 and rp2350 2024-12-04 10:53:16 -06:00
_board Make Feather ESP32 V2 show up in search for "huzzah" 2025-01-29 16:27:47 -06:00
_data Add missing boards up to CP 9.2.4 2025-01-29 11:02:44 -08:00
_includes more work on download page 2025-02-14 11:21:19 -06:00
_layouts download page in progress 2025-02-13 16:33:21 -06:00
adabot@8a8115bdab initial header work on updated design 2025-02-04 13:53:04 -06:00
api Update api to output valid json instead of jsonified html 2023-12-08 15:53:52 -08:00
assets more work on download page 2025-02-14 11:21:19 -06: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 new common layout for pages, add common layout to connect page to update styling 2021-12-01 09:52:50 -06:00
contributing Fix duplicate hacktoberfest label 2022-10-06 12:34:38 -07:00
doc Update hero-images docs 2022-09-28 06:16:15 -04:00
lib/tasks rebase with upstream master, process new images 2019-06-05 14:06:29 -05:00
libraries Fix typo in index.html 2025-01-13 20:54:41 +00:00
tools Add missing boards up to CP 9.2.4 2025-01-29 11:02:44 -08:00
.gitignore Update CP Day URL, .gitignore. 2022-08-08 13:04:25 -04:00
.gitmodules add adabot as a submodule for CI usage 2019-04-26 14:58:59 -05:00
.tool-versions bump default ruby version to 3.4.2 2025-02-24 14:52:25 -06:00
404.html initial commit 2018-11-07 12:04:04 -06:00
_config.yml more work with two columns and header 2025-02-06 15:33:52 -06:00
awesome.html new common layout for pages, add common layout to connect page to update styling 2021-12-01 09:52:50 -06:00
blinka.html Designate labels for checkbox in filters 2022-11-06 13:09:10 -06:00
CNAME Create CNAME 2019-03-08 19:53:06 -08:00
downloads.html remove unneeded <link> tag 2024-10-25 14:03:06 -05:00
feed.html Go ahead and re-combine the two feed includes 2024-04-01 11:18:52 -05:00
Gemfile Bump webrick from 1.8.1 to 1.8.2 2024-10-22 16:42:34 +00:00
Gemfile.lock update readme and bump jekyll and associated dependencies to latest version 2025-02-24 14:51:53 -06:00
index.html get started for one column and just the beginning section 2025-02-13 10:20:39 -06:00
package-lock.json Add missing boards from CircuitPython 9.1.0 2024-03-29 15:14:45 -07:00
Rakefile load images based on srcset and display smallest images possible for each viewport size 2019-06-04 12:05:55 -05:00
README.md update readme and bump jekyll and associated dependencies to latest version 2025-02-24 14:51:53 -06:00
template.md Added many new tutorial links + small fixes 2024-11-14 09:58:38 -08:00
trademarks.html Create trademarks.html 2019-04-15 14:49:33 -04:00

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.