Skip to content

Commit ff06cf9

Browse files
committed
Make README.md look clean and add docs
1 parent 0e3208e commit ff06cf9

File tree

4 files changed

+68
-1
lines changed

4 files changed

+68
-1
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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ npm run serve
2929
npm run build
3030
```
3131

32-
### Lint code to check for errors and warnings
32+
### Lints code to check for errors and warnings
3333

3434
```
3535
npm run lint

docs/index.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Vue gamification todo list app with Vuex, SCSS and TypeScript
2+
3+
This application is a todo list with task repetition with level and experience points and it stores to local storage using `vuex-persistedstate`.
4+
5+
## Contents
6+
7+
`src`: Source for Vue, SCSS and TypeScript files.
8+
`src/components`: Vue components to render as HTML with SCSS style.
9+
`src/store`: Vuex store and store options.
10+
11+
12+
13+
## Setup the application
14+
15+
```
16+
git clone https://github.com/lulunac27a/gamification-todo-list-vue-typescript.git
17+
npm install
18+
```
19+
20+
### Serve the application
21+
22+
```
23+
npm run serve
24+
```
25+
26+
### Build the application to compile and minify the code
27+
28+
```
29+
npm run build
30+
```
31+
32+
### Lints code to check for errors and warnings
33+
34+
```
35+
npm run lint
36+
```

mkdocs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
site_name: Gamification Todo List using Vue and TypeScript
2+
theme: material
3+
repo_url: https://github.com/lulunac27a/gamification-todo-list-vue-typescript

0 commit comments

Comments
 (0)