Skip to content

Commit 55dc6ce

Browse files
committed
2 parents f3fa4f5 + 954c92b commit 55dc6ce

File tree

100 files changed

+31718
-93
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+31718
-93
lines changed

.github/README.md

Lines changed: 0 additions & 47 deletions
This file was deleted.

.github/workflows/mkdocs.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Run mkdocs
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
permissions:
8+
contents: write
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v3
15+
16+
- name: Set up Python runtime
17+
uses: actions/setup-python@v4
18+
with:
19+
python-version: 3.x
20+
21+
- name: Install Python dependencies
22+
run: pip install mkdocs-monorepo-plugin mkdocs-redirects mkdocs-with-pdf weasyprint mkdocs-git-authors-plugin mkdocs-git-revision-date-localized-plugin mkdocs-git-committers-plugin-2
23+
24+
# - name: Install Chrome
25+
# run: sudo apt install google-chrome-stable
26+
27+
# - run: pip uninstall -y beautifulsoup4
28+
# - run: pip install beautifulsoup4==4.9.3
29+
30+
- name: Set up build cache
31+
uses: actions/cache@v2
32+
with:
33+
key: ${{ github.ref }}
34+
path: .cache
35+
36+
- name: Install Insiders build
37+
env:
38+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
39+
run: pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
40+
- run: mkdocs gh-deploy --force

README.md

Lines changed: 18 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,37 @@
1-
SparkFun <PRODUCT NAME>
1+
SparkFun Spectral UV Sensor - AS7331 (Qwiic)
22
========================================
33

4-
[![SparkFun Part Name](URL for picture of part)](URL for product on Sparkfun.com)
4+
<table class="table table-hover table-striped table-bordered">
5+
<tr align="center">
6+
<td><a href="https://www.sparkfun.com/products/23517"><img src="https://cdn.sparkfun.com/r/600-600/assets/parts/2/3/8/0/8/23517-Spectral-UV-Sensor_Feature.jpg" alt="Standard"></a></td>
7+
<td><a href="https://www.sparkfun.com/products/23518"><img src="https://cdn.sparkfun.com/r/600-600/assets/parts/2/3/8/0/9/23518-Spectral-UV-Sensor-Mini_Feature.jpg" alt="Mini"></a></td>
8+
</tr>
9+
<tr align="center">
10+
<td><a href="https://www.sparkfun.com/products/23517">SparkFun Spectral UV Sensor - AS7331 (Qwiic)</a></td>
11+
<td><a href="https://www.sparkfun.com/products/23518">SparkFun Mini Spectral UV Sensor - AS7331 (Qwiic)</a></td>
12+
</tr>
13+
</table>
514

6-
[*SparkFun Part Name (SKU)*](URL for product on Sparkfun.com)
7-
8-
<Basic description of the part.>
15+
The SparkFun Spectral UV Sensor - AS7331 (Qwiic) features the AS7331 UV sensor from ams OSRAM<sup>&copy;</sup> and measures UV radiation on three channels: UVA (320-400nm), UVB (280-320nm), and UVC (200-280nm) with high sensitivity and accuracy. The three channels on the AS7331 each have individual photodiodes with built-in interference filters. The sensor has three operating modes: Single Measurement (CMD), Continuous Measurement (CONT), and Synchronized Measurement (SYNx) with an automatic power down sequence between measurements for low current consumption in all three modes.
916

1017
Repository Contents
1118
-------------------
1219

1320
* **/Documentation** - Data sheets, additional product information
14-
* **/Enclosure** - Enclosure files
15-
* **/Firmware** - Example code
1621
* **/Hardware** - Eagle design files (.brd, .sch)
17-
* **/Libraries** - Libraries for use with the <PRODUCT NAME>
1822
* **/Production** - Production panel files (.brd)
19-
* **/Software** - Related software for the <PRODUCT NAME>
23+
* **/docs** - Documentation files for the Spectral UV Sensor
24+
* **/overrides** - Overrides for GitHub pages content
2025

2126
Documentation
2227
--------------
23-
* **[Library](GitHub library URL)** - <LANGUAGE> library for the <PRODUCT NAME>.
24-
* **[Hookup Guide](Learn.SparkFun URL)** - Basic hookup guide for the <PRODUCT NAME>.
25-
* **[SparkFun Fritzing repo](https://github.com/sparkfun/Fritzing_Parts)** - Fritzing diagrams for SparkFun products.
26-
* **[SparkFun 3D Model repo](https://github.com/sparkfun/3D_Models)** - 3D models of SparkFun products.
27-
* **[SparkFun Graphical Datasheets](https://github.com/sparkfun/Graphical_Datasheets)** -Graphical Datasheets for various SparkFun products.
28+
* **[Library](https://github.com/sparkfun/SparkFun_AS7331_Arduino_Library)** - Arduino library for the Spectral UV Sensor - AS7331 (Qwiic).
29+
* **[Hookup Guide](https://sparkfun.github.io/SparkFun_Spectral_UV_Sensor_AS7331)** - Basic hookup guide for the Spectral UV Sensor - AS7331 (Qwiic).
2830

2931
Product Versions
3032
----------------
31-
* [Part SKU](part URL) - Basic part and short description here
32-
* [Retail part SKU](retail URL) - Retail packaging of standard description here
33-
* [Any other parts this repo covers](any other URLs) - Description of said parts
34-
35-
Version History
36-
---------------
37-
* [vExxFxxZxxHxxLxxSxx](URL for tag specific to this version) - Description
38-
* [vEyyFyyZyyHyyLyySyy](URL for tag specific to this version) - Description
33+
* [SEN-23517](https://www.sparkfun.com/products/23517) - Spectral UV Sensor - AS7331 (Qwiic)
34+
* [SEN-23518](https://www.sparkfun.com/products/23518) - Mini Spectral UV Sensor - AS7331 (Qwiic)
3935

4036
License Information
4137
-------------------
@@ -49,5 +45,3 @@ If you have any questions or concerns on licensing, please contact technical sup
4945
Distributed as-is; no warranty is given.
5046

5147
- Your friends at SparkFun.
52-
53-
_<COLLABORATION CREDIT>_

docs/github/contribute.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Contribute: Make an Augmentation!
2-
Spot an improvement opportunity? Feel free to contribute to our open-source design and documentation. <a href="https://github.com/sparkfun/<SparkFun_Spectral_UV_Sensor_AS7331>/pulls" alt="Pull Requests"><img src="https://img.shields.io/github/issues-pr/sparkfun/SparkFun_Spectral_UV_Sensor_AS7331.svg" /></a>
2+
Spot an improvement opportunity? Feel free to contribute to our open-source design and documentation. <a href="https://github.com/sparkfun/SparkFun_Spectral_UV_Sensor_AS7331/pulls" alt="Pull Requests"><img src="https://img.shields.io/github/issues-pr/sparkfun/SparkFun_Spectral_UV_Sensor_AS7331.svg" /></a>
33

44
## :material-file-document-multiple:&nbsp;Improve our Documentation
55
All of this documentation can be modified by you! Please help us make it better.
66

7-
* These pages are contained in the [`docs` folder](https://github.com/sparkfun/<SparkFun_Spectral_UV_Sensor_AS7331>/tree/main/docs) of the [<Official Product Name> repository](https://github.com/sparkfun/<SparkFun_Spectral_UV_Sensor_AS7331>).
7+
* These pages are contained in the [`docs` folder](https://github.com/sparkfun/SparkFun_Spectral_UV_Sensor_AS7331/tree/main/docs) of the [SparkFun Spectral UV Sensor - AS7331 repository](https://github.com/sparkfun/SparkFun_Spectral_UV_Sensor_AS7331).
88

99
<!-- ### :material-source-pull:&nbsp;Submit a Correction -->
1010
### Submit a Correction
1111

12-
1. With a GitHub account, [fork this repository](https://github.com/sparkfun/<SparkFun_Spectral_UV_Sensor_AS7331>/fork).
12+
1. With a GitHub account, [fork this repository](https://github.com/sparkfun/SparkFun_Spectral_UV_Sensor_AS7331/fork).
1313
2. Add your corrections or improvements to the markdown file.
1414
3. File a pull request with your changes, and enjoy making the ~~words~~ ~~worlds~~ world a better place.
1515
* Once received, the documentation specialist will automatically be notified.
@@ -18,12 +18,12 @@ All of this documentation can be modified by you! Please help us make it better.
1818
## :material-cog:&nbsp;Improve our Hardware Design
1919
All of our designs are open-source! Please help us make it better.
2020

21-
* Our board design files are contained in the [`Hardware` folder](https://github.com/sparkfun/<SparkFun_Spectral_UV_Sensor_AS7331>/tree/main/Hardware) of the [<Official Product Name> repository](https://github.com/sparkfun/<SparkFun_Spectral_UV_Sensor_AS7331>).
21+
* Our board design files are contained in the [`Hardware` folder](https://github.com/sparkfun/SparkFun_Spectral_UV_Sensor_AS7331/tree/main/Hardware) of the [SparkFun Spectral UV Sensor - AS7331 repository](https://github.com/sparkfun/SparkFun_Spectral_UV_Sensor_AS7331).
2222

2323
<!-- ### :material-source-pull:&nbsp;Submit a Design Enhancement -->
2424
### Submit a Design Enhancement
2525

26-
1. With a GitHub account, [fork this repository](https://github.com/sparkfun/<SparkFun_Spectral_UV_Sensor_AS7331>/fork).
26+
1. With a GitHub account, [fork this repository](https://github.com/sparkfun/SparkFun_Spectral_UV_Sensor_AS7331/fork).
2727
2. Add your design augmentation(s)
2828
3. File a pull request with your changes, and enjoy making the ~~words~~ ~~worlds~~ world a better place.
2929
1. Once received, the engineer in charge of the original design will automatically be notified.
@@ -36,6 +36,6 @@ All of our designs are open-source! Please help us make it better.
3636
## Contributors&nbsp;:clap:
3737
Let's provide some recognition to the contributors for this project!
3838

39-
![GitHub Contributors Image](https://contrib.rocks/image?repo=sparkfun/<SparkFun_Spectral_UV_Sensor_AS7331>)
39+
![GitHub Contributors Image](https://contrib.rocks/image?repo=sparkfun/SparkFun_Spectral_UV_Sensor_AS7331)
4040
<br>
41-
<a href="https://github.com/sparkfun/<SparkFun_Spectral_UV_Sensor_AS7331>/pulls" alt="Pull Requests"><img src="https://img.shields.io/github/contributors/sparkfun/<SparkFun_Spectral_UV_Sensor_AS7331>.svg" /></a>
41+
<a href="https://github.com/sparkfun/SparkFun_Spectral_UV_Sensor_AS7331/pulls" alt="Pull Requests"><img src="https://img.shields.io/github/contributors/sparkfun/SparkFun_Spectral_UV_Sensor_AS7331.svg" /></a>

docs/github/file_issue.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Did we make a mistake?
22

3-
Spot something wrong? Please let us know. <a href="https://github.com/sparkfun/<SparkFun_Spectral_UV_Sensor_AS7331>/issues" alt="Issues"><img src="https://img.shields.io/github/issues/sparkfun/<SparkFun_Spectral_UV_Sensor_AS7331>.svg" /></a>
3+
Spot something wrong? Please let us know. <a href="https://github.com/sparkfun/SparkFun_Spectral_UV_Sensor_AS7331/issues" alt="Issues"><img src="https://img.shields.io/github/issues/sparkfun/SparkFun_Spectral_UV_Sensor_AS7331.svg" /></a>
44

55
<!-- Technical Assistance Box -->
66
!!! warning "Need Help?"
@@ -20,15 +20,15 @@ Spot something wrong? Please let us know. <a href="https://github.com/sparkfun/<
2020

2121
All of our documentation can be modified by you! Please help us make it better.
2222

23-
* The documentation files for these pages are contained in the [`docs` folder](https://github.com/sparkfun/<SparkFun_Spectral_UV_Sensor_AS7331>/tree/main/docs) of the [<Official Product Name> repository](https://github.com/sparkfun/<SparkFun_Spectral_UV_Sensor_AS7331>).
23+
* The documentation files for these pages are contained in the [`docs` folder](https://github.com/sparkfun/SparkFun_Spectral_UV_Sensor_AS7331/tree/main/docs) of the [SparkFun Spectral UV Sensor - AS7331 repository](https://github.com/sparkfun/SparkFun_Spectral_UV_Sensor_AS7331).
2424

2525
### 🔍 Spot something wrong?
2626

27-
If a section of the documentation is incorrect, please [open an issue](https://github.com/sparkfun/<SparkFun_Spectral_UV_Sensor_AS7331>/issues) and let us know.
27+
If a section of the documentation is incorrect, please [open an issue](https://github.com/sparkfun/SparkFun_Spectral_UV_Sensor_AS7331/issues) and let us know.
2828

2929
### Do you have a suggested correction?
3030

31-
1. With a GitHub account, [fork this repository](https://github.com/sparkfun/<SparkFun_Spectral_UV_Sensor_AS7331>/fork).
31+
1. With a GitHub account, [fork this repository](https://github.com/sparkfun/SparkFun_Spectral_UV_Sensor_AS7331/fork).
3232
2. Add your correction(s) or improvement(s) to the markdown file(s)
3333
3. File a pull request with your changes, and enjoy making the ~~words~~ ~~worlds~~ world a better place.
3434
* Once received, the documentation specialist will automatically be notified.
@@ -38,15 +38,15 @@ If a section of the documentation is incorrect, please [open an issue](https://g
3838

3939
All of our designs are open-source! Please help us make it better.
4040

41-
* Our board design files are contained in the [`Hardware` folder](https://github.com/sparkfun/<SparkFun_Spectral_UV_Sensor_AS7331>/tree/main/Hardware) of the [<Official Product Name> repository](https://github.com/sparkfun/<SparkFun_Spectral_UV_Sensor_AS7331>).
41+
* Our board design files are contained in the [`Hardware` folder](https://github.com/sparkfun/SparkFun_Spectral_UV_Sensor_AS7331/tree/main/Hardware) of the [SparkFun Spectral UV Sensor - AS7331 repository](https://github.com/sparkfun/SparkFun_Spectral_UV_Sensor_AS7331).
4242

4343
### Does something not make sense? 🤔
4444

45-
If part of the design is confusing, please [open an issue](https://github.com/sparkfun/<SparkFun_Spectral_UV_Sensor_AS7331>/issues) and let us know.
45+
If part of the design is confusing, please [open an issue](https://github.com/sparkfun/SparkFun_Spectral_UV_Sensor_AS7331/issues) and let us know.
4646

4747
### Did we forget to include an important function of the board? 🤦
4848

49-
If part of the board's functionality is missing, please [open an issue](https://github.com/sparkfun/<SparkFun_Spectral_UV_Sensor_AS7331>/issues) and file a feature request.
49+
If part of the board's functionality is missing, please [open an issue](https://github.com/sparkfun/SparkFun_Spectral_UV_Sensor_AS7331/issues) and file a feature request.
5050

5151
!!! tip "Design Considerations"
5252
Please keep in mind that we may intentionally exclude certain functions of the board to meet our product design requirements.
@@ -56,7 +56,7 @@ If part of the board's functionality is missing, please [open an issue](https://
5656

5757
### Do you wish to contribute directly to improving the board design?
5858

59-
1. With a GitHub account, [fork this repository](https://github.com/sparkfun/<SparkFun_Spectral_UV_Sensor_AS7331>/fork).
59+
1. With a GitHub account, [fork this repository](https://github.com/sparkfun/SparkFun_Spectral_UV_Sensor_AS7331/fork).
6060
2. Add your design augmentation(s)
6161
3. File a pull request with your changes, and enjoy making the ~~words~~ ~~worlds~~ world a better place.
6262
1. Once received, the engineer in charge of the original design will automatically be notified.

docs/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ We designed this board for integration into SparkFun's Qwiic connect system. Cl
261261
<table>
262262
<tr>
263263
<td>
264-
<div style="text-align: center"><a href="https://www.sparkfun.com/qwiic"><img src="./assets/img/Qwiic-registered-updated.png" alt= "Qwiic Connect System" title= "Click to learn more about the Qwiic Connect System!"></a></div>
264+
<div style="text-align: center"><a href="https://www.sparkfun.com/qwiic"><img src="../assets/img/Qwiic-registered-updated.png" alt="Qwiic Connect System" title="Click to learn more about the Qwiic Connect System!"></a></div>
265265
</td>
266266
</tr>
267267
<tr>

docs/single_page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ hide:
55
icon: fontawesome/solid/scroll
66
---
77

8-
8+
# Introduction
99
--8<-- "./docs/introduction.md:5"
1010

1111
# Hardware Overview

mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ plugins:
154154
type: timeago
155155
# Add git committers at the bottom of the page
156156
- git-committers:
157-
repository: sparkfun/<SparkFun_Spectral_UV_Sensor_AS7331>
157+
repository: sparkfun/SparkFun_Spectral_UV_Sensor_AS7331
158158
branch: main
159159
# Add git authors at the bottom of the page
160160
- git-authors
@@ -219,7 +219,7 @@ extra:
219219
# Configures social icons in the footer
220220
social:
221221
- icon: sfe-logo # simple/sparkfun
222-
link: https://www.sparkfun.com/products/<SKU Number>
222+
link: https://www.sparkfun.com/products/23517
223223
- icon: fontawesome/brands/youtube
224224
link: https://www.youtube.com/sparkfun
225225
- icon: fontawesome/brands/instagram

overrides/main.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<!-- Adds file-eye icon to view hookup guide as a single page -->
66
{% if "single_page.md" %}
7-
<a href="/<SparkFun_Spectral_UV_Sensor_AS7331>/single_page" title="View as Single-Page" class="md-content__button md-icon">
7+
<a href="/SparkFun_Spectral_UV_Sensor_AS7331/single_page" title="View as Single-Page" class="md-content__button md-icon">
88
{% include ".icons/material/file-eye-outline.svg" %}
99
</a>
1010
{% endif %}

0 commit comments

Comments
 (0)