Skip to content

Commit ef3057d

Browse files
committed
Add docs
1 parent b8d661c commit ef3057d

File tree

3 files changed

+41
-0
lines changed

3 files changed

+41
-0
lines changed

.github/workflows/docs.yml

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

docs/index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Flask Endless User Level XP System
2+
3+
This app is an endless user-based level and XP (experience points). It uses SQlite and SQLAlchemy to store user data in the database.
4+
5+
### Getting Started
6+
7+
1. Clone the repository
8+
2. Install the requirements: `pip install -r requierements.txt`
9+
3. Run the app: `python app.py`
10+
4. Go to `localhost:8081` on your web browser

mkdocs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
site_name: Flask Endless Level XP System
2+
theme: material
3+
repo_url: https://github.com/lulunac27a/flask-endless-level-xp

0 commit comments

Comments
 (0)