No description
Find a file
Melissa LeBlanc-Williams b513ba3d61
Merge pull request #1092 from tekktrik/dev/adabot-python-3-11
Update to adabot with PyGithub 1.57
2022-11-07 09:32:36 -08:00
.github/workflows Add RTD_TOKEN to envirnoment when using adabot 2022-07-13 00:32:39 -04:00
_blinka Added new Blinak Board, fixed others 2022-10-17 09:19:51 -07:00
_board Update info and images for 42. Keebs Frood 2022-11-07 17:53:55 +01:00
_data download counts 2022-10-30 14:37:48 -04:00
_includes Restore images in downloads page, board page 2022-10-08 21:26:19 -05:00
_layouts Restore images in downloads page, board page 2022-10-08 21:26:19 -05:00
adabot@507d52091f Update to adabot with PyGithub 1.57 2022-11-07 11:53:58 -05:00
assets Update info and images for 42. Keebs Frood 2022-11-07 17:53:55 +01:00
awesome-circuitpython@e05e9e9ef0 Always update awesome-circuitpython during build 2022-05-28 20:37:48 +02: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 8.x bundles 2022-06-17 13:14:26 -04: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 use ruby 2.7.2 as default local version 2021-11-02 10:05:00 -05:00
404.html initial commit 2018-11-07 12:04:04 -06:00
_config.yml Original images are no longer deployed 2022-10-06 11:33:29 -07: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
check-boards.py Finished adding all new boards 2022-08-22 15:53:05 -07:00
check-images.py Update checker script to fail if images are missing 2022-07-05 17:13:57 -07:00
CNAME Create CNAME 2019-03-08 19:53:06 -08:00
downloads.html Designate labels for checkbox in filters 2022-11-06 13:09:10 -06:00
feed.html Added RSS Icon + Added image to items 2020-04-03 17:09:10 -07:00
Gemfile Update to Ruby 3 and add RPI CP boards 2021-11-29 18:54:06 -08:00
Gemfile.lock Bump image_processing from 1.12.1 to 1.12.2 2022-03-01 23:22:05 +00:00
index.html Update based on review 2022-10-16 09:36:43 -04: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.md 2022-07-18 15:07:07 -07:00
stats.html add title and permalink 2019-04-04 15:39:20 -05:00
template.md Update template.md 2022-09-20 23:18:46 +02: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