Commit graph

3234 commits

Author SHA1 Message Date
jepler
252057865d Compressed Images 2025-01-01 00:13:16 +00:00
1f5483815b Generate absolute URLs automatically
This allows a `localhost:4000`-style URL to be generated for local
testing, but still gives an absolute URL, which enhances compatibility
with RSS readers. A comment is added explaining the reason for the
absolute URL.

Closes #1374
2024-03-29 20:26:24 -05:00
Melissa LeBlanc-Williams
5571358722
Merge pull request #1373 from RetiredWizard/rp2040geek
Add Waveshare RP2040-GEEK + ESP32-S3-GEEK feature
2024-03-29 11:09:38 -07:00
RetiredWizard
4291f792f1 Add Waveshare RP2040-GEEK + ESP32-S3-GEEK feature 2024-03-29 13:38:18 -04:00
Melissa LeBlanc-Williams
144d19923e
Merge pull request #1372 from SeanTheITGuy/sunton_esp32_2424S012
Sunton esp32 2424s012
2024-03-29 09:08:45 -07:00
Sean Murphy
5efa59e6aa another typo 2024-03-29 12:57:50 -03:00
Sean Murphy
8249594286 fixed typo 2024-03-29 12:56:39 -03:00
Dan Halbert
7dea638bf1
Merge pull request #1371 from adafruit-adabot/new_release_9.1.0-beta.0
Automated website update for release 9.1.0-beta.0
2024-03-28 15:42:50 -04:00
Dan Halbert
6b816ac5e8 download counts 2024-03-28 15:41:18 -04:00
Adabot
6d9c882b5b Automated website update for release 9.1.0-beta.0 by Blinka.
New boards:
* m5stack_cores3
* rfguru_rp2040
* sunton_esp32_2432S028
* waveshare_esp32_s3_geek
2024-03-28 15:35:47 -04:00
Sean Murphy
58e2c33160 added Round LCD Sunton ESP32-2424S012 2024-03-28 15:45:19 -03:00
Dan Halbert
e0e71b1c48
Merge pull request #1370 from adafruit-adabot/fix-download-counts
download counts are missing
2024-03-28 14:41:34 -04:00
Dan Halbert
6ae9725256 download counts 2024-03-28 14:39:15 -04:00
Dan Halbert
7823da48b4
Merge pull request #1368 from adafruit-adabot/new_release_9.0.2
Automated website update for release 9.0.2
2024-03-28 14:09:20 -04:00
Adabot
7a47e9f3c5 Automated website update for release 9.0.2 by Blinka. 2024-03-28 12:51:45 -04:00
Melissa LeBlanc-Williams
bcb2525f5e
Merge pull request #1367 from dhalbert/update-some-actions-to-node-20
update to actions/checkout@v4 and actions/setup-python@v5
2024-03-27 11:11:58 -07:00
Dan Halbert
7865926689
Merge branch 'main' into update-some-actions-to-node-20 2024-03-27 11:57:00 -04:00
Dan Halbert
cf33abe3f2 update to actions/checkout@v4 and actions/setup-python@v5 2024-03-26 21:48:02 -04:00
Dan Halbert
06b18df4ee
Merge pull request #1366 from adafruit-adabot/new_release_9.0.1
Automated website update for release 9.0.1
2024-03-26 21:22:03 -04:00
Dan Halbert
e088ace33a download counts 2024-03-26 19:48:52 -04:00
Adabot
4e4a453b97 Automated website update for release 9.0.1 by Blinka. 2024-03-26 19:27:45 -04:00
Melissa LeBlanc-Williams
98585f4b69
Merge pull request #1365 from SeanTheITGuy/patch-1
Update name, sunton_esp32_2432S028.md
2024-03-26 13:14:02 -07:00
Sean Murphy
d9f471386b
Update name, sunton_esp32_2432S028.md 2024-03-26 17:06:42 -03:00
Melissa LeBlanc-Williams
b45572dbc0
Merge pull request #1364 from SeanTheITGuy/sunton_esp32_2432S028
Sunton ESP32-2432S028 board info
2024-03-26 12:58:58 -07:00
Sean Murphy
c7ca554314 small image ratio fix 2 2024-03-26 15:09:51 -03:00
Sean Murphy
966ba8c0da fixed small image ratio 2024-03-26 15:07:41 -03:00
Sean Murphy
7bed276b18 fixed images sizes again 2024-03-26 15:05:27 -03:00
Sean Murphy
c18883d697 fixed image sizes 2024-03-26 15:02:02 -03:00
Sean Murphy
d9c38ec1e4 replaced pngs with jpgs 2024-03-26 14:55:01 -03:00
Sean Murphy
6c00fcd741 fixed error 2024-03-26 14:45:46 -03:00
Sean Murphy
1c8baa6588 added sunton_esp32_2432S028 info 2024-03-26 14:44:59 -03:00
Melissa LeBlanc-Williams
dec11e1c5b
Merge pull request #1361 from kylefmohr/kylefmohr_waveshare_esp32_s3_geek
add page for Waveshare ESP32-S3-GEEK
2024-03-26 08:42:51 -07:00
Melissa LeBlanc-Williams
42af58af45
Merge pull request #1362 from felixerdy/chore/bump-esp32-bootloader
bump esp32s2 & esp32s3 bootloader version
2024-03-26 08:27:57 -07:00
Felix Erdmann
00e89f48db chore: bump esp32s2 & esp32s3 bootloader version 2024-03-26 11:05:41 +00:00
Kyle Mohr
59de77bb59 add page for Waveshare ESP32-S3-GEEK 2024-03-25 21:45:05 +00:00
Melissa LeBlanc-Williams
1dcd8f4fa2
Merge pull request #1360 from makermelissa/main
jsdelivr is not automatically showing the latest, so pointing to a specific version seems to be the fix.
2024-03-25 14:37:42 -07:00
Melissa LeBlanc-Williams
34e0397995 Point to specific web installer release 2024-03-25 14:35:16 -07:00
Melissa LeBlanc-Williams
7549a55530 Fix merge conflict 2024-03-25 14:19:02 -07:00
Melissa LeBlanc-Williams
b0d73729fe Merge branch 'main' of https://github.com/adafruit/circuitpython-org 2024-03-25 13:18:24 -07:00
Melissa LeBlanc-Williams
cbe0d35721
Merge pull request #1358 from FoamyGuy/rss_images
fix image URLs in the RSS feed.
2024-03-22 14:59:05 -07:00
foamyguy
b5b4fdfcae fix image URLs in the RSS feed. 2024-03-22 16:07:52 -05:00
Melissa LeBlanc-Williams
4be5fd1199
Merge pull request #1357 from jepler/sort-date-2
Fix board dates to always be of the form YYYY-MM-DD
2024-03-22 12:28:53 -07:00
17cbd02385 Sort the feed in chronological order
.. and make sure all the times are at midnight GMT on the date the board
was added. Before this, the date was printed in the generating local time
zone; adding 12 hours often (but not always) made it be in the same GMT
day.
2024-03-22 11:33:56 -05:00
11c6f23a1c Check that all date_added are actually dates (including blinka) 2024-03-22 11:32:13 -05:00
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
Melissa LeBlanc-Williams
ae5eed8180 Fix merge conflicts 2024-03-21 10:10:10 -07:00
Melissa LeBlanc-Williams
3d693274c3
Merge pull request #1355 from FoamyGuy/rss_order
sort rss feed with newest at top
2024-03-21 10:08:13 -07:00
Melissa LeBlanc-Williams
3c9a64cb36 Make feed sorting better 2024-03-21 10:05:19 -07:00
foamyguy
1315cdac01 sort rss feed with newest at top 2024-03-21 12:00:09 -05:00
Dan Halbert
ec8c704485
Merge pull request #1351 from makermelissa/main
Add missing boards from CircuitPython RC 1
2024-03-18 20:35:31 -04:00