Skip to content

Resize and optimize image sizes #218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
9 changes: 9 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -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
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@

1. Duplicate `template.md` to `_board/<board id>.md`.
2. Edit `_board/<board id>.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 original})
and process them in something like https://squoosh.app/ to reduce file size. If
you only have one image, place it in the 'original' folder.
3. Create a pull request with the file changes.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Dir.glob('lib/tasks/*.rake').each { |r| load r}
Dir.glob('lib/tasks/*.rake').each { |r| load r }
2 changes: 1 addition & 1 deletion _blinka/google_coral.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _blinka/orange_pi_pc.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: "Orange Pi PC Download"
name: "Orange Pi PC"
manufacturer: "Shenzhen Xunlong Software CO.,Limited"
board_url: "http://www.orangepi.org/orangepipc/"
board_image: "/assets/images/boards/orange_pi_pc.jpg"
board_image: "orange_pi_pc.jpg"
download_instructions: "https://learn.adafruit.com/circuitpython-on-orangepi-linux/circuitpython-orangepi"
downloads_display: true
blinka: true
Expand Down
2 changes: 1 addition & 1 deletion _blinka/orange_pi_r1.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: "Orange Pi R1 Download"
name: "Orange Pi R1"
manufacturer: "Shenzhen Xunlong Software CO.,Limited"
board_url: "http://www.orangepi.org/OrangePiR1/"
board_image: "/assets/images/boards/orange_pi_r1.jpg"
board_image: "orange_pi_r1.jpg"
download_instructions: "https://learn.adafruit.com/circuitpython-on-orangepi-linux/circuitpython-orangepi"
downloads_display: true
blinka: true
Expand Down
2 changes: 1 addition & 1 deletion _blinka/raspberry_pi.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _board/arduino_mkr1300.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion _board/arduino_mkrzero.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
2 changes: 1 addition & 1 deletion _board/arduino_zero.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion _board/bast_pro_mini_m0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
---
Expand Down
4 changes: 2 additions & 2 deletions _board/capablerobot_usbhub.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ title: "Programmable USB Hub Download"
name: "Programmable USB Hub"
manufacturer: "Capable Robot Components"
board_url: "https://www.crowdsupply.com/capable-robot-components/programmable-usb-hub"
board_image: "/assets/images/boards/capablerobot_usbhub.jpg"
board_image: "capablerobot_usbhub.jpg"
---

In addition to being a 4-port USB 2 High-Speed hub, this Programmable USB hub is also:

* A CircuitPython based development board.
* A bridge between your computer and I2C (via Sparkfun Qwiic connectors), GPIO, and SPI (via its mikroBUS header).
* A power supply, providing 6 A of 5 V power to downstream devices and 13 mA resolution monitoring (per-port).
Expand Down
2 changes: 1 addition & 1 deletion _board/catwan_usbstick.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
2 changes: 1 addition & 1 deletion _board/circuitplayground_express.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _board/circuitplayground_express_4h.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _board/circuitplayground_express_crickit.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _board/circuitplayground_express_digikey_pycon2019.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _board/cp32-m4.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
---
Expand Down
2 changes: 1 addition & 1 deletion _board/datalore_ip_m4.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
---
Expand Down
2 changes: 1 addition & 1 deletion _board/electronut_labs_papyr.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _board/escornabot_makech.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: "Escornabot Makech Download"
name: "Escornabot Makech"
manufacturer: "Electronic Cats"
board_url: "https://github.com/ElectronicCats/escornabot"
board_image: "/assets/images/boards/escornabot_makech.jpg"
board_image: "escornabot_makech.jpg"
features:
- Robotics
---
Expand Down
2 changes: 1 addition & 1 deletion _board/feather_huzzah.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _board/feather_m0_adalogger.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _board/feather_m0_basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _board/feather_m0_express.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _board/feather_m0_express_crickit.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _board/feather_m0_rfm69.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _board/feather_m0_rfm9x.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _board/feather_m0_supersized.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _board/feather_m4_express.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _board/feather_nrf52832.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _board/feather_nrf52840_express.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _board/feather_radiofruit_zigbee.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
---
Expand Down
2 changes: 1 addition & 1 deletion _board/gb_m4.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion _board/gemma_m0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
2 changes: 1 addition & 1 deletion _board/gemma_m0_pycon2018.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
2 changes: 1 addition & 1 deletion _board/grandcentral_m4_express.md
Original file line number Diff line number Diff line change
Expand Up @@ -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_!
Expand Down
2 changes: 1 addition & 1 deletion _board/hallowing_m0_express.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _board/itsybitsy_m0_express.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion _board/itsybitsy_m4_express.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading