Commit graph

1138 commits

Author SHA1 Message Date
4715875cc4 Fix board dates to always be of the form YYYY-MM-DD
.. leading zeros are required for `frontmatter` to treat them as dates
rather than strings, apparently per the YAML specification.

This was done by script:
```py
import re
import datetime
import pathlib
import sys

import frontmatter

rx = re.compile(r'^(\s*)date_added:.*$', re.M)

for path_str in sys.argv[1:]:
    print(path_str)
    path = pathlib.Path(path_str)

    post = frontmatter.load(path)
    date_added = post.get("date_added", "")

    if isinstance(date_added, datetime.date):
        continue

    if isinstance(date_added, str):
        try:
            date_added = datetime.datetime.strptime(date_added, "%Y-%m-%d")
        except ValueError as exc:
            print(f"Failed to parse date {date_added} in {path_str}: {exc}")
            continue

    date_added = date_added.date()
    content = path.read_text("utf-8")
    new_content = rx.sub(lambda m: f"{m.group(1)}date_added: {date_added}", content)
    assert content != new_content

    path.write_text(new_content, "utf-8")
```
2024-03-22 11:31:45 -05:00
foamyguy
1315cdac01 sort rss feed with newest at top 2024-03-21 12:00:09 -05:00
Melissa LeBlanc-Williams
e989ce0d1f Add missing boards from CircuitPython RC 1 2024-03-18 14:46:24 -07:00
Melissa LeBlanc-Williams
14e6605d56 Merge branch 'main' of https://github.com/adafruit/circuitpython-org 2024-03-13 12:10:13 -07:00
Melissa LeBlanc-Williams
476c00226c Add missing boards from CircuitPython Betta 2 and RC 0 2024-03-13 12:09:00 -07:00
noqman
bfb8388d40 update markdown file and board images 2024-03-12 11:12:54 +08:00
foamyguy
6451922555
Merge pull request #1343 from dglaude/patch-4
Create m5stack_cardputer.md
2024-03-11 20:54:16 -05:00
David Glaude
c1fbd47e6a
Update _board/m5stack_cardputer.md
Ack, as seen in YT stream.

Co-authored-by: foamyguy <foamyguy@gmail.com>
2024-03-11 23:25:21 +01:00
David Glaude
a15e726f75
Update m5stack_cardputer.md
Fix the copy/paste.
2024-03-11 23:00:33 +01:00
Melissa LeBlanc-Williams
ea0975cb4a
Merge pull request #1344 from dglaude/patch-5
Update m5stack_dial documentation name in the link
2024-03-11 08:36:58 -07:00
Snakey Maker Cat =^.^=
9efe16bc51
Correct chip family for teensy40 2024-03-11 10:59:18 +01:00
David Glaude
8d6a0ada6b
Update m5stack_dial.md
Seems that this was made by copy and paste from another m5stack board.
2024-03-10 20:29:59 +01:00
David Glaude
147768f445
Create m5stack_cardputer.md
Describe the m5stack_cardputer based on m5stack documentation.
Images not provided yet...
2024-03-10 20:24:16 +01:00
Tyeth Gundry
5c63121e77
fix: lilygo_tdisplay_s3 - stick to restricted features 2024-03-09 21:18:37 +00:00
Tyeth Gundry
d273136718
Add board definition for LilyGo T-DisplayS3 2024-03-09 19:01:22 +00:00
David Glaude
7c1c0c2d68
Update waveshare_rp2040_touch_lcd_1_28.md
I hope this is not a breaking change, but currently there are two board that are "hard" to distinguish because they have the same name in the main download page:
* https://circuitpython.org/board/waveshare_rp2040_lcd_1_28/
* https://circuitpython.org/board/waveshare_rp2040_touch_lcd_1_28/
2024-03-06 23:54:34 +01:00
Melissa LeBlanc-Williams
677358639b
Merge pull request #1338 from jdimpson/patch-5
Update seeed_xiao_esp32c3.md to refer to installation guide
2024-03-04 08:49:51 -08:00
Jeremy Impson
3289c63b22
Update seeed_xiao_esp32c3.md to refer to installation guide 2024-03-01 11:22:53 -05:00
Jeremy Impson
f4adafc399
Update adafruit_qtpy_esp32c3.md with references to the installation guide 2024-03-01 11:16:52 -05:00
noqman
60197dbc0f Update _board file and replace board images 2024-02-26 00:28:26 +08:00
Mario Pesch
37ef487087 update features 2024-02-21 18:01:43 +00:00
Mario Pesch
84e840e0af add senseBox MCU-S2 ESP32S2 2024-02-21 15:12:05 +00:00
Melissa LeBlanc-Williams
fdfd218494
Merge pull request #1332 from adafruit/itsybitsy_esp32
adding itsybitsy esp32
2024-02-20 14:55:48 -08:00
Liz
e8cc7baee8 adding itsybitsy esp32 2024-02-20 17:53:41 -05:00
CDarius
68044b02ac Add M5Stack Dial development board 2024-02-19 10:39:46 +01:00
RetiredWizard
88e5c98d5f Change bootloader link to match tinyuf2 repository 2024-02-11 16:43:15 -05:00
Melissa LeBlanc-Williams
e3d8e7878f Fix date typo 2024-02-07 09:35:55 -08:00
Melissa LeBlanc-Williams
192aba0b88 Added missing boards from CP 9.0.0-beta.0 2024-02-07 09:28:46 -08:00
Matthias Kreier
172e2651fa added board description for T-Display 4M
with inspiration from the 16M model and following the guidelines on https://learn.adafruit.com/how-to-add-a-new-board-to-the-circuitpython-org-website/adding-to-downloads
2024-02-02 23:29:02 +07:00
Jacques Supcik
988aebe381 Add PicoMo V2 board 2024-01-25 22:50:51 +01:00
Salam
48476f7a6a
Update cytron_edu_pico_w.md 2024-01-18 15:19:32 +08:00
Abdul Salam A Haris
96c801a48d Added Cytron EDU PICO W 2024-01-18 14:41:46 +08:00
Melissa LeBlanc-Williams
ee640f0bc4 Add missing boards for CP 9.0.0-alpha.6 2023-12-14 12:11:42 -08:00
Melissa LeBlanc-Williams
142a066f9f Revise most of the copy. 2023-12-11 12:26:28 -08:00
Melissa LeBlanc-Williams
cccf68d5ca Change our to a/an 2023-12-11 10:52:12 -08:00
Melissa LeBlanc-Williams
c7ecac20e8 Add missing boards for CP 8.2.9 plus more Adafruit links 2023-12-11 10:09:41 -08:00
Melissa LeBlanc-Williams
e76bcea33f Add missed file 2023-12-08 14:12:56 -08:00
Melissa LeBlanc-Williams
f4099d033a Refactor board_url to be a list and add many missing product links 2023-12-08 11:02:28 -08:00
Melissa LeBlanc-Williams
42ae58a74b
Merge pull request #1292 from maewolfsky/flipperzero_wifi_dev
Documentation for the Flipper Zero Wifi Dev board
2023-12-06 11:32:01 -08:00
Sky
970dbd4526
Fixed typo 2023-12-05 17:57:47 -05:00
Dan Halbert
1696b376c6
Merge pull request #1293 from CytronTechnologies/remove-maker-zero-samd21
Remove Cytron Maker Zero SAMD21 board from the website
2023-12-03 22:14:51 -05:00
Melissa LeBlanc-Williams
6f45290c95 Update tinyuf2 bootloader version 2023-12-01 12:01:41 -08:00
DeadSix27
80e9fc9b3f
pico_w: update the documentation link
The old one is gone so we link to the overall pico(w) documentation page
2023-12-01 14:52:14 +01:00
Noqman
ba32861400 Delete all cytron_maker_zero_samd21 files 2023-12-01 17:15:08 +08:00
Sky
22072f4d81 Removed incorrect feature 2023-11-29 21:22:06 -05:00
Sky
1e73309782 Standardized features section 2023-11-29 21:07:35 -05:00
Sky
87839321cf Fixed typo in chip designation 2023-11-29 20:58:26 -05:00
Sky
d1a7526218 Documentation for the Flipper Zero Wifi Dev board 2023-11-29 18:42:22 -05:00
Melissa LeBlanc-Williams
ff262f7e4e
Merge pull request #1291 from dotcypress/upico
Add uPico board
2023-11-29 12:00:21 -08:00
Vitaly Domnikov
8bbb69e8b4 add uPico board 2023-11-29 11:56:52 -08:00