Skip to content

Commit 1dfcacf

Browse files
committed
created outline of website
1 parent 0101435 commit 1dfcacf

File tree

12 files changed

+146
-107
lines changed

12 files changed

+146
-107
lines changed

.github/workflows/main.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Build Documentation using MkDocs
2+
3+
# Controls when the action will run. Triggers the workflow on push or pull request
4+
# events but only for the master branch
5+
on:
6+
push:
7+
branches: [main]
8+
pull_request:
9+
branches: [main]
10+
11+
jobs:
12+
build:
13+
name: Build and Deploy Documentation
14+
runs-on: ubuntu-latest
15+
permissions:
16+
contents: write
17+
steps:
18+
- name: Checkout Master
19+
uses: actions/checkout@v3
20+
21+
- name: Set up Python 3.9
22+
uses: actions/setup-python@v2
23+
with:
24+
python-version: '3.9'
25+
26+
- name: Install dependencies
27+
run: |
28+
python -m pip install --upgrade pip
29+
pip install mkdocs==1.4.2 mkdocs-video==1.3.0 jinja2==3.1.2 "Markdown<3.4.0" mkdocs-table-reader-plugin==1.1.0 mkdocs-material==8.5.10
30+
31+
- name: Deploy
32+
run: |
33+
git pull
34+
mkdocs gh-deploy

.gitignore

Lines changed: 14 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Byte-compiled / optimized / DLL files
22
__pycache__/
3-
*.py[codz]
3+
*.py[cod]
44
*$py.class
55

66
# C extensions
@@ -20,7 +20,6 @@ parts/
2020
sdist/
2121
var/
2222
wheels/
23-
share/python-wheels/
2423
*.egg-info/
2524
.installed.cfg
2625
*.egg
@@ -39,17 +38,14 @@ pip-delete-this-directory.txt
3938
# Unit test / coverage reports
4039
htmlcov/
4140
.tox/
42-
.nox/
4341
.coverage
4442
.coverage.*
4543
.cache
4644
nosetests.xml
4745
coverage.xml
4846
*.cover
49-
*.py.cover
5047
.hypothesis/
5148
.pytest_cache/
52-
cover/
5349

5450
# Translations
5551
*.mo
@@ -59,7 +55,6 @@ cover/
5955
*.log
6056
local_settings.py
6157
db.sqlite3
62-
db.sqlite3-journal
6358

6459
# Flask stuff:
6560
instance/
@@ -72,71 +67,22 @@ instance/
7267
docs/_build/
7368

7469
# PyBuilder
75-
.pybuilder/
7670
target/
7771

7872
# Jupyter Notebook
7973
.ipynb_checkpoints
8074

81-
# IPython
82-
profile_default/
83-
ipython_config.py
84-
8575
# pyenv
86-
# For a library or package, you might want to ignore these files since the code is
87-
# intended to run in multiple environments; otherwise, check them in:
88-
# .python-version
89-
90-
# pipenv
91-
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92-
# However, in case of collaboration, if having platform-specific dependencies or dependencies
93-
# having no cross-platform support, pipenv may install dependencies that don't work, or not
94-
# install all needed dependencies.
95-
#Pipfile.lock
96-
97-
# UV
98-
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
99-
# This is especially recommended for binary packages to ensure reproducibility, and is more
100-
# commonly ignored for libraries.
101-
#uv.lock
102-
103-
# poetry
104-
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
105-
# This is especially recommended for binary packages to ensure reproducibility, and is more
106-
# commonly ignored for libraries.
107-
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
108-
#poetry.lock
109-
#poetry.toml
110-
111-
# pdm
112-
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
113-
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
114-
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
115-
#pdm.lock
116-
#pdm.toml
117-
.pdm-python
118-
.pdm-build/
119-
120-
# pixi
121-
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
122-
#pixi.lock
123-
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
124-
# in the .venv directory. It is recommended not to include this directory in version control.
125-
.pixi
126-
127-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
128-
__pypackages__/
129-
130-
# Celery stuff
76+
.python-version
77+
78+
# celery beat schedule file
13179
celerybeat-schedule
132-
celerybeat.pid
13380

13481
# SageMath parsed files
13582
*.sage.py
13683

13784
# Environments
13885
.env
139-
.envrc
14086
.venv
14187
env/
14288
venv/
@@ -156,52 +102,13 @@ venv.bak/
156102

157103
# mypy
158104
.mypy_cache/
159-
.dmypy.json
160-
dmypy.json
161-
162-
# Pyre type checker
163-
.pyre/
164-
165-
# pytype static type analyzer
166-
.pytype/
167-
168-
# Cython debug symbols
169-
cython_debug/
170-
171-
# PyCharm
172-
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
173-
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
174-
# and can be added to the global gitignore or merged into this file. For a more nuclear
175-
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
176-
#.idea/
177-
178-
# Abstra
179-
# Abstra is an AI-powered process automation framework.
180-
# Ignore directories containing user credentials, local state, and settings.
181-
# Learn more at https://abstra.io/docs
182-
.abstra/
183-
184-
# Visual Studio Code
185-
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
186-
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
187-
# and can be added to the global gitignore or merged into this file. However, if you prefer,
188-
# you could uncomment the following to ignore the entire vscode folder
189-
# .vscode/
190-
191-
# Ruff stuff:
192-
.ruff_cache/
193-
194-
# PyPI configuration file
195-
.pypirc
196-
197-
# Cursor
198-
# Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
199-
# exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
200-
# refer to https://docs.cursor.com/context/ignore-files
201-
.cursorignore
202-
.cursorindexingignore
203-
204-
# Marimo
205-
marimo/_static/
206-
marimo/_lsp/
207-
__marimo__/
105+
106+
# other
107+
*.swp
108+
*~
109+
*.bak
110+
*.sh
111+
.~lock*
112+
113+
# IDEA IDE config files
114+
.idea/*

README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,51 @@
11
# WAILight.github.io
22
Website for the WAILight project.
3+
4+
## Content
5+
6+
The content for the website lives in the [docs](docs) sub-folder and consists
7+
of [Markdown](https://github.github.com/gfm/) text files. These files need
8+
to have the extension `.md`.
9+
10+
**NB:** Any modifications or additions that get committed via the web interface
11+
automatically trigger a rebuild of the site via Github Actions (see
12+
[Deploying](#deploying)).
13+
14+
## Modifying
15+
16+
Simply edit the respective page in the web-browser (you need to be logged in
17+
into github and be a member of the contributors team). You can do that either
18+
through the *pen* icon on the web page itself or go to this repo and navigate
19+
to the correct `.md` file and then click on the *pen* icon there.
20+
21+
## Adding
22+
23+
Adding a page consists of two steps:
24+
25+
* create a new `.md` file in the [docs](docs) sub-folder (the file name should
26+
be all lower-case and contain no spaces - use underscores instead)
27+
* add this `.md` file in the [mkdocs.yml](mkdocs.yml) configuration file
28+
under the `nav` section with a suitable title (the title can contain spaces
29+
and doesn't have to be all lower-case).
30+
31+
32+
## Local
33+
34+
### Installation
35+
36+
```bash
37+
python3 -m venv venv
38+
./venv/bin/pip install mkdocs==1.4.2 mkdocs-video==1.3.0 jinja2==3.1.2 "Markdown<3.4.0" mkdocs-table-reader-plugin==1.1.0 mkdocs-material==8.5.10
39+
```
40+
41+
### Serving
42+
43+
```bash
44+
./venv/bin/mkdocs serve
45+
```
46+
47+
## Deploying
48+
49+
Any push will trigger a rebuild of the site on github via github actions:
50+
51+
[.github/workflows/main.yml](.github/workflows/main.yml)

docs/files/.gitignore

Whitespace-only changes.

docs/hardware.md

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

docs/img/.gitignore

Whitespace-only changes.

docs/img/favicon.ico

148 KB
Binary file not shown.

docs/img/logo.jpg

94.1 KB
Loading

docs/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
![WAILight rig in action](img/logo.jpg)
2+
3+
Welcome to the WAILight project.
4+
5+
# Publications
6+
Explore our [publications](publications.md) to access the detailed findings and
7+
contributions from our team.

docs/publications.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# 2025
2+
3+
* Abeysekera S, Ooi MP-L, Kuang Y-C, Faisal S, Thawdar Y, Holmes G, Fletcher D,
4+
Reutemann P, 2025. *Rethinking the Concept of Pixel Intensity Contrast From
5+
a Machine Learning Perspective.* IEEE Sensors Letters, 9(12):1-4, IEEE.
6+
[10.1109/lsens.2025.3627240](https://dx.doi.org/10.1109/lsens.2025.3627240)

0 commit comments

Comments
 (0)