Skip to content
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
1 change: 1 addition & 0 deletions _board/adafruit_feather_huzzah32.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ board_image: "adafruit_feather_huzzah32.jpg"
date_added: 2022-08-19
family: esp32
downloads_display: true
download_instructions: https://learn.adafruit.com/circuitpython-with-esp32-quick-start
features:
- Feather-Compatible
- Battery Charging
Expand Down
11 changes: 8 additions & 3 deletions _includes/download/board.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,14 @@ <h3>CircuitPython {{ version.version }}</h3>
Older bootloaders cannot load the firmware. See <i>Update UF2 Bootloader</i> below.</b>
</p>
{% endif %}
<p>
<a href="https://github.com/adafruit/circuitpython/releases/tag/{{ version.version }}">Release Notes for {{ version.version }}</a>
</p>
<div class="release-details">
<p>
<a href="https://github.com/adafruit/circuitpython/releases/tag/{{ version.version }}">Release Notes for {{ version.version }}</a>
</p>
{% if page.download_instructions != nil and page.download_instructions != "" %}
<a class="download-button install-instructions-button" target="_blank" href="{{ page.download_instructions }}">HOW TO INSTALL<i class="fas fa-arrow-circle-right" aria-hidden="true"></i></a>
{% endif %}
</div>
<div class="download-details">
{% comment %}
Create a list of language codes and names so it can be sorted.
Expand Down
10 changes: 8 additions & 2 deletions assets/sass/pages/_download.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,13 @@
}
}

.download-details {
.install-instructions-button{
width: 100%;
text-align: center;
margin-bottom: 1em;
}

.download-details, .release-details {
display: grid;
grid-template-columns: repeat(2, 1fr);
}
Expand Down Expand Up @@ -192,7 +198,7 @@
grid-template-columns: 1fr 1fr;

.download {
.download-details {
.download-details, .release-details {
grid-template-columns: repeat(1, 1fr);
}

Expand Down
6 changes: 3 additions & 3 deletions template.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ board_image: "unknown.jpg"
date_added: 2020-03-31
downloads_display: true
blinka: false
download_instructions: "BLINKA ONLY - url"
download_instructions: "url"
family: esp32 # See _data/bootloaders.json
bootloader_id:
# Features are tags; they should be limited to the items in this list and spelled exactly the same.
# Include only the features your board supports, and remove these comment lines before committing.
# Breadboard-Friendly is a parallel pin layout with minimal non-critical perpendicular pins
family: esp32 # See _data/bootloaders.json
bootloader_id:
features:
- Arduino Shield Compatible
- Battery Charging
Expand Down