Skip to content

Commit 9a06758

Browse files
committed
Drop the pydevices- prefix from the template and runner repos
pydevices-android-template -> android-template pydevices-pyscript-template -> pyscript-template pydevices-android-runner -> android-runner pydevices-examples keeps its prefix: it is the product showcase, not a standalone tool. Done after the Pages consolidation rather than before it, for two reasons. GitHub redirects a renamed repository's web, clone, and API URLs but not its Pages paths, so renaming while each repo still published its own site would have killed those URLs with no way to serve them; now the portal owns every /<repo>/ path and a rename is a directory move. And the tree-nav in site-chrome.js hardcodes every repo URL -- that was 15 copies before consolidation and is one now. mip is deliberately untouched. Its audiodev README and android_audio.py are generated mirrors of pydevices/lib/audiodev/, fixed at the source here and regenerated on the next release.
1 parent 15428f2 commit 9a06758

4 files changed

Lines changed: 21 additions & 21 deletions

File tree

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<!-- PYDEVICES-HEAD-TAGS: START -->
5-
<title>PyDevices - pydevices-android-template</title>
5+
<title>PyDevices - android-template</title>
66
<meta name="description" content="Pre-configured python-for-android build recipes and Buildozer project template for packaging PyDevices applications into native Android APKs.">
77
<link rel="icon" type="image/svg+xml" href="/img/logo.svg">
88
<!-- PYDEVICES-HEAD-TAGS: END -->
@@ -25,19 +25,19 @@
2525
<section class="hero wrap">
2626
<div class="hero-lead">
2727
<div class="hero-brand">
28-
<div class="logo-badge product-mark" style="background: linear-gradient(135deg, var(--tier-4-purple), #7c3aed);"><img src="/img/logo.svg" alt="pydevices-android-template" width="112" height="112"></div>
28+
<div class="logo-badge product-mark" style="background: linear-gradient(135deg, var(--tier-4-purple), #7c3aed);"><img src="/img/logo.svg" alt="android-template" width="112" height="112"></div>
2929
<span class="eyebrow" style="color: var(--tier-4-purple);">android-template</span>
3030
</div>
31-
<h1>pydevices-android-template — Android APK Buildozer project.</h1>
31+
<h1>android-template — Android APK Buildozer project.</h1>
3232
</div>
33-
<p><code>pydevices-android-template</code> Pre-configured python-for-android build recipes and Buildozer project template for packaging PyDevices applications into native Android APKs.</p>
33+
<p><code>android-template</code> Pre-configured python-for-android build recipes and Buildozer project template for packaging PyDevices applications into native Android APKs.</p>
3434
<div class="cta">
35-
<a class="btn primary" style="background: #24292e; color: #fff; border-color: #24292e;" href="https://github.com/PyDevices/pydevices-android-template">
35+
<a class="btn primary" style="background: #24292e; color: #fff; border-color: #24292e;" href="https://github.com/PyDevices/android-template">
3636
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.9a3.4 3.4 0 0 0-1-2.6c3-.3 6-1.5 6-6.5a5 5 0 0 0-1.4-3.5 4.6 4.6 0 0 0-.1-3.5s-1.1-.3-3.5 1.3a12 12 0 0 0-6 0C6.6 1.7 5.5 2 5.5 2a4.6 4.6 0 0 0-.1 3.5A5 5 0 0 0 4 9c0 5 3 6.2 6 6.5a3.4 3.4 0 0 0-1 2.6V22"/></svg>
3737
GitHub Repo
3838
</a>
39-
<a class="btn" style="border-color: var(--tier-4-purple); color: var(--tier-4-purple);" href="https://github.com/PyDevices/pydevices-android-template/blob/main/README.md">Buildozer Guide</a>
40-
<a class="btn" style="border-color: var(--tier-4-purple); color: var(--tier-4-purple);" href="https://github.com/PyDevices/pydevices-android-template/tree/main/recipes">p4a Recipes</a>
39+
<a class="btn" style="border-color: var(--tier-4-purple); color: var(--tier-4-purple);" href="https://github.com/PyDevices/android-template/blob/main/README.md">Buildozer Guide</a>
40+
<a class="btn" style="border-color: var(--tier-4-purple); color: var(--tier-4-purple);" href="https://github.com/PyDevices/android-template/tree/main/recipes">p4a Recipes</a>
4141
<a class="btn" style="border-color: var(--tier-4-purple); color: var(--tier-4-purple);" href="https://pydevices.github.io/pydevices/">pydevices Core</a>
4242
</div>
4343
</section>
@@ -54,8 +54,8 @@ <h2>Build APK Instructions</h2>
5454

5555
<div class="spec-block">
5656
<pre><code># Clone template repository:
57-
git clone https://github.com/PyDevices/pydevices-android-template.git
58-
cd pydevices-android-template
57+
git clone https://github.com/PyDevices/android-template.git
58+
cd android-template
5959

6060
# Run automated Android build script:
6161
./build_android.sh --title "PyDevices Demo App"

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,22 +172,22 @@ <h2>4: Target App Hosts & PWA Templates</h2>
172172
<span class="hint">Deploy PyDevices apps directly to desktop browsers or mobile APKs.</span>
173173
</div>
174174
<div class="grid">
175-
<a class="card card-tier-4" href="https://pydevices.github.io/pydevices-pyscript-template/">
175+
<a class="card card-tier-4" href="https://pydevices.github.io/pyscript-template/">
176176
<div class="card-top">
177177
<span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="14" rx="2"/><path d="M8 21h8M12 18v3"/><path d="M8 9h8M8 13h5"/></svg></span>
178178
<span class="tag tag-tier-4">PWA Template</span>
179179
</div>
180-
<h3>pydevices-pyscript-template</h3>
180+
<h3>pyscript-template</h3>
181181
<p>Progressive Web App starter template repository for deploying offline-capable client-side PyDevices applications on GitHub Pages.</p>
182182
<span class="go">Visit site <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"/></svg></span>
183183
</a>
184184

185-
<a class="card card-tier-4" href="https://pydevices.github.io/pydevices-android-template/">
185+
<a class="card card-tier-4" href="https://pydevices.github.io/android-template/">
186186
<div class="card-top">
187187
<span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="6" y="2" width="12" height="20" rx="2"/><path d="M10 19h4"/></svg></span>
188188
<span class="tag tag-tier-4">Android APK</span>
189189
</div>
190-
<h3>pydevices-android-template</h3>
190+
<h3>android-template</h3>
191191
<p>Pre-configured python-for-android build recipes and Buildozer project template for packaging PyDevices applications into native Android APKs.</p>
192192
<span class="go">Visit site <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"/></svg></span>
193193
</a>
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<!-- PYDEVICES-HEAD-TAGS: START -->
5-
<title>PyDevices - pydevices-pyscript-template</title>
5+
<title>PyDevices - pyscript-template</title>
66
<meta name="description" content="Progressive Web App starter template repository for deploying offline-capable client-side PyDevices applications on GitHub Pages.">
77
<link rel="icon" type="image/svg+xml" href="/img/logo.svg">
88
<!-- PYDEVICES-HEAD-TAGS: END -->
@@ -20,19 +20,19 @@
2020
<section class="hero wrap">
2121
<div class="hero-lead">
2222
<div class="hero-brand">
23-
<div class="logo-badge product-mark" style="background: linear-gradient(135deg, var(--tier-4-purple), #7c3aed);"><img src="/img/logo.svg" alt="pydevices-pyscript-template" width="112" height="112"></div>
23+
<div class="logo-badge product-mark" style="background: linear-gradient(135deg, var(--tier-4-purple), #7c3aed);"><img src="/img/logo.svg" alt="pyscript-template" width="112" height="112"></div>
2424
<span class="eyebrow" style="color: var(--tier-4-purple);">pyscript-template</span>
2525
</div>
26-
<h1>pydevices-pyscript-template — Offline PWA starter template.</h1>
26+
<h1>pyscript-template — Offline PWA starter template.</h1>
2727
</div>
28-
<p><code>pydevices-pyscript-template</code> Progressive Web App starter template repository for deploying offline-capable client-side PyDevices applications on GitHub Pages.</p>
28+
<p><code>pyscript-template</code> Progressive Web App starter template repository for deploying offline-capable client-side PyDevices applications on GitHub Pages.</p>
2929
<div class="cta">
30-
<a class="btn primary" style="background: #24292e; color: #fff; border-color: #24292e;" href="https://github.com/PyDevices/pydevices-pyscript-template">
30+
<a class="btn primary" style="background: #24292e; color: #fff; border-color: #24292e;" href="https://github.com/PyDevices/pyscript-template">
3131
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.9a3.4 3.4 0 0 0-1-2.6c3-.3 6-1.5 6-6.5a5 5 0 0 0-1.4-3.5 4.6 4.6 0 0 0-.1-3.5s-1.1-.3-3.5 1.3a12 12 0 0 0-6 0C6.6 1.7 5.5 2 5.5 2a4.6 4.6 0 0 0-.1 3.5A5 5 0 0 0 4 9c0 5 3 6.2 6 6.5a3.4 3.4 0 0 0-1 2.6V22"/></svg>
3232
GitHub Repo
3333
</a>
3434
<a class="btn" style="border-color: var(--tier-4-purple); color: var(--tier-4-purple);" href="pwa/">Live PWA Demo</a>
35-
<a class="btn" style="border-color: var(--tier-4-purple); color: var(--tier-4-purple);" href="https://github.com/PyDevices/pydevices-pyscript-template/blob/main/README.md">PWA Setup Guide</a>
35+
<a class="btn" style="border-color: var(--tier-4-purple); color: var(--tier-4-purple);" href="https://github.com/PyDevices/pyscript-template/blob/main/README.md">PWA Setup Guide</a>
3636
<a class="btn" style="border-color: var(--tier-4-purple); color: var(--tier-4-purple);" href="https://pydevices.github.io/pydevices/">pydevices Core</a>
3737
</div>
3838
</section>

vendor/pydevices-chrome/site-chrome.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@
104104
'<div class="tree-branch open">' +
105105
'<div class="tree-branch-header"><svg class="tree-toggle-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M9 18l6-6-6-6"/></svg> 📁 4: Target App Hosts & PWAs</div>' +
106106
'<div class="tree-branch-children">' +
107-
'<a class="tree-leaf" href="https://pydevices.github.io/pydevices-pyscript-template/"><span class="tree-leaf-name">pyscript-template</span><span class="tag tag-tier-4">PWA Template</span></a>' +
108-
'<a class="tree-leaf" href="https://pydevices.github.io/pydevices-android-template/"><span class="tree-leaf-name">android-template</span><span class="tag tag-tier-4">Android APK</span></a>' +
107+
'<a class="tree-leaf" href="https://pydevices.github.io/pyscript-template/"><span class="tree-leaf-name">pyscript-template</span><span class="tag tag-tier-4">PWA Template</span></a>' +
108+
'<a class="tree-leaf" href="https://pydevices.github.io/android-template/"><span class="tree-leaf-name">android-template</span><span class="tag tag-tier-4">Android APK</span></a>' +
109109
'</div>' +
110110
'</div>' +
111111
'<div class="tree-branch open">' +

0 commit comments

Comments
 (0)