Skip to content

Commit 1bef96c

Browse files
committed
Create Documentation Website
1 parent a6926a5 commit 1bef96c

File tree

6 files changed

+92
-0
lines changed

6 files changed

+92
-0
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: ci
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- main
7+
permissions:
8+
contents: write
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Configure Git Credentials
15+
run: |
16+
git config user.name github-actions[bot]
17+
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
18+
- uses: actions/setup-python@v5
19+
with:
20+
python-version: 3.x
21+
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
22+
- uses: actions/cache@v4
23+
with:
24+
key: mkdocs-material-${{ env.cache_id }}
25+
path: .cache
26+
restore-keys: |
27+
mkdocs-material-
28+
- run: pip install mkdocs-material
29+
- run: mkdocs gh-deploy --force

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
venv

docs/Hardware Setup.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## Requirements
2+
1. LILYGO TQT Pro
3+
2. USB-C cable
4+
3. 3mm LED (White colour)
5+
4. Small speaker
6+
5. MPU6050 accelerometer
7+
6. Stemma qt connector
8+
7. A computer with PlatformIO installed
9+
8. LiPo battery
10+
9. JST connector (optional)
11+
12+
## Hardware setup
13+
1. Solder a white coloured LED to IO33 and 34 with the ground pin soldered on IO34
14+
2. Solder a speaker to GND and IO16
15+
3. Solder a JST connector (included in the TQT Pro's box) to the battery charge pads on the microcontroller or directly solder the battery to the pads
16+
4. Solder a Stemma qt connector to the MPU6050
17+
5. Connect the Stemma qt connector to the TQT Pro

docs/Release Notes.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
## V0.3.3
2+
OpenTimeWatch Configurator tool can now configure board settings.
3+
## V0.3.2
4+
New OpenTimeWatch Configurator tool.
5+
## V0.3.1
6+
otwUI bug fix, updated configuration for TQT pro N8 in ```platformio.ini``` file and better documentation.
7+
## V0.3.0
8+
New UI (created using [lopaka.app](https://lopaka.app/sandbox)), multiple watch faces, Wifi support, time synchronisation, back option in menus, accelerometer support and apps and sub menus separated from the ```main.cpp``` file.
9+
## V0.2.1
10+
Added refinements to the OS navigation, added a manual in the ```README.md``` and changed the tone of the speaker.
11+
## V0.2.0
12+
A significant update compared to V0.1, as it introduced menus, pong, interaction with peripherals (torch and speaker), OS being open sourced, matrix effect, settings menu.
13+
## V0.1.0
14+
The initial release it just had a home screen and an about screen.

docs/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Welcome to OpenTimeWatch Project
2+
3+
It is a project which involves building open source hardware and software for smartwatches
4+

mkdocs.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
site_name: OpenTimeWatch Docs
2+
site_url: https://sitename.example
3+
theme:
4+
name: material
5+
font:
6+
code: Red Hat Mono
7+
palette:
8+
# Dark Mode
9+
- scheme: slate
10+
toggle:
11+
icon: material/weather-sunny
12+
name: Dark mode
13+
primary: lime
14+
accent: deep purple
15+
16+
# Light Mode
17+
- scheme: default
18+
toggle:
19+
icon: material/weather-night
20+
name: Light mode
21+
primary: lime
22+
accent: deep purple
23+
markdown_extensions:
24+
- attr_list
25+
- pymdownx.emoji:
26+
emoji_index: !!python/name:material.extensions.emoji.twemoji
27+
emoji_generator: !!python/name:material.extensions.emoji.to_svg

0 commit comments

Comments
 (0)