Skip to content

Commit f0452d0

Browse files
committed
More relative path updates.
1 parent 6417c15 commit f0452d0

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

help/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<body>
1212
<header class="site-header">
1313
<div class="container header-inner">
14-
<a class="brand" href="/">
14+
<a class="brand" href="../">
1515
<svg class="brand-logo" width="48" height="48" viewBox="0 0 2057 974" xmlns="http://www.w3.org/2000/svg">
1616
<g fill="currentColor" stroke="none" transform="translate(0 100)">
1717
<path d="M 1092.534 158.364 C 1095.764 169.589 1102.374 179.795 1107.224 190.364 C 1119.104 216.243 1131.874 241.728 1144.274 267.364 C 1179.204 339.56 1214.064 411.844 1248.314 484.364 C 1260.474 510.112 1273.154 535.617 1285.314 561.364 C 1290.014 571.319 1299.154 583.378 1300.684 594.364 C 1301.444 599.785 1296.944 606.478 1294.984 611.364 C 1289.004 626.289 1282.004 640.557 1273.734 654.364 C 1265.284 668.483 1256.704 683.257 1245.444 695.364 C 1237.304 704.123 1228.664 712.851 1218.534 719.31 C 1176.654 746.023 1130.104 739.811 1084.534 729.364 L 1084.534 796.364 C 1137.744 803.235 1191.744 806.988 1241.534 782.094 C 1291.224 757.25 1321.144 708.125 1345.794 660.364 C 1391.424 571.949 1425.474 477.074 1463.954 385.364 C 1484.774 335.759 1505.144 285.968 1525.954 236.364 C 1532.804 220.048 1539.454 203.643 1546.384 187.364 C 1550.314 178.14 1555.824 168.274 1557.534 158.364 L 1503.534 158.364 C 1498.104 158.364 1487.624 156.363 1482.924 159.392 C 1477.284 163.031 1474.824 176.375 1472.254 182.364 C 1463.294 203.198 1455.174 224.401 1446.524 245.364 C 1422.624 303.289 1398.764 361.248 1375.334 419.364 C 1365.024 444.923 1349.894 471.569 1343.534 498.364 L 1341.534 498.364 L 1326.784 467.364 L 1300.794 414.364 L 1219.784 248.364 L 1188.284 184.364 L 1174.894 159.392 L 1152.534 158.364 L 1092.534 158.364 Z"></path>
@@ -23,7 +23,7 @@
2323
PyScript<span class="brand-accent">Packages</span>
2424
</a>
2525
<nav class="nav">
26-
<a href="/help">Help</a>
26+
<a href="index.html">Help</a>
2727
</nav>
2828
</div>
2929
</header>
@@ -103,7 +103,7 @@ <h2 id="api">Our API</h2>
103103

104104
<pre><code>import requests
105105

106-
response = requests.get("https://pkg.pyscript.net/api/package/pandas.json")
106+
response = requests.get("https://pyscript.github.io/pyscript-packages/api/package/pandas.json")
107107
if response.status_code == 200:
108108
package_data = response.json()
109109
print(package_data)

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<script type="mpy" src="./home.py"></script>
1313
<header class="site-header">
1414
<div class="container header-inner">
15-
<a class="brand" href="/">
15+
<a class="brand" href="index.html">
1616
<svg class="brand-logo" width="48" height="48" viewBox="0 0 2057 974" xmlns="http://www.w3.org/2000/svg">
1717
<g fill="currentColor" stroke="none" transform="translate(0 100)">
1818
<path d="M 1092.534 158.364 C 1095.764 169.589 1102.374 179.795 1107.224 190.364 C 1119.104 216.243 1131.874 241.728 1144.274 267.364 C 1179.204 339.56 1214.064 411.844 1248.314 484.364 C 1260.474 510.112 1273.154 535.617 1285.314 561.364 C 1290.014 571.319 1299.154 583.378 1300.684 594.364 C 1301.444 599.785 1296.944 606.478 1294.984 611.364 C 1289.004 626.289 1282.004 640.557 1273.734 654.364 C 1265.284 668.483 1256.704 683.257 1245.444 695.364 C 1237.304 704.123 1228.664 712.851 1218.534 719.31 C 1176.654 746.023 1130.104 739.811 1084.534 729.364 L 1084.534 796.364 C 1137.744 803.235 1191.744 806.988 1241.534 782.094 C 1291.224 757.25 1321.144 708.125 1345.794 660.364 C 1391.424 571.949 1425.474 477.074 1463.954 385.364 C 1484.774 335.759 1505.144 285.968 1525.954 236.364 C 1532.804 220.048 1539.454 203.643 1546.384 187.364 C 1550.314 178.14 1555.824 168.274 1557.534 158.364 L 1503.534 158.364 C 1498.104 158.364 1487.624 156.363 1482.924 159.392 C 1477.284 163.031 1474.824 176.375 1472.254 182.364 C 1463.294 203.198 1455.174 224.401 1446.524 245.364 C 1422.624 303.289 1398.764 361.248 1375.334 419.364 C 1365.024 444.923 1349.894 471.569 1343.534 498.364 L 1341.534 498.364 L 1326.784 467.364 L 1300.794 414.364 L 1219.784 248.364 L 1188.284 184.364 L 1174.894 159.392 L 1152.534 158.364 L 1092.534 158.364 Z"></path>
@@ -24,7 +24,7 @@
2424
PyScript<span class="brand-accent">Packages</span>
2525
</a>
2626
<nav class="nav">
27-
<a href="/help">Help</a>
27+
<a href="./help">Help</a>
2828
</nav>
2929
</div>
3030
</header>
@@ -35,15 +35,15 @@
3535
<h1 class="hero-title">Find PyScript-ready packages fast 🔍📦💨</h1>
3636
<p class="hero-sub">Search and discover packages that work well with PyScript — quick, simple, and browser-friendly.</p>
3737

38-
<form id="search-form" class="search-form" action="/package" method="get" role="search" aria-label="Search packages">
38+
<form id="search-form" class="search-form" action="./package" method="get" role="search" aria-label="Search packages">
3939
<label for="package" class="sr-only">Package name</label>
4040
<div class="search-controls">
4141
<input type="text" id="package" name="package" placeholder="e.g. pandas, numpy, my-cool-lib" required autocomplete="off" autofocus />
4242
<button type="submit" class="btn">Search</button>
4343
</div>
4444
</form>
4545

46-
<p class="hint">Tip: try "pandas" or "numpy" to get started. Alternatively, <a href="/help">read our help</a>.</p>
46+
<p class="hint">Tip: try "pandas" or "numpy" to get started. Alternatively, <a href="./help">read our help</a>.</p>
4747
</div>
4848
</section>
4949

package/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<body>
1212
<header class="site-header">
1313
<div class="container header-inner">
14-
<a class="brand" href="/">
14+
<a class="brand" href="../index.html">
1515
<svg class="brand-logo" width="48" height="48" viewBox="0 0 2057 974" xmlns="http://www.w3.org/2000/svg">
1616
<g fill="currentColor" stroke="none" transform="translate(0 100)">
1717
<path d="M 1092.534 158.364 C 1095.764 169.589 1102.374 179.795 1107.224 190.364 C 1119.104 216.243 1131.874 241.728 1144.274 267.364 C 1179.204 339.56 1214.064 411.844 1248.314 484.364 C 1260.474 510.112 1273.154 535.617 1285.314 561.364 C 1290.014 571.319 1299.154 583.378 1300.684 594.364 C 1301.444 599.785 1296.944 606.478 1294.984 611.364 C 1289.004 626.289 1282.004 640.557 1273.734 654.364 C 1265.284 668.483 1256.704 683.257 1245.444 695.364 C 1237.304 704.123 1228.664 712.851 1218.534 719.31 C 1176.654 746.023 1130.104 739.811 1084.534 729.364 L 1084.534 796.364 C 1137.744 803.235 1191.744 806.988 1241.534 782.094 C 1291.224 757.25 1321.144 708.125 1345.794 660.364 C 1391.424 571.949 1425.474 477.074 1463.954 385.364 C 1484.774 335.759 1505.144 285.968 1525.954 236.364 C 1532.804 220.048 1539.454 203.643 1546.384 187.364 C 1550.314 178.14 1555.824 168.274 1557.534 158.364 L 1503.534 158.364 C 1498.104 158.364 1487.624 156.363 1482.924 159.392 C 1477.284 163.031 1474.824 176.375 1472.254 182.364 C 1463.294 203.198 1455.174 224.401 1446.524 245.364 C 1422.624 303.289 1398.764 361.248 1375.334 419.364 C 1365.024 444.923 1349.894 471.569 1343.534 498.364 L 1341.534 498.364 L 1326.784 467.364 L 1300.794 414.364 L 1219.784 248.364 L 1188.284 184.364 L 1174.894 159.392 L 1152.534 158.364 L 1092.534 158.364 Z"></path>
@@ -23,7 +23,7 @@
2323
PyScript<span class="brand-accent">Packages</span>
2424
</a>
2525
<nav class="nav">
26-
<a href="/help">Help</a>
26+
<a href="../help">Help</a>
2727
</nav>
2828
</div>
2929
</header>

0 commit comments

Comments
 (0)