Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ruby 2.7.2
9 changes: 6 additions & 3 deletions assets/javascript/libraries.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
document.addEventListener('DOMContentLoaded', function() {
async function getLatestReleases() {
let response = await fetch('https://api.github.com/repos/adafruit/Adafruit_CircuitPython_Bundle/releases/latest');
async function getLatestReleases(url) {
let response = await fetch(url);
let data = await response.json();
return data;
}
Expand Down Expand Up @@ -38,5 +38,8 @@ document.addEventListener('DOMContentLoaded', function() {
});
}

getLatestReleases().then(buildReleaseLinks);
getLatestReleases('https://api.github.com/repos/adafruit/Adafruit_CircuitPython_Bundle/releases/latest')
.then(buildReleaseLinks);
getLatestReleases('https://api.github.com/repos/adafruit/CircuitPython_Community_Bundle/releases/latest')
.then(buildReleaseLinks);
});
28 changes: 24 additions & 4 deletions libraries/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,31 @@ <h3>Examples Bundle</h3>
<section>
<h2>The Community Bundle</h2>
<p>
The libraries in the bundles above are officially supported.
Additional libraries written and supported by community members are available in the
<a href="https://github.com/adafruit/CircuitPython_Community_Bundle">Community Bundle</a>.
The libraries in the bundles above are officially supported by Adafruit.
Additional libraries written and supported by community members are available in the
<a href="https://github.com/adafruit/CircuitPython_Community_Bundle/">Community Bundle</a>.
</p>
<p>If you are looking for the 6.x Community Bundle, you can find it on
<a href="https://github.com/adafruit/CircuitPython_Community_Bundle/releases/">GitHub</a>.
</p>
</section>
<div class="release-section">
<div id="circuitpython-community-bundle-7.x-mpy">
<h3>Bundle for Version 7.x</h3>
<p>
This bundle is built for use with CircuitPython 7.x.x. If you are using
CircuitPython 7, please download this bundle.
</p>
</div>
<div id="circuitpython-community-bundle-py">
<h3>Python Source Bundle</h3>
<p>
This bundle is the uncompiled Python source code for every community library. It is not
intended for general use! It is only recommended if you need to edit
a library file. This bundle works with all supported versions of CircuitPython.
</p>
</div>
</div>
</section>
<section>
<h2>Contributing</h2>
<p>
Expand Down