Skip to content

Commit 61803c5

Browse files
author
Maximilian Häming
authored
Merge pull request #6 from StudyProject-NLI/documentation
initial mkdocs setup
2 parents 7767899 + 357acdb commit 61803c5

5 files changed

Lines changed: 46 additions & 11 deletions

File tree

README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,19 @@
22

33
This is the code repository for the Android app developed in the studyproject Sensory augmentation and grasping movements.
44

5-
![Debug APK Builds](https://github.com/StudyProject-NLI/NLInterface/actions/workflows/main.yml/badge.svg)
5+
![Debug APK Builds](https://github.com/StudyProject-NLI/NLInterface/actions/workflows/debug_build.yml/badge.svg)
6+
7+
# Documentation
8+
9+
## Running locally
10+
- Install Python
11+
- `pip install -r docs/requirements.txt`
12+
13+
Run the documentation server via
14+
```bash
15+
$ mkdocs serve
16+
```
17+
618

719
# Building the app locally
820
Requirements:
@@ -28,13 +40,3 @@ The resulting installable application can be found under
2840
`app/build/outputs/apk/debug/app-debug.apk`
2941

3042
which you can copy and install on your device.
31-
32-
33-
# Local Development Setup
34-
35-
We are using [Android Studio](https://developer.android.com/studio/) for development.
36-
37-
38-
# Architecture Overview
39-
40-
t.b.d

docs/architecture/overview.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# How is our app structured?

docs/index.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Overview
2+
3+
For full documentation visit [mkdocs.org](https://www.mkdocs.org).
4+
5+
## Commands
6+
7+
* `mkdocs new [dir-name]` - Create a new project.
8+
* `mkdocs serve` - Start the live-reloading docs server.
9+
* `mkdocs build` - Build the documentation site.
10+
* `mkdocs -h` - Print help message and exit.
11+
12+
## Project layout
13+
14+
mkdocs.yml # The configuration file.
15+
docs/
16+
index.md # The documentation homepage.
17+
... # Other markdown pages, images and other files.

docs/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
mkdocs
2+
mkdocs-material

mkdocs.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
site_name: NLInterface
2+
site_url: ""
3+
use_directory_urls: false
4+
5+
theme:
6+
name: "material"
7+
highlightjs: true
8+
hljs_languages:
9+
- bash
10+
- kotlin
11+
12+
markdown_extensions:
13+
- admonition

0 commit comments

Comments
 (0)