From c48244a0eaa9efabad997c7c60c908300a061abc Mon Sep 17 00:00:00 2001 From: Justin Cooper Date: Tue, 4 Jun 2019 12:05:55 -0500 Subject: [PATCH] load images based on srcset and display smallest images possible for each viewport size --- Gemfile | 5 +++++ Gemfile.lock | 9 +++++++++ README.md | 3 +++ Rakefile | 2 +- _blinka/google_coral.md | 2 +- _blinka/orange_pi.md | 2 +- _blinka/raspberry_pi.md | 2 +- _board/arduino_mkr1300.md | 2 +- _board/arduino_mkrzero.md | 2 +- _board/arduino_zero.md | 2 +- _board/bast_pro_mini_m0.md | 2 +- _board/catwan_usbstick.md | 2 +- _board/circuitplayground_express.md | 2 +- _board/circuitplayground_express_4h.md | 2 +- _board/circuitplayground_express_crickit.md | 2 +- .../circuitplayground_express_digikey_pycon2019.md | 2 +- _board/cp32-m4.md | 2 +- _board/datalore_ip_m4.md | 2 +- _board/electronut_labs_papyr.md | 2 +- _board/feather_huzzah.md | 2 +- _board/feather_m0_adalogger.md | 2 +- _board/feather_m0_basic.md | 2 +- _board/feather_m0_express.md | 2 +- _board/feather_m0_express_crickit.md | 2 +- _board/feather_m0_rfm69.md | 2 +- _board/feather_m0_rfm9x.md | 2 +- _board/feather_m0_supersized.md | 2 +- _board/feather_m4_express.md | 2 +- _board/feather_nrf52832.md | 2 +- _board/feather_nrf52840_express.md | 2 +- _board/feather_radiofruit_zigbee.md | 2 +- _board/gb_m4.md | 2 +- _board/gemma_m0.md | 2 +- _board/gemma_m0_pycon2018.md | 2 +- _board/grandcentral_m4_express.md | 2 +- _board/hallowing_m0_express.md | 2 +- _board/itsybitsy_m0_express.md | 2 +- _board/itsybitsy_m4_express.md | 2 +- _board/kicksat-sprite.md | 2 +- _board/makerdiary_nrf52840_mdk.md | 2 +- _board/makerdiary_nrf52840_mdk_usb_dongle.md | 2 +- _board/meowmeow.md | 2 +- _board/metro_m0_express.md | 2 +- _board/metro_m4_airlift_lite.md | 2 +- _board/metro_m4_express.md | 2 +- _board/mini_sam_m4.md | 2 +- _board/particle_argon.md | 2 +- _board/particle_boron.md | 2 +- _board/particle_xenon.md | 2 +- _board/pca10040.md | 2 +- _board/pca10056.md | 2 +- _board/pca10059.md | 2 +- _board/pewpew10.md | 2 +- _board/pewpew13.md | 2 +- _board/pirkey_m0.md | 2 +- _board/pybadge.md | 2 +- _board/pyportal.md | 2 +- _board/sam32.md | 2 +- _board/sparkfun_lumidrive.md | 2 +- _board/sparkfun_nrf52840_mini.md | 2 +- _board/sparkfun_redboard_turbo.md | 2 +- _board/sparkfun_samd21_dev.md | 2 +- _board/sparkfun_samd21_mini.md | 2 +- _board/trellis_m4_express.md | 2 +- _board/trinket_m0.md | 2 +- _board/trinket_m0_haxpress.md | 2 +- _board/uchip.md | 2 +- _board/ugame10.md | 2 +- _board/unknown.md | 2 +- _config.yml | 2 +- _layouts/download.html | 2 +- blinka.html | 6 +++++- downloads.html | 12 ++++++++++-- lib/tasks/images.rake | 4 ++-- template.md | 2 +- 75 files changed, 103 insertions(+), 74 deletions(-) diff --git a/Gemfile b/Gemfile index e425cc18..5ef7230c 100644 --- a/Gemfile +++ b/Gemfile @@ -21,3 +21,8 @@ group :jekyll_plugins do gem 'jekyll-seo-tag' gem 'jekyll-paginate' end + +group :development do + gem 'rake' + gem 'image_processing' +end diff --git a/Gemfile.lock b/Gemfile.lock index 9ef7115e..b429e07d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -14,6 +14,9 @@ GEM http_parser.rb (0.6.0) i18n (0.9.5) concurrent-ruby (~> 1.0) + image_processing (1.9.0) + mini_magick (>= 4.9.3, < 5) + ruby-vips (>= 2.0.13, < 3) jekyll (3.8.4) addressable (~> 2.4) colorator (~> 1.0) @@ -43,13 +46,17 @@ GEM rb-inotify (~> 0.9, >= 0.9.7) ruby_dep (~> 1.2) mercenary (0.3.6) + mini_magick (4.9.3) pathutil (0.16.1) forwardable-extended (~> 2.6) public_suffix (3.0.3) + rake (12.3.2) rb-fsevent (0.10.3) rb-inotify (0.9.10) ffi (>= 0.5.0, < 2) rouge (3.3.0) + ruby-vips (2.0.13) + ffi (~> 1.9) ruby_dep (1.5.0) safe_yaml (1.0.4) sass (3.6.0) @@ -62,10 +69,12 @@ PLATFORMS ruby DEPENDENCIES + image_processing jekyll (~> 3.8.4) jekyll-paginate jekyll-seo-tag jekyll-sitemap + rake BUNDLED WITH 1.17.1 diff --git a/README.md b/README.md index df9bf406..3da1360d 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,7 @@ 1. Duplicate `template.md` to `_board/.md`. 2. Edit `_board/.md` according to the template's instructions. +3. Provide 3 images. An original high-quality image. A smaller image (300 px width), +and a larger image (700 px width) in each respective directory (assets/images/boards/{small large}) +and process them in something like https://squoosh.app/ to reduce file size. 3. Create a pull request with the file changes. diff --git a/Rakefile b/Rakefile index a12e727d..cb4628ad 100644 --- a/Rakefile +++ b/Rakefile @@ -1 +1 @@ -Dir.glob('lib/tasks/*.rake').each { |r| load r} +Dir.glob('lib/tasks/*.rake').each { |r| load r } diff --git a/_blinka/google_coral.md b/_blinka/google_coral.md index 2ab26bd9..e7650c8e 100644 --- a/_blinka/google_coral.md +++ b/_blinka/google_coral.md @@ -5,7 +5,7 @@ title: "Google Coral Dev Board" name: "Google Coral Dev Board" manufacturer: "Google" board_url: "https://coral.withgoogle.com/products/dev-board" -board_image: "/assets/images/boards/google_coral.jpg" +board_image: "google_coral.jpg" download_instructions: "https://learn.adafruit.com/circuitpython-on-google-coral-linux-blinka" downloads_display: true blinka: true diff --git a/_blinka/orange_pi.md b/_blinka/orange_pi.md index f56a7f52..96af532f 100644 --- a/_blinka/orange_pi.md +++ b/_blinka/orange_pi.md @@ -5,7 +5,7 @@ title: "OrangePi Download" name: "OrangePi" manufacturer: "Shenzhen Xunlong Software CO.,Limited" board_url: "http://www.orangepi.org/orangepipc/" -board_image: "/assets/images/boards/orange_pi.jpg" +board_image: "orange_pi.jpg" download_instructions: "https://learn.adafruit.com/circuitpython-on-orangepi-linux/circuitpython-orangepi" downloads_display: true blinka: true diff --git a/_blinka/raspberry_pi.md b/_blinka/raspberry_pi.md index f248dd55..89dd6a52 100644 --- a/_blinka/raspberry_pi.md +++ b/_blinka/raspberry_pi.md @@ -5,7 +5,7 @@ title: "Raspberry Pi 3 Model B+ Download" name: "Raspberry Pi 3 Model B+" manufacturer: "Raspberry Pi Foundation" board_url: "https://www.raspberrypi.org/products/raspberry-pi-3-model-b-plus/" -board_image: "/assets/images/boards/raspberry_pi.jpg" +board_image: "raspberry_pi.jpg" download_instructions: "https://learn.adafruit.com/circuitpython-on-raspberrypi-linux/installing-circuitpython-on-raspberry-pi" downloads_display: true blinka: true diff --git a/_board/arduino_mkr1300.md b/_board/arduino_mkr1300.md index 96c91103..be89d4a4 100644 --- a/_board/arduino_mkr1300.md +++ b/_board/arduino_mkr1300.md @@ -5,7 +5,7 @@ title: "MKR WAN 1300 Download" name: "MKR WAN 1300" manufacturer: "Arduino" board_url: "https://www.arduino.cc/en/Guide/MKRWAN1300" -board_image: "/assets/images/boards/arduino_mkr1300_01.jpg" +board_image: "arduino_mkr1300_01.jpg" --- Arduino MKR WAN 1300 has been designed to offer a practical and cost effective solution for makers seeking to add Lo-Ra connectivity to their projects with minimal previous experience in networking. It is based on the Microchip SAMD21 and a Murata CMWX1ZZABZ Lo-Ra module. diff --git a/_board/arduino_mkrzero.md b/_board/arduino_mkrzero.md index 64cf357d..dba269c2 100644 --- a/_board/arduino_mkrzero.md +++ b/_board/arduino_mkrzero.md @@ -5,7 +5,7 @@ title: "MKR Zero Download" name: "MKR Zero" manufacturer: "Arduino" board_url: "https://www.arduino.cc/en/Guide/ArduinoMKRZero" -board_image: "/assets/images/boards/arduino_mkr_zero.jpg" +board_image: "arduino_mkr_zero.jpg" features: - Battery Charging --- diff --git a/_board/arduino_zero.md b/_board/arduino_zero.md index 30c76532..936e9023 100644 --- a/_board/arduino_zero.md +++ b/_board/arduino_zero.md @@ -5,7 +5,7 @@ title: "Zero Download" name: "Zero" manufacturer: "Arduino" board_url: "https://www.arduino.cc/en/Guide/ArduinoZero" -board_image: "/assets/images/boards/arduino_zero.jpg" +board_image: "arduino_zero.jpg" --- The Arduino Zero is a simple and powerful 32-bit extension of the platform established by the UNO. The Zero board expands the family by providing increased performance, enabling a variety of project opportunities for devices, and acts as a great educational tool for learning about 32-bit application development. diff --git a/_board/bast_pro_mini_m0.md b/_board/bast_pro_mini_m0.md index 4d93f84d..49c0187e 100644 --- a/_board/bast_pro_mini_m0.md +++ b/_board/bast_pro_mini_m0.md @@ -5,7 +5,7 @@ title: "bast_pro_mini_m0 Download" name: "bast_pro_mini_m0" manufacturer: "unknown" board_url: "" -board_image: "/assets/images/boards/unknown.jpg" +board_image: "unknown.jpg" downloads_display: false features: --- diff --git a/_board/catwan_usbstick.md b/_board/catwan_usbstick.md index b12a48a8..aafda755 100644 --- a/_board/catwan_usbstick.md +++ b/_board/catwan_usbstick.md @@ -5,7 +5,7 @@ title: "CatWAN USB Stick Download" name: "CatWAN USB Stick" manufacturer: "Electronic Cats" board_url: "" -board_image: "/assets/images/boards/catwan_usbstick.jpg" +board_image: "catwan_usbstick.jpg" features: - LoRa/Radio --- diff --git a/_board/circuitplayground_express.md b/_board/circuitplayground_express.md index bbab8316..c5a9a8d8 100644 --- a/_board/circuitplayground_express.md +++ b/_board/circuitplayground_express.md @@ -5,7 +5,7 @@ title: "Circuit Playground Express Download" name: "Circuit Playground Express" manufacturer: "Adafruit" board_url: "https://www.adafruit.com" -board_image: "/assets/images/boards/circuitplayground_express.jpg" +board_image: "circuitplayground_express.jpg" features: - Speaker - Solder-free Alligator clip diff --git a/_board/circuitplayground_express_4h.md b/_board/circuitplayground_express_4h.md index bd50d08f..bfb53628 100644 --- a/_board/circuitplayground_express_4h.md +++ b/_board/circuitplayground_express_4h.md @@ -5,7 +5,7 @@ title: "Circuit Playground Express 4-H Download" name: "Circuit Playground Express 4-H" manufacturer: "Adafruit" board_url: "https://www.adafruit.com" -board_image: "/assets/images/boards/circuitplayground_express_4h.jpg" +board_image: "circuitplayground_express_4h.jpg" features: - Speaker - Solder-free Alligator clip diff --git a/_board/circuitplayground_express_crickit.md b/_board/circuitplayground_express_crickit.md index c2efaf03..6f175976 100644 --- a/_board/circuitplayground_express_crickit.md +++ b/_board/circuitplayground_express_crickit.md @@ -5,7 +5,7 @@ title: "Circuit Playground Express + Crickit Download" name: "Circuit Playground Express + Crickit" manufacturer: "Adafruit" board_url: "" -board_image: "/assets/images/boards/circuitplayground_express_crickit.jpg" +board_image: "circuitplayground_express_crickit.jpg" features: - Speaker - Robotics diff --git a/_board/circuitplayground_express_digikey_pycon2019.md b/_board/circuitplayground_express_digikey_pycon2019.md index 7b898018..a7f702e7 100644 --- a/_board/circuitplayground_express_digikey_pycon2019.md +++ b/_board/circuitplayground_express_digikey_pycon2019.md @@ -5,7 +5,7 @@ title: "Circuit Playground Express Digi-Key PyCon 2019 Download" name: "Circuit Playground Express Digi-Key" manufacturer: "Adafruit" board_url: "https://www.adafruit.com" -board_image: "/assets/images/boards/circuitplayground_express_digikey_pycon2019.jpg" +board_image: "circuitplayground_express_digikey_pycon2019.jpg" features: - Speaker - Solder-free Alligator clip diff --git a/_board/cp32-m4.md b/_board/cp32-m4.md index 23a54682..5d6c487b 100644 --- a/_board/cp32-m4.md +++ b/_board/cp32-m4.md @@ -5,7 +5,7 @@ title: "cp32-m4 Download" name: "cp32-m4" manufacturer: "unknown" board_url: "" -board_image: "/assets/images/boards/unknown.jpg" +board_image: "unknown.jpg" downloads_display: false features: --- diff --git a/_board/datalore_ip_m4.md b/_board/datalore_ip_m4.md index 094139c5..3e4b1f74 100644 --- a/_board/datalore_ip_m4.md +++ b/_board/datalore_ip_m4.md @@ -5,7 +5,7 @@ title: "datalore_ip_m4 Download" name: "datalore_ip_m4" manufacturer: "unknown" board_url: "" -board_image: "/assets/images/boards/unknown.jpg" +board_image: "unknown.jpg" downloads_display: false features: --- diff --git a/_board/electronut_labs_papyr.md b/_board/electronut_labs_papyr.md index 1f7d0fe8..09b3b768 100644 --- a/_board/electronut_labs_papyr.md +++ b/_board/electronut_labs_papyr.md @@ -5,7 +5,7 @@ title: "Papyr Download" name: "Papyr" manufacturer: "Electronut Labs" board_url: "https://docs.electronut.in/papyr/" -board_image: "/assets/images/boards/electronut_labs_papyr.jpg" +board_image: "electronut_labs_papyr.jpg" downloads_display: true features: - E-Ink/E-Paper diff --git a/_board/feather_huzzah.md b/_board/feather_huzzah.md index b23c78ec..730b9bd2 100644 --- a/_board/feather_huzzah.md +++ b/_board/feather_huzzah.md @@ -5,7 +5,7 @@ title: "Feather Huzzah Download" name: "Feather Huzzah" manufacturer: "Adafruit" board_url: "" -board_image: "/assets/images/boards/feather_huzzah.jpg" +board_image: "feather_huzzah.jpg" features: - Feather-compatible - Battery Charging diff --git a/_board/feather_m0_adalogger.md b/_board/feather_m0_adalogger.md index f29295ea..fe4af3d1 100644 --- a/_board/feather_m0_adalogger.md +++ b/_board/feather_m0_adalogger.md @@ -5,7 +5,7 @@ title: "Feather M0 Adalogger Download" name: "Feather M0 Adalogger" manufacturer: "Adafruit" board_url: "" -board_image: "/assets/images/boards/feather_m0_adalogger.jpg" +board_image: "feather_m0_adalogger.jpg" features: - Feather-compatible - Battery Charging diff --git a/_board/feather_m0_basic.md b/_board/feather_m0_basic.md index 9e804fd1..2ce0b559 100644 --- a/_board/feather_m0_basic.md +++ b/_board/feather_m0_basic.md @@ -5,7 +5,7 @@ title: "Feather M0 Basic Download" name: "Feather M0 Basic" manufacturer: "Adafruit" board_url: "" -board_image: "/assets/images/boards/feather_m0_basic.jpg" +board_image: "feather_m0_basic.jpg" features: - Feather-compatible - Battery Charging diff --git a/_board/feather_m0_express.md b/_board/feather_m0_express.md index 696ea98c..98b1f239 100644 --- a/_board/feather_m0_express.md +++ b/_board/feather_m0_express.md @@ -5,7 +5,7 @@ title: "Feather M0 Express Download" name: "Feather M0 Express" manufacturer: "Adafruit" board_url: "https://www.adafruit.com/product/3403" -board_image: "/assets/images/boards/feather_m0_express.jpg" +board_image: "feather_m0_express.jpg" features: - Feather-compatible - Battery Charging diff --git a/_board/feather_m0_express_crickit.md b/_board/feather_m0_express_crickit.md index ed9e3e99..860162bc 100644 --- a/_board/feather_m0_express_crickit.md +++ b/_board/feather_m0_express_crickit.md @@ -5,7 +5,7 @@ title: "Feather M0 Express + Crickit Download" name: "Feather M0 Express + Crickit" manufacturer: "Adafruit" board_url: "" -board_image: "/assets/images/boards/feather_m0_express_crickit.jpg" +board_image: "feather_m0_express_crickit.jpg" features: - Speaker - Feather-compatible diff --git a/_board/feather_m0_rfm69.md b/_board/feather_m0_rfm69.md index 8a15c2db..74089417 100644 --- a/_board/feather_m0_rfm69.md +++ b/_board/feather_m0_rfm69.md @@ -5,7 +5,7 @@ title: "Feather M0 RFM69 Download" name: "Feather M0 RFM69" manufacturer: "Adafruit" board_url: "" -board_image: "/assets/images/boards/feather_m0_rfm69.jpg" +board_image: "feather_m0_rfm69.jpg" features: - Feather-compatible - Battery Charging diff --git a/_board/feather_m0_rfm9x.md b/_board/feather_m0_rfm9x.md index 4f8356b3..14241358 100644 --- a/_board/feather_m0_rfm9x.md +++ b/_board/feather_m0_rfm9x.md @@ -5,7 +5,7 @@ title: "Feather M0 RFM9x Download" name: "Feather M0 RFM9x" manufacturer: "Adafruit" board_url: "" -board_image: "/assets/images/boards/feather_m0_rfm9x.jpg" +board_image: "feather_m0_rfm9x.jpg" features: - Feather-compatible - Battery Charging diff --git a/_board/feather_m0_supersized.md b/_board/feather_m0_supersized.md index b2ad83ec..cab195f7 100644 --- a/_board/feather_m0_supersized.md +++ b/_board/feather_m0_supersized.md @@ -5,7 +5,7 @@ title: "Feather M0 Supersized Download" name: "Feather M0 Supersized" manufacturer: "Dave Astels" board_url: "" -board_image: "/assets/images/boards/feather_m0_supersized.jpg" +board_image: "feather_m0_supersized.jpg" features: - Feather-compatible - Battery Charging diff --git a/_board/feather_m4_express.md b/_board/feather_m4_express.md index 7cd911a9..5fd133b5 100644 --- a/_board/feather_m4_express.md +++ b/_board/feather_m4_express.md @@ -5,7 +5,7 @@ title: "Feather M4 Express Download" name: "Feather M4 Express" manufacturer: "Adafruit" board_url: "https://www.adafruit.com" -board_image: "/assets/images/boards/feather_m4_express.jpg" +board_image: "feather_m4_express.jpg" features: - Feather-compatible - Battery Charging diff --git a/_board/feather_nrf52832.md b/_board/feather_nrf52832.md index a121d2cf..7755335c 100644 --- a/_board/feather_nrf52832.md +++ b/_board/feather_nrf52832.md @@ -5,7 +5,7 @@ title: "Feather nRF52832 Download" name: "Feather nRF52832" manufacturer: "Adafruit" board_url: "" -board_image: "/assets/images/boards/feather_nrf52832.jpg" +board_image: "feather_nrf52832.jpg" features: - Feather-compatible - Battery Charging diff --git a/_board/feather_nrf52840_express.md b/_board/feather_nrf52840_express.md index 7436fa36..9aaed243 100644 --- a/_board/feather_nrf52840_express.md +++ b/_board/feather_nrf52840_express.md @@ -5,7 +5,7 @@ title: "Feather nRF52840 Express Download" name: "Feather nRF52840 Express" manufacturer: "Adafruit" board_url: "" -board_image: "/assets/images/boards/feather_nrf52840_express.jpg" +board_image: "feather_nrf52840_express.jpg" features: - Feather-compatible - Battery Charging diff --git a/_board/feather_radiofruit_zigbee.md b/_board/feather_radiofruit_zigbee.md index 8c084c7e..a0368d8c 100644 --- a/_board/feather_radiofruit_zigbee.md +++ b/_board/feather_radiofruit_zigbee.md @@ -5,7 +5,7 @@ title: "feather_radiofruit_zigbee Download" name: "feather_radiofruit_zigbee" manufacturer: "Adafruit" board_url: "" -board_image: "/assets/images/boards/unknown.jpg" +board_image: "unknown.jpg" downloads_display: false features: --- diff --git a/_board/gb_m4.md b/_board/gb_m4.md index 8c9eb921..cd0b8de3 100644 --- a/_board/gb_m4.md +++ b/_board/gb_m4.md @@ -5,7 +5,7 @@ title: "Python powered GameBoy-compatible cartridge Download" name: "Python powered GameBoy-compatible cartridge" manufacturer: "Scott Shawcroft" board_url: "https://github.com/chickadee-tech/pygb" -board_image: "/assets/images/boards/gb_m4.jpg" +board_image: "gb_m4.jpg" --- CircuitPython for Game Boy is a work in progress, check out the weekly "Show and Tell" or “Top Secret” segment on ASK AN ENGINEER or when it's ready, the new product videos on [YouTube](https://www.youtube.com/adafruit). diff --git a/_board/gemma_m0.md b/_board/gemma_m0.md index cab5d1dc..5b18ad99 100644 --- a/_board/gemma_m0.md +++ b/_board/gemma_m0.md @@ -5,7 +5,7 @@ title: "Gemma M0 Download" name: "Gemma M0" manufacturer: "Adafruit" board_url: "" -board_image: "/assets/images/boards/gemma_m0.jpg" +board_image: "gemma_m0.jpg" features: - Solder-free Alligator clip --- diff --git a/_board/gemma_m0_pycon2018.md b/_board/gemma_m0_pycon2018.md index 0085b4c8..6797d48b 100644 --- a/_board/gemma_m0_pycon2018.md +++ b/_board/gemma_m0_pycon2018.md @@ -5,7 +5,7 @@ title: "Gemma M0 PyCon 2018 Download" name: "Gemma M0 PyCon 2018" manufacturer: "Adafruit" board_url: "" -board_image: "/assets/images/boards/gemma_m0_pycon2018.jpg" +board_image: "gemma_m0_pycon2018.jpg" features: - Solder-free Alligator clip --- diff --git a/_board/grandcentral_m4_express.md b/_board/grandcentral_m4_express.md index 30d3b161..96613f90 100644 --- a/_board/grandcentral_m4_express.md +++ b/_board/grandcentral_m4_express.md @@ -5,7 +5,7 @@ title: "Grand Central M4 Express Download" name: "Grand Central M4 Express" manufacturer: "Adafruit" board_url: "" -board_image: "/assets/images/boards/grandcentral_m4_express.jpg" +board_image: "grandcentral_m4_express.jpg" --- The **Adafruit Grand Central** features the **Microchip ATSAMD51**. This dev board is so big, it's not named after a Metro train, it's a whole freakin' _station_! diff --git a/_board/hallowing_m0_express.md b/_board/hallowing_m0_express.md index e4dbfea2..6a21e216 100644 --- a/_board/hallowing_m0_express.md +++ b/_board/hallowing_m0_express.md @@ -5,7 +5,7 @@ title: "HalloWing M0 Express Download" name: "HalloWing M0 Express" manufacturer: "Adafruit" board_url: "" -board_image: "/assets/images/boards/hallowing_m0_express.jpg" +board_image: "hallowing_m0_express.jpg" features: - Display - Speaker diff --git a/_board/itsybitsy_m0_express.md b/_board/itsybitsy_m0_express.md index 45fdfcd3..2d6f080c 100644 --- a/_board/itsybitsy_m0_express.md +++ b/_board/itsybitsy_m0_express.md @@ -5,7 +5,7 @@ title: "ItsyBitsy M0 Express Download" name: "ItsyBitsy M0 Express" manufacturer: "Adafruit" board_url: "" -board_image: "/assets/images/boards/itsybitsy_m0_express.jpg" +board_image: "itsybitsy_m0_express.jpg" --- What's smaller than a Feather but larger than a Trinket? It's an **Adafruit ItsyBitsy M0 Express**! Small, powerful, with a rockin' ATSAMD21 Cortex M0 processor running at 48 MHz - this microcontroller board is perfect when you want something very compact, but still with a bunch of pins. diff --git a/_board/itsybitsy_m4_express.md b/_board/itsybitsy_m4_express.md index 05a83002..ab1a99f2 100644 --- a/_board/itsybitsy_m4_express.md +++ b/_board/itsybitsy_m4_express.md @@ -5,7 +5,7 @@ title: "ItsyBitsy M4 Express Download" name: "ItsyBitsy M4 Express" manufacturer: "Adafruit" board_url: "" -board_image: "/assets/images/boards/itsybitsy_m4_express.jpg" +board_image: "itsybitsy_m4_express.jpg" --- What's smaller than a Feather but larger than a Trinket? It's an **Adafruit ItsyBitsy M4 Express** featuring the **Microchip ATSAMD51**! Small, powerful, with a ultra fast ATSAMD51 Cortex M4 processor running at 120 MHz - this microcontroller board is perfect when you want something very compact, with a ton of horsepower and a bunch of pins. This Itsy is like a bullet train, with it's **120MHz Cortex M4** with floating point support and **512KB Flash and 192KB RAM**. Your code will zig and zag and zoom, and with a bunch of extra peripherals for support, this will for sure be your favorite new chipset. diff --git a/_board/kicksat-sprite.md b/_board/kicksat-sprite.md index cfe2a159..7b672415 100644 --- a/_board/kicksat-sprite.md +++ b/_board/kicksat-sprite.md @@ -5,7 +5,7 @@ title: "KickSat Sprite Download" name: "KickSat Sprite" manufacturer: "Max Holliday" board_url: "https://github.com/RoboticExplorationLab/sprite" -board_image: "/assets/images/boards/kicksat-sprite.jpg" +board_image: "kicksat-sprite.jpg" features: - Satellite/Space Exploration --- diff --git a/_board/makerdiary_nrf52840_mdk.md b/_board/makerdiary_nrf52840_mdk.md index 746657a6..c044ae60 100644 --- a/_board/makerdiary_nrf52840_mdk.md +++ b/_board/makerdiary_nrf52840_mdk.md @@ -5,7 +5,7 @@ title: "nRF52840 Micro Dev Kit Download" name: "nRF52840 Micro Dev Kit" manufacturer: "MakerDiary" board_url: "" -board_image: "/assets/images/boards/nRF52840_micro_dev_kit.jpg" +board_image: "nRF52840_micro_dev_kit.jpg" features: - Bluetooth/BTLE --- diff --git a/_board/makerdiary_nrf52840_mdk_usb_dongle.md b/_board/makerdiary_nrf52840_mdk_usb_dongle.md index fe340cf4..7a30dae6 100644 --- a/_board/makerdiary_nrf52840_mdk_usb_dongle.md +++ b/_board/makerdiary_nrf52840_mdk_usb_dongle.md @@ -5,7 +5,7 @@ title: "nRF52840 Micro Dev Kit USB Dongle Download" name: "nRF52840 Micro Dev Kit USB Dongle" manufacturer: "MakerDiary" board_url: "" -board_image: "/assets/images/boards/nRF52840_micro_dev_kit_usb_dongle.jpg" +board_image: "nRF52840_micro_dev_kit_usb_dongle.jpg" features: - Bluetooth/BTLE --- diff --git a/_board/meowmeow.md b/_board/meowmeow.md index 59a23ba1..ee07492f 100644 --- a/_board/meowmeow.md +++ b/_board/meowmeow.md @@ -5,7 +5,7 @@ title: "Meow Meow Download" name: "Meow Meow" manufacturer: "Electronic Cats" board_url: "" -board_image: "/assets/images/boards/meowmeow.jpg" +board_image: "meowmeow.jpg" features: - Solder-free Alligator clip --- diff --git a/_board/metro_m0_express.md b/_board/metro_m0_express.md index c8503adf..1b4c435e 100644 --- a/_board/metro_m0_express.md +++ b/_board/metro_m0_express.md @@ -5,7 +5,7 @@ title: "Metro M0 Express Download" name: "Metro M0 Express" manufacturer: "Adafruit" board_url: "" -board_image: "/assets/images/boards/metro_m0_express.jpg" +board_image: "metro_m0_express.jpg" --- This **Metro M0 Express** board looks a whole lot like the [original Metro 328](https://www.adafruit.com/product/2488), but with a huge upgrade. Instead of the ATmega328, this Metro features a ATSAMD21G18 chip, an ARM Cortex M0+. It's the first Adafruit Metro that is designed for use with CircuitPython! diff --git a/_board/metro_m4_airlift_lite.md b/_board/metro_m4_airlift_lite.md index 96b09260..a4415d5b 100644 --- a/_board/metro_m4_airlift_lite.md +++ b/_board/metro_m4_airlift_lite.md @@ -5,7 +5,7 @@ title: " Metro M4 AirLift Lite Download" name: "Metro M4 AirLift Lite" manufacturer: "Adafruit" board_url: "https://www.adafruit.com/product/4000" -board_image: "/assets/images/boards/metro_m4_airlift_lite.jpg" +board_image: "metro_m4_airlift_lite.jpg" features: - Wi-Fi --- diff --git a/_board/metro_m4_express.md b/_board/metro_m4_express.md index bd0f77ad..6ef69a46 100644 --- a/_board/metro_m4_express.md +++ b/_board/metro_m4_express.md @@ -5,7 +5,7 @@ title: "Metro M4 Express Download" name: "Metro M4 Express" manufacturer: "Adafruit" board_url: "" -board_image: "/assets/images/boards/metro_m4_express.jpg" +board_image: "metro_m4_express.jpg" --- The most powerful Metro at this time, the **Adafruit Metro M4** featuring the **Microchip ATSAMD51**. This Metro is like a bullet train, with it's 120MHz Cortex M4 with floating point support. Your code will zig and zag and zoom, and with a bunch of extra peripherals for support, this will for sure be your favorite new chipset. diff --git a/_board/mini_sam_m4.md b/_board/mini_sam_m4.md index 4fe4020b..7f20b047 100644 --- a/_board/mini_sam_m4.md +++ b/_board/mini_sam_m4.md @@ -5,7 +5,7 @@ title: "Mini SAM M4 Download" name: "Mini SAM M4" manufacturer: "Benjamin Shockley" board_url: "www.minisam.cc" -board_image: "/assets/images/boards/mini_sam_m4.jpg" +board_image: "mini_sam_m4.jpg" --- Mini SAM is a LEGO® minifigure-sized development board based on the Microchip SAMD51G 48-Pin 32-Bit ARM® Cortex®-M4F MCU running at 48Mhz. diff --git a/_board/particle_argon.md b/_board/particle_argon.md index fb3048a9..3f7e4cd7 100644 --- a/_board/particle_argon.md +++ b/_board/particle_argon.md @@ -5,7 +5,7 @@ title: "Argon Download" name: "Argon" manufacturer: "Particle" board_url: "https://docs.particle.io/datasheets/wi-fi/argon-datasheet/" -board_image: "/assets/images/boards/particle_argon.jpg" +board_image: "particle_argon.jpg" features: - Feather-compatible - Battery Charging diff --git a/_board/particle_boron.md b/_board/particle_boron.md index f0663c1a..23e22064 100644 --- a/_board/particle_boron.md +++ b/_board/particle_boron.md @@ -5,7 +5,7 @@ title: "Boron Download" name: "Boron" manufacturer: "Particle" board_url: "https://docs.particle.io/datasheets/wi-fi/boron-datasheet/" -board_image: "/assets/images/boards/particle_boron.jpg" +board_image: "particle_boron.jpg" features: - Feather-compatible - Battery Charging diff --git a/_board/particle_xenon.md b/_board/particle_xenon.md index 370fb212..8d5f451f 100644 --- a/_board/particle_xenon.md +++ b/_board/particle_xenon.md @@ -5,7 +5,7 @@ title: "Xenon Download" name: "Xenon" manufacturer: "Particle" board_url: "https://docs.particle.io/datasheets/wi-fi/xenon-datasheet/" -board_image: "/assets/images/boards/particle_xenon.jpg" +board_image: "particle_xenon.jpg" features: - Feather-compatible - Battery Charging diff --git a/_board/pca10040.md b/_board/pca10040.md index f62bf125..21d164a7 100644 --- a/_board/pca10040.md +++ b/_board/pca10040.md @@ -5,7 +5,7 @@ title: "pca10040 Download" name: "pca10040" manufacturer: "unknown" board_url: "" -board_image: "/assets/images/boards/unknown.jpg" +board_image: "unknown.jpg" downloads_display: false features: --- diff --git a/_board/pca10056.md b/_board/pca10056.md index 71cb9c84..65ec6dbb 100644 --- a/_board/pca10056.md +++ b/_board/pca10056.md @@ -5,7 +5,7 @@ title: "nRF52840 DK (PCA10056) Download" name: "nRF52840 DK (PCA10056)" manufacturer: "Nordic Semiconductor" board_url: "https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF52840-DK" -board_image: "/assets/images/boards/nRF52840_dk.jpg" +board_image: "nRF52840_dk.jpg" features: - Bluetooth/BTLE --- diff --git a/_board/pca10059.md b/_board/pca10059.md index c64ba474..34de1c7c 100644 --- a/_board/pca10059.md +++ b/_board/pca10059.md @@ -5,7 +5,7 @@ title: "nRF52840 Dongle (PCA10059) Download" name: "nRF52840 Dongle (PCA10059)" manufacturer: "Nordic" board_url: "https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF52840-Dongle" -board_image: "/assets/images/boards/nRF52840_dongle.jpg" +board_image: "nRF52840_dongle.jpg" features: - Bluetooth/BTLE --- diff --git a/_board/pewpew10.md b/_board/pewpew10.md index 30abab44..911656ae 100644 --- a/_board/pewpew10.md +++ b/_board/pewpew10.md @@ -5,7 +5,7 @@ title: "PewPew Download" name: "PewPew" manufacturer: "Radomir Dopieralski" board_url: "https://pewpew.rtfd.io" -board_image: "/assets/images/boards/pewpew_10.2.jpg" +board_image: "pewpew_10.2.jpg" features: - Display --- diff --git a/_board/pewpew13.md b/_board/pewpew13.md index 4b5d57d0..305dbbbe 100644 --- a/_board/pewpew13.md +++ b/_board/pewpew13.md @@ -5,7 +5,7 @@ title: "pewpew13 Download" name: "pewpew13" manufacturer: "unknown" board_url: "" -board_image: "/assets/images/boards/unknown.jpg" +board_image: "unknown.jpg" downloads_display: false features: --- diff --git a/_board/pirkey_m0.md b/_board/pirkey_m0.md index f1d6a81b..34273634 100644 --- a/_board/pirkey_m0.md +++ b/_board/pirkey_m0.md @@ -5,7 +5,7 @@ title: "pIRkey Download" name: "pIRkey" manufacturer: "Adafruit" board_url: "https://www.adafruit.com/product/3364" -board_image: "/assets/images/boards/pirkey_m0.jpg" +board_image: "pirkey_m0.jpg" --- The pIRkey adds an IR remote receiver to any computer, laptop, tablet...any computer or device with a USB port that can use a keyboard. This little board slides into any USB A port, and shows up as an every-day USB keyboard. The onboard ATSAMD21 microcontroller listens for IR remote signals and converts them to keypresses, mouse movements, or even USB serial output. diff --git a/_board/pybadge.md b/_board/pybadge.md index 748b9ea6..e99fb354 100644 --- a/_board/pybadge.md +++ b/_board/pybadge.md @@ -5,7 +5,7 @@ title: "PyBadge Download" name: "PyBadge" manufacturer: "Adafruit" board_url: "" -board_image: "/assets/images/boards/pybadge.jpg" +board_image: "pybadge.jpg" features: - Display - Speaker diff --git a/_board/pyportal.md b/_board/pyportal.md index eaf4e441..7b57c5a6 100644 --- a/_board/pyportal.md +++ b/_board/pyportal.md @@ -5,7 +5,7 @@ title: "PyPortal Download" name: "PyPortal" manufacturer: "Adafruit" board_url: "" -board_image: "/assets/images/boards/pyportal.jpg" +board_image: "pyportal.jpg" features: - Display - Speaker diff --git a/_board/sam32.md b/_board/sam32.md index 0e160997..b5993909 100644 --- a/_board/sam32.md +++ b/_board/sam32.md @@ -5,7 +5,7 @@ title: "SAM32 Download" name: "SAM32" manufacturer: "Max Holliday" board_url: "https://github.com/maholli/SAM32" -board_image: "/assets/images/boards/sam32.jpg" +board_image: "sam32.jpg" features: --- diff --git a/_board/sparkfun_lumidrive.md b/_board/sparkfun_lumidrive.md index 7daf1ca5..e59b84f8 100644 --- a/_board/sparkfun_lumidrive.md +++ b/_board/sparkfun_lumidrive.md @@ -5,7 +5,7 @@ title: "LumiDrive Download" name: "LumiDrive" manufacturer: "SparkFun" board_url: "" -board_image: "/assets/images/boards/sparkfun_lumidrive_01.jpg" +board_image: "sparkfun_lumidrive_01.jpg" features: - Battery Charging --- diff --git a/_board/sparkfun_nrf52840_mini.md b/_board/sparkfun_nrf52840_mini.md index 15f63e6a..87ba1666 100644 --- a/_board/sparkfun_nrf52840_mini.md +++ b/_board/sparkfun_nrf52840_mini.md @@ -5,7 +5,7 @@ title: "nRF52840 Mini Download" name: "Pro nRF52840 Mini" manufacturer: "SparkFun" board_url: "" -board_image: "/assets/images/boards/sparkfun_nrf52840_mini-01.jpg" +board_image: "sparkfun_nrf52840_mini-01.jpg" features: - Battery Charging - Bluetooth/BTLE diff --git a/_board/sparkfun_redboard_turbo.md b/_board/sparkfun_redboard_turbo.md index cb28a44c..15404e83 100644 --- a/_board/sparkfun_redboard_turbo.md +++ b/_board/sparkfun_redboard_turbo.md @@ -5,7 +5,7 @@ title: "RedBoard Turbo Download" name: "RedBoard Turbo" manufacturer: "SparkFun" board_url: "" -board_image: "/assets/images/boards/sparkfun_redboard_turbo.jpg" +board_image: "sparkfun_redboard_turbo.jpg" features: - Battery Charging --- diff --git a/_board/sparkfun_samd21_dev.md b/_board/sparkfun_samd21_dev.md index 117c712e..958410ee 100644 --- a/_board/sparkfun_samd21_dev.md +++ b/_board/sparkfun_samd21_dev.md @@ -5,7 +5,7 @@ title: "SAMD21 Dev Download" name: "SAMD21 Dev" manufacturer: "SparkFun" board_url: "" -board_image: "/assets/images/boards/sparkfun_samd21_dev.jpg" +board_image: "sparkfun_samd21_dev.jpg" --- The SparkFun SAMD21 Dev Breakout is an Arduino-sized breakout for the Atmel ATSAMD21G18, a 32-bit ARM Cortex-M0+ processor with 256KB flash, 32KB SRAM, and an operating speed of up to 48MHz. diff --git a/_board/sparkfun_samd21_mini.md b/_board/sparkfun_samd21_mini.md index 41ac342c..6971f634 100644 --- a/_board/sparkfun_samd21_mini.md +++ b/_board/sparkfun_samd21_mini.md @@ -5,7 +5,7 @@ title: "SAMD21 Mini Download" name: "SAMD21 Mini" manufacturer: "SparkFun" board_url: "" -board_image: "/assets/images/boards/sparkfun_samd21_mini.jpg" +board_image: "sparkfun_samd21_mini.jpg" --- The SAMD21 Mini Breakout is a Pro Mini-sized breakout for the Atmel ATSAMD21G18, a 32-bit ARM Cortex-M0+ processor with 256KB flash, 32KB SRAM, and an operating speed of up to 48MHz. diff --git a/_board/trellis_m4_express.md b/_board/trellis_m4_express.md index 5a26db04..93654d28 100644 --- a/_board/trellis_m4_express.md +++ b/_board/trellis_m4_express.md @@ -5,7 +5,7 @@ title: "NeoTrellis M4 Download" name: "NeoTrellis M4" manufacturer: "Adafruit" board_url: "" -board_image: "/assets/images/boards/trellis_m4_express.jpg" +board_image: "trellis_m4_express.jpg" features: - Display --- diff --git a/_board/trinket_m0.md b/_board/trinket_m0.md index ecbe15a6..657c725b 100644 --- a/_board/trinket_m0.md +++ b/_board/trinket_m0.md @@ -5,7 +5,7 @@ title: "Trinket M0 Download" name: "Trinket M0" manufacturer: "Adafruit" board_url: "" -board_image: "/assets/images/boards/trinket_m0.jpg" +board_image: "trinket_m0.jpg" --- The Adafruit Trinket M0 may be small, but do not be fooled by its size! It's a tiny microcontroller board, built around the Atmel ATSAMD21, a little chip with _a lot_ of power. Adafruit designed a microcontroller board that was small enough to fit into any project, and low cost enough to use without hesitation. Perfect for when you don't want to give up your expensive dev-board and you aren't willing to take apart the project you worked so hard to design. It's one of the lowest-cost CircuitPython programmable boards! diff --git a/_board/trinket_m0_haxpress.md b/_board/trinket_m0_haxpress.md index 48b17c8a..c4f54da3 100644 --- a/_board/trinket_m0_haxpress.md +++ b/_board/trinket_m0_haxpress.md @@ -5,7 +5,7 @@ title: "Trinket M0 Haxpress Download" name: "Trinket M0 Haxpress" manufacturer: "Dave Astels" board_url: "" -board_image: "/assets/images/boards/trinket_m0_haxpress.jpg" +board_image: "trinket_m0_haxpress.jpg" --- This is a [Trinket M0]({{ "/board/trinket_m0/" | relative_url }}) that has been had a SPI flash diff --git a/_board/uchip.md b/_board/uchip.md index 34e5b0e8..a677a104 100644 --- a/_board/uchip.md +++ b/_board/uchip.md @@ -5,7 +5,7 @@ title: "uChip Download" name: "uChip M0" manufacturer: "Itaca Innovation" board_url: "" -board_image: "/assets/images/boards/uchip.jpg" +board_image: "uchip.jpg" --- **Small. Yet powerful!** diff --git a/_board/ugame10.md b/_board/ugame10.md index ea519991..bbdf3ed8 100644 --- a/_board/ugame10.md +++ b/_board/ugame10.md @@ -5,7 +5,7 @@ title: "µGame Download" name: "µGame" manufacturer: "Radomir Dopieralski" board_url: "https://ugame.rtfd.io" -board_image: "/assets/images/boards/ugame_10.jpg" +board_image: "ugame_10.jpg" features: - Display - Speaker diff --git a/_board/unknown.md b/_board/unknown.md index 1f5de769..2671ee2e 100644 --- a/_board/unknown.md +++ b/_board/unknown.md @@ -4,7 +4,7 @@ board_id: "unknown" title: "Unknown Board Download" manufacturer: "Unknown" board_url: "" -board_image: "/assets/images/boards/unknown.jpg" +board_image: "unknown.jpg" --- Oops! Looks like we don't know anything about this board. This means it's likely very new. diff --git a/_config.yml b/_config.yml index 9c871148..676bf676 100644 --- a/_config.yml +++ b/_config.yml @@ -9,7 +9,6 @@ paginate: 5 excerpt_separator: permalink: pretty plugins: - - jekyll-feed - jekyll-sitemap - jekyll-seo-tag - jekyll-paginate @@ -51,3 +50,4 @@ exclude: - optimization-fix-this-file-is-ignored.js - icon.png - template.md + - Rakefile diff --git a/_layouts/download.html b/_layouts/download.html index b191f476..91099843 100644 --- a/_layouts/download.html +++ b/_layouts/download.html @@ -8,7 +8,7 @@ layout: default