adding descriptions to code examples

This commit is contained in:
Peli de Halleux 2017-02-28 04:57:27 -08:00
parent 0e18b13ea1
commit b2282b1a81

View File

@ -7,14 +7,17 @@ Here are some fun programs for your @boardname@!
```codecard ```codecard
[{ [{
"name": "Blinky", "name": "Blinky",
"description": "A blinking LED",
"url":"/examples/blinky" "url":"/examples/blinky"
}, },
{ {
"name": "Name Tag", "name": "Name Tag",
"description": "Scroll your name on the screen",
"url":"/examples/name-tag" "url":"/examples/name-tag"
}, },
{ {
"name": "Rando", "name": "Rando",
"description": "Randomly blinking LEDs",
"url":"/examples/rando" "url":"/examples/rando"
}] }]
``` ```
@ -24,12 +27,15 @@ Here are some fun programs for your @boardname@!
```codecard ```codecard
[{ [{
"name": "Plot Acceleration", "name": "Plot Acceleration",
"description": "chart acceleration on the LED screen",
"url":"/examples/plot-acceleration" "url":"/examples/plot-acceleration"
}, { }, {
"name": "Plot Light Level", "name": "Plot Light Level",
"description": "chart light level on the LED screen",
"url":"/examples/plot-light-level" "url":"/examples/plot-light-level"
}, { }, {
"name": "Plot Analog Pin", "name": "Plot Analog Pin",
"description": "chart analog input on the LED screen",
"url":"/examples/plot-analog-pin" "url":"/examples/plot-analog-pin"
}] }]
``` ```