From b23f1405674ee90b903679093751b6c086877e8c Mon Sep 17 00:00:00 2001 From: Justin Cooper Date: Fri, 5 Apr 2019 13:48:51 -0500 Subject: [PATCH] add flag to remove boards from downloads display, temp board files for various boards --- _board/cp32-m4.md | 22 ++++++++++++++++++++++ _board/datalore_ip_m4.md | 22 ++++++++++++++++++++++ _board/feather_radiofruit_zigbee.md | 22 ++++++++++++++++++++++ _board/gb_m4.md | 22 ++++++++++++++++++++++ _board/pca10040.md | 22 ++++++++++++++++++++++ _board/sam32.md | 22 ++++++++++++++++++++++ downloads.html | 5 +++++ template.md | 1 + 8 files changed, 138 insertions(+) create mode 100644 _board/cp32-m4.md create mode 100644 _board/datalore_ip_m4.md create mode 100644 _board/feather_radiofruit_zigbee.md create mode 100644 _board/gb_m4.md create mode 100644 _board/pca10040.md create mode 100644 _board/sam32.md diff --git a/_board/cp32-m4.md b/_board/cp32-m4.md new file mode 100644 index 000000000..23a54682e --- /dev/null +++ b/_board/cp32-m4.md @@ -0,0 +1,22 @@ +--- +layout: download +board_id: "cp32-m4" +title: "cp32-m4 Download" +name: "cp32-m4" +manufacturer: "unknown" +board_url: "" +board_image: "/assets/images/boards/unknown.jpg" +downloads_display: false +features: +--- + +This board hasn't been fully documented yet. Please make a pull request adding more info to this file. + +The description should be written to inform a CircuitPython user what makes the board unique and link to relevant info about it. + +## Purchase +Add any links to purchase the board + +## Contribute + +Have some info to add for this board? Edit the source for this page [here](https://github.com/adafruit/circuitpython-org/edit/master/_board/{{ page.board_id }}.md). diff --git a/_board/datalore_ip_m4.md b/_board/datalore_ip_m4.md new file mode 100644 index 000000000..094139c52 --- /dev/null +++ b/_board/datalore_ip_m4.md @@ -0,0 +1,22 @@ +--- +layout: download +board_id: "datalore_ip_m4" +title: "datalore_ip_m4 Download" +name: "datalore_ip_m4" +manufacturer: "unknown" +board_url: "" +board_image: "/assets/images/boards/unknown.jpg" +downloads_display: false +features: +--- + +This board hasn't been fully documented yet. Please make a pull request adding more info to this file. + +The description should be written to inform a CircuitPython user what makes the board unique and link to relevant info about it. + +## Purchase +Add any links to purchase the board + +## Contribute + +Have some info to add for this board? Edit the source for this page [here](https://github.com/adafruit/circuitpython-org/edit/master/_board/{{ page.board_id }}.md). diff --git a/_board/feather_radiofruit_zigbee.md b/_board/feather_radiofruit_zigbee.md new file mode 100644 index 000000000..8c084c7ef --- /dev/null +++ b/_board/feather_radiofruit_zigbee.md @@ -0,0 +1,22 @@ +--- +layout: download +board_id: "feather_radiofruit_zigbee" +title: "feather_radiofruit_zigbee Download" +name: "feather_radiofruit_zigbee" +manufacturer: "Adafruit" +board_url: "" +board_image: "/assets/images/boards/unknown.jpg" +downloads_display: false +features: +--- + +This board hasn't been fully documented yet. Please make a pull request adding more info to this file. + +The description should be written to inform a CircuitPython user what makes the board unique and link to relevant info about it. + +## Purchase +Add any links to purchase the board + +## Contribute + +Have some info to add for this board? Edit the source for this page [here](https://github.com/adafruit/circuitpython-org/edit/master/_board/{{ page.board_id }}.md). diff --git a/_board/gb_m4.md b/_board/gb_m4.md new file mode 100644 index 000000000..ae85566a0 --- /dev/null +++ b/_board/gb_m4.md @@ -0,0 +1,22 @@ +--- +layout: download +board_id: "gb_m4" +title: "gb_m4 Download" +name: "gb_m4" +manufacturer: "unknown" +board_url: "" +board_image: "/assets/images/boards/unknown.jpg" +downloads_display: false +features: +--- + +This board hasn't been fully documented yet. Please make a pull request adding more info to this file. + +The description should be written to inform a CircuitPython user what makes the board unique and link to relevant info about it. + +## Purchase +Add any links to purchase the board + +## Contribute + +Have some info to add for this board? Edit the source for this page [here](https://github.com/adafruit/circuitpython-org/edit/master/_board/{{ page.board_id }}.md). diff --git a/_board/pca10040.md b/_board/pca10040.md new file mode 100644 index 000000000..f62bf125a --- /dev/null +++ b/_board/pca10040.md @@ -0,0 +1,22 @@ +--- +layout: download +board_id: "pca10040" +title: "pca10040 Download" +name: "pca10040" +manufacturer: "unknown" +board_url: "" +board_image: "/assets/images/boards/unknown.jpg" +downloads_display: false +features: +--- + +This board hasn't been fully documented yet. Please make a pull request adding more info to this file. + +The description should be written to inform a CircuitPython user what makes the board unique and link to relevant info about it. + +## Purchase +Add any links to purchase the board + +## Contribute + +Have some info to add for this board? Edit the source for this page [here](https://github.com/adafruit/circuitpython-org/edit/master/_board/{{ page.board_id }}.md). diff --git a/_board/sam32.md b/_board/sam32.md new file mode 100644 index 000000000..6f31f3463 --- /dev/null +++ b/_board/sam32.md @@ -0,0 +1,22 @@ +--- +layout: download +board_id: "sam32" +title: "sam32 Download" +name: "sam32" +manufacturer: "unknown" +board_url: "" +board_image: "/assets/images/boards/unknown.jpg" +downloads_display: false +features: +--- + +This board hasn't been fully documented yet. Please make a pull request adding more info to this file. + +The description should be written to inform a CircuitPython user what makes the board unique and link to relevant info about it. + +## Purchase +Add any links to purchase the board + +## Contribute + +Have some info to add for this board? Edit the source for this page [here](https://github.com/adafruit/circuitpython-org/edit/master/_board/{{ page.board_id }}.md). diff --git a/downloads.html b/downloads.html index 458c816be..cdcad124c 100644 --- a/downloads.html +++ b/downloads.html @@ -53,6 +53,11 @@ permalink: /downloads {% assign info = site.board | where: 'board_id', 'unknown' %} {% endif %} {% assign info = info[0] %} + + {% if info.downloads_display == false %} + {% continue %} + {% endif %} +
" manufacturer: "" board_url: "" board_image: "/assets/images/boards/unknown.jpg" +downloads_display: true features: - ~5 interesting - features