add sections for libraries page

This commit is contained in:
Justin Cooper 2019-05-22 11:42:38 -05:00
parent 9921a0d128
commit c4e0fc7e87

View file

@ -22,107 +22,111 @@ permalink: /libraries
The full list of all the CircuitPython libraries contained in the following bundles The full list of all the CircuitPython libraries contained in the following bundles
can be found on the can be found on the
<a href="https://circuitpython.readthedocs.io/projects/bundle/en/latest/drivers.html" title="">libraries page</a>. <a href="https://circuitpython.readthedocs.io/projects/bundle/en/latest/drivers.html" title="">libraries page</a>.
<h2>Download and Installation Instructions</h2> <section>
<p> <h2>Download and Installation Instructions</h2>
The libraries in each release are compiled to .mpy for all recent major versions <p>
of CircuitPython. Please download the bundle that matches the major version The libraries in each release are compiled to .mpy for all recent major versions
of your CircuitPython. For example, if you are running 4.0.0 you should of CircuitPython. Please download the bundle that matches the major version
download the 4.x bundle. The .mpy files are designed to take up less space on of your CircuitPython. For example, if you are running 4.0.0 you should
your CIRCUITPY drive. Unless you have a specific reason, choose the appropiate download the 4.x bundle. The .mpy files are designed to take up less space on
.mpy library bundle! your CIRCUITPY drive. Unless you have a specific reason, choose the appropiate
</p> .mpy library bundle!
<p> </p>
<b>To install</b>, download the appropriate bundle for your version of CircuitPython. <p>
Unzip the file, open the resulting folder and find the lib folder. Open the lib <b>To install</b>, download the appropriate bundle for your version of CircuitPython.
folder and find the library files you need to load. Create a lib folder on your Unzip the file, open the resulting folder and find the lib folder. Open the lib
CIRCUITPY drive. Copy the individual library files you need to the lib folder folder and find the library files you need to load. Create a lib folder on your
on your CIRCUITPY drive. CIRCUITPY drive. Copy the individual library files you need to the lib folder
</p> on your CIRCUITPY drive.
<p> </p>
You can always find the <p>
<a href="https://github.com/adafruit/Adafruit_CircuitPython_Bundle/releases/latest">latest releases of the libraries bundle</a> You can always find the
on GitHub. <a href="https://github.com/adafruit/Adafruit_CircuitPython_Bundle/releases/latest">latest releases of the libraries bundle</a>
<div class="release-section"> on GitHub.
<div id="adafruit-circuitpython-bundle-4.x-mpy"> <div class="release-section">
<h3>Bundle Version 4.x</h3> <div id="adafruit-circuitpython-bundle-4.x-mpy">
<p> <h3>Bundle Version 4.x</h3>
This bundle is built for use with CircuitPython 4.x.x. If you are using <p>
CircuitPython 4, please download this bundle. This bundle is built for use with CircuitPython 4.x.x. If you are using
</p> CircuitPython 4, please download this bundle.
</p>
</div>
<div id="adafruit-circuitpython-bundle-3.x-mpy">
<h3>Bundle Version 3.x</h3>
<p>
This bundle is built for use with CircuitPython 3.x.x. If you are using
CircuitPython 3, please download this bundle.
</p>
</div>
<div id="adafruit-circuitpython-bundle-py">
<h3>Bundle Version py</h3>
<p>
This bundle is the uncompiled source code for every 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 versions of CircuitPython.
</p>
</div>
<div id="adafruit-circuitpython-bundle-examples">
<h3>Bundle Examples</h3>
<p>
Every CircuitPython library has examples to go along with it. This bundle
contains every library example. This bundle will have examples that
require the latest version of CircuitPython, and therefore contains files
that may not work with all versions.
</p>
</div>
</div> </div>
<div id="adafruit-circuitpython-bundle-3.x-mpy"> </section>
<h3>Bundle Version 3.x</h3> <section>
<p> <h2>Contributing</h2>
This bundle is built for use with CircuitPython 3.x.x. If you are using <p>
CircuitPython 3, please download this bundle. If you'd like to contribute to the CircuitPython project, the CircuitPython
</p> libraries are a great way to begin. Everyone is welcome to contribute!
Regardless of your experience level, we have many resources to get you
started. Check out the Contributing page for detailed information!
</p>
<p>
Find out more about how you can
<a href="{{ "/libraries/contributing" | relative_url }}" title="Contributing Page">contribute to CircuitPython libraries</a>.
</p>
<h2>Library Activity for Week of {{ site.data.libraries.updated_at | date: "%a, %b %d, %Y" }}</h2>
<p>
Thank you to all of our contributors!
</p>
<p>
This week there were {{ site.data.libraries.merged_pr_count }} pull requests merged:
<ul>
<li>
Authors:
{% for contributor in site.data.libraries.contributors %}
<a href="https://github.com/{{contributor}}" title="Contributor Name">{{contributor}}</a>{% if forloop.last != true %}, {% endif %}
{% endfor %}
</li>
<li>
Reviewers:
{% for reviewer in site.data.libraries.reviewers %}
<a href="https://github.com/{{reviewer}}" title="Contributor Name">{{reviewer}}</a>{% if forloop.last != true %}, {% endif %}
{% endfor %}
</li>
</ul>
</p>
<div class="libraries new">
<h3>New Libraries</h3>
<ul>
{% for library in site.data.libraries.library_updates.new %}
<li><a href="{{library[1]}}" title="New Library Location">{{library[0]}}</a></li>
{% endfor %}
</ul>
</div> </div>
<div id="adafruit-circuitpython-bundle-py"> <div class="libraries updated">
<h3>Bundle Version py</h3> <h3>Updated Libraries</h3>
<p> <ul>
This bundle is the uncompiled source code for every library. It is not {% for library in site.data.libraries.library_updates.updated %}
intended for general use! It is only recommended if you need to edit <li><a href="{{library[1]}}" title="Updated Library Location">{{library[0]}}</a></li>
a library file. This bundle works with all versions of CircuitPython. {% endfor %}
</p> </ul>
</div> </div>
<div id="adafruit-circuitpython-bundle-examples"> </section>
<h3>Bundle Examples</h3>
<p>
Every CircuitPython library has examples to go along with it. This bundle
contains every library example. This bundle will have examples that
require the latest version of CircuitPython, and therefore contains files
that may not work with all versions.
</p>
</div>
</div>
<h2>Contributing</h2>
<p>
If you'd like to contribute to the CircuitPython project, the CircuitPython
libraries are a great way to begin. Everyone is welcome to contribute!
Regardless of your experience level, we have many resources to get you
started. Check out the Contributing page for detailed information!
</p>
<p>
Find out more about how you can
<a href="{{ "/libraries/contributing" | relative_url }}" title="Contributing Page">contribute to CircuitPython libraries</a>.
</p>
<h2>Library Activity for Week of {{ site.data.libraries.updated_at | date: "%a, %b %d, %Y" }}</h2>
<p>
Thank you to all of our contributors!
</p>
<p>
This week there were {{ site.data.libraries.merged_pr_count }} pull requests merged:
<ul>
<li>
Authors:
{% for contributor in site.data.libraries.contributors %}
<a href="https://github.com/{{contributor}}" title="Contributor Name">{{contributor}}</a>{% if forloop.last != true %}, {% endif %}
{% endfor %}
</li>
<li>
Reviewers:
{% for reviewer in site.data.libraries.reviewers %}
<a href="https://github.com/{{reviewer}}" title="Contributor Name">{{reviewer}}</a>{% if forloop.last != true %}, {% endif %}
{% endfor %}
</li>
</ul>
</p>
<div class="libraries new">
<h3>New Libraries</h3>
<ul>
{% for library in site.data.libraries.library_updates.new %}
<li><a href="{{library[1]}}" title="New Library Location">{{library[0]}}</a></li>
{% endfor %}
</ul>
</div>
<div class="libraries updated">
<h3>Updated Libraries</h3>
<ul>
{% for library in site.data.libraries.library_updates.updated %}
<li><a href="{{library[1]}}" title="Updated Library Location">{{library[0]}}</a></li>
{% endfor %}
</ul>
</div>
</div> </div>
</div> </div>