No description
Find a file
2025-06-04 16:40:53 -04:00
.github/workflows add timeout-minutes to adabot.update_cp_org_libraries action task 2025-04-21 12:23:25 -05:00
_blinka Add new Blinka Boards 2025-05-15 16:54:37 -07:00
_board Merge pull request #1640 from dhalbert/differentiate-huzzah32 2025-05-20 17:45:15 +02:00
_data download counts 2025-05-28 17:42:06 -04:00
_includes Fix logo srcset for 3x 2025-04-10 23:16:13 -04:00
_layouts download page in progress 2025-02-13 16:33:21 -06:00
adabot@0d0349f6f5 update submodules 2025-06-04 15:20:16 -05:00
api Update api to output valid json instead of jsonified html 2023-12-08 15:53:52 -08:00
assets Compressed Images 2025-06-01 00:05:37 +00:00
awesome-circuitpython@48bff6507e update submodules 2025-05-28 17:19:36 -05: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 Add 10.x bundles 2025-04-04 17:43:57 -04: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 add new filter to only use featured guides from circuitpython category 2025-04-09 09:50:40 -05: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 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 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 Add missing boards up to CP 9.2.5 2025-03-20 16:01:48 -07: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.