From 12bbd5f143baaacd5989f402a1721c2fe162bf91 Mon Sep 17 00:00:00 2001 From: Brad Barnett <127794626+bdbarnett@users.noreply.github.com> Date: Wed, 28 Oct 2026 03:43:39 -0500 Subject: [PATCH] Point at PyDevices/gallery The examples repo is now PyDevices/gallery, published at pydevices.github.io/gallery/. Update links, install URLs and sibling checkout names to match. --- .cursor/environment.json | 4 +-- .github/ISSUE_TEMPLATE/bug.yml | 2 +- .github/ISSUE_TEMPLATE/feature.yml | 2 +- .github/workflows/checks.yml | 4 +-- .github/workflows/cold-eyes-review.yml | 2 +- assets/apps/benchmark_deck.py | 2 +- assets/apps/signal_gen.py | 2 +- assets/css/site.css | 4 +-- assets/js/site-chrome.js | 12 ++++---- data/repos_db.json | 30 +++++++++---------- docs-site/index.md | 2 +- docs-site/install.md | 2 +- docs-site/newcomers.md | 4 +-- docs-site/projects/gallery.md | 7 +++++ docs-site/projects/index.md | 4 +-- docs-site/projects/pydevices-examples.md | 7 ----- docs/github-presence.md | 12 ++++---- docs/history.md | 4 +-- docs/publishing-automation.md | 4 +-- docs/repo-layout.md | 6 ++-- docs/workflows.md | 4 +-- profile/README.md | 2 +- ...es-dev-env.sh => cloud-gallery-dev-env.sh} | 28 ++++++++--------- scripts/cloud-python-deps.sh | 14 ++++----- scripts/cloud-workspace-install.sh | 6 ++-- ...devices-examples-env.sh => gallery-env.sh} | 14 ++++----- scripts/generate_sites.py | 10 +++---- 27 files changed, 97 insertions(+), 97 deletions(-) create mode 100644 docs-site/projects/gallery.md delete mode 100644 docs-site/projects/pydevices-examples.md rename scripts/{cloud-pydevices-examples-dev-env.sh => cloud-gallery-dev-env.sh} (74%) rename scripts/{pydevices-examples-env.sh => gallery-env.sh} (70%) diff --git a/.cursor/environment.json b/.cursor/environment.json index 90e46d4..d080946 100644 --- a/.cursor/environment.json +++ b/.cursor/environment.json @@ -1,12 +1,12 @@ { "_comment": "Repositories Cursor's cloud environment checks out beside this one. This file is static JSON consumed by Cursor's cloud environment setup before 'install' runs, so it cannot be generated at environment-init time -- keep it converged by hand when a public repository is added or retired.", - "install": "bash scripts/cloud-workspace-install.sh && bash scripts/cloud-python-deps.sh && bash scripts/cloud-pydevices-examples-dev-env.sh", + "install": "bash scripts/cloud-workspace-install.sh && bash scripts/cloud-python-deps.sh && bash scripts/cloud-gallery-dev-env.sh", "start": "true", "repositoryDependencies": [ "github.com/PyDevices/.github", "github.com/PyDevices/PyDevices.github.io", "github.com/PyDevices/pydevices", - "github.com/PyDevices/pydevices-examples", + "github.com/PyDevices/gallery", "github.com/PyDevices/audiodsp", "github.com/PyDevices/pygraphics", "github.com/PyDevices/palettes", diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 6679863..4d9061c 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -14,7 +14,7 @@ body: attributes: label: Repo / area description: Which repo (or part of a repo) is this about? - placeholder: e.g. pydevices / displaydev, or pydevices-examples / examples + placeholder: e.g. pydevices / displaydev, or gallery / examples validations: required: true diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml index 021c71e..882485e 100644 --- a/.github/ISSUE_TEMPLATE/feature.yml +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -8,7 +8,7 @@ body: Thanks for the suggestion! Check the repo's ROADMAP.md first: it may already be planned. For open-ended questions or discussion, consider starting a thread in - [pydevices-examples Discussions](https://github.com/PyDevices/pydevices-examples/discussions) + [PyDevices Discussions](https://github.com/PyDevices/pydevices/discussions) instead. - type: input diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index eddb0a9..d5dc69a 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -75,7 +75,7 @@ jobs: - name: Check out generator output targets run: | set -euo pipefail - for repo in PyDevices.github.io pydevices pydevices-examples mip; do + for repo in PyDevices.github.io pydevices gallery mip; do git clone --quiet --depth 1 "https://github.com/PyDevices/${repo}.git" \ "workspace-root/${repo}" done @@ -91,7 +91,7 @@ jobs: run: | set -euo pipefail failed=0 - for repo in PyDevices.github.io pydevices pydevices-examples mip; do + for repo in PyDevices.github.io pydevices gallery mip; do if ! git -C "workspace-root/${repo}" diff --exit-code; then echo "::error::${repo} is out of date with data/repos_db.json -- edit the database and regenerate" failed=1 diff --git a/.github/workflows/cold-eyes-review.yml b/.github/workflows/cold-eyes-review.yml index cec8cc5..e478fde 100644 --- a/.github/workflows/cold-eyes-review.yml +++ b/.github/workflows/cold-eyes-review.yml @@ -22,7 +22,7 @@ jobs: run: | Q=$((($(date +%-m)-1)/3+1)) Y=$(date +%Y) - REPOS=(pydevices palettes pdwidgets pygraphics mpftp audiodsp lvgl-bindings lvgl-python displayif workbench pydevices-examples pyscript-template android-template cmods mip micropython-pydevices) + REPOS=(pydevices palettes pdwidgets pygraphics mpftp audiodsp lvgl-bindings lvgl-python displayif workbench gallery pyscript-template android-template cmods mip micropython-pydevices) N=${#REPOS[@]} IDX=$(( ( (Y*4 + Q) * 3 ) % N )) SAMPLE="${REPOS[$IDX]} ${REPOS[$(( (IDX+1)%N ))]} ${REPOS[$(( (IDX+2)%N ))]}" diff --git a/assets/apps/benchmark_deck.py b/assets/apps/benchmark_deck.py index e0526da..5588e6e 100644 --- a/assets/apps/benchmark_deck.py +++ b/assets/apps/benchmark_deck.py @@ -1,5 +1,5 @@ """ -PyDevices Multi-Interpreter Benchmark (Hero Canvas App for pydevices-examples) +PyDevices Multi-Interpreter Benchmark (Hero Canvas App for gallery) ============================================================================= Interactive multi-interpreter execution matrix and benchmark meter: - 5-target performance comparator (MicroPython, CircuitPython, CPython, WASM, Android) diff --git a/assets/apps/signal_gen.py b/assets/apps/signal_gen.py index 68a5a6e..1874a9a 100644 --- a/assets/apps/signal_gen.py +++ b/assets/apps/signal_gen.py @@ -49,7 +49,7 @@ def _note_name(freq): # --------------------------------------------------------------------------- # Signal synthesis -- a single live synthio.Note, played through the same -# audiodev.sample_out.AudioOut contract as pydevices-examples' piano.py +# audiodev.sample_out.AudioOut contract as gallery's piano.py # (out = board_config.audio_out(); out.play(synth); out.attach(app) -- the # role is a factory, and calling it is what opens the device). Toggling the note # on/off goes through synthio's own envelope (short attack/release) rather diff --git a/assets/css/site.css b/assets/css/site.css index 7d69e27..1485600 100644 --- a/assets/css/site.css +++ b/assets/css/site.css @@ -2,7 +2,7 @@ * PyDevices — shared org site chrome * * Design tokens + layout primitives shared by every PyDevices GitHub Pages - * site (org root, lvgl-bindings, pydevices-examples, and the second-wave module + * site (org root, lvgl-bindings, gallery, and the second-wave module * pages). Keep this file focused on *chrome*: header/nav, hero, buttons, * cards, footer, typography. Project-specific / demo-interpreter styles belong * in a local stylesheet loaded after this one. @@ -931,7 +931,7 @@ pre code { } /* NOT a colour override -- an unmerged twin kept for its selector weight. - * pydevices-examples' gallery.css loads after this file and restyles + * gallery's gallery.css loads after this file and restyles * .tag.featured with the same (0,2,0) specificity, so today it wins in the * dark theme and loses to this heavier light-theme selector. Folding these * declarations into the rule above would hand the light theme to gallery.css diff --git a/assets/js/site-chrome.js b/assets/js/site-chrome.js index 37ad574..6e3bed2 100644 --- a/assets/js/site-chrome.js +++ b/assets/js/site-chrome.js @@ -48,7 +48,7 @@ '/workbench/">Workbench' + 'Gallery' + + '/gallery/gallery/" class="nav-gallery-link">Gallery' + "" + '