File tree Expand file tree Collapse file tree 7 files changed +130
-2
lines changed
Expand file tree Collapse file tree 7 files changed +130
-2
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://docs.renovatebot.com/renovate-schema.json" ,
3+ "extends" : [
4+ " config:recommended"
5+ ]
6+ }
Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push :
5+ branches-ignore :
6+ - main
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ concurrency :
12+ group : ${{ github.workflow }}-${{ github.ref }}
13+ steps :
14+ - uses : actions/checkout@v5
15+ - uses : actions/setup-python@v6
16+ with :
17+ python-version : " 3.14"
18+ - run : python3 -m pip install --upgrade pip
19+ - id : pip-cache
20+ run : echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
21+ - uses : actions/cache@v4
22+ with :
23+ path : ${{ steps.pip-cache.outputs.dir }}
24+ key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
25+ restore-keys : |
26+ ${{ runner.os }}-pip-
27+ - run : |
28+ python3 -m pip install -r requirements.txt
29+ mkdocs build
Original file line number Diff line number Diff line change 1+ name : GitHub Pages
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ deploy :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : write
13+ concurrency :
14+ group : ${{ github.workflow }}-${{ github.ref }}
15+ steps :
16+ - name : Clone repository
17+ uses : actions/checkout@v5
18+
19+ - name : Setup Python environment
20+ uses : actions/setup-python@v6
21+ with :
22+ python-version : " 3.14"
23+
24+ - name : Upgrade pip
25+ run : python3 -m pip install --upgrade pip
26+
27+ - name : Get pip cache directory
28+ id : pip-cache
29+ run : echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
30+
31+ - name : Cache dependencies
32+ uses : actions/cache@v4
33+ with :
34+ path : ${{ steps.pip-cache.outputs.dir }}
35+ key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
36+ restore-keys : |
37+ ${{ runner.os }}-pip-
38+
39+ - name : Install dependencies
40+ run : python3 -m pip install -r ./requirements.txt
41+
42+ - name : Build Docs
43+ run : mkdocs build
44+
45+ - name : Deploy
46+ uses : peaceiris/actions-gh-pages@v4
47+ if : github.ref == 'refs/heads/main'
48+ with :
49+ github_token : ${{ secrets.GITHUB_TOKEN }}
50+ publish_dir : ./site
51+ cname : dockwatch.wiki
52+ user_name : Notifiarr
53+ user_email : notifiarr+github-actions[bot]@users.noreply.github.com
Original file line number Diff line number Diff line change 1+ .venv
Original file line number Diff line number Diff line change 1+ # mkdocs-wiki
2+
3+ [ Dockwatch wiki] ( https://dockwatch.wiki ) source.
4+
5+ ## Local Build
6+
7+ ### macOS
8+
9+ ```
10+ brew install python3
11+ python3 -m venv .venv
12+ source .venv/bin/activate
13+ python3 -m pip install -r requirements.txt
14+ mkdocs serve
15+ ```
16+
17+ ### Windows
18+
19+ ```
20+ winget install Python.Python.3.14
21+ python3 -m venv .venv
22+ call venv\Scripts\activate
23+ python3 -m pip install -r requirements.txt
24+ mkdocs serve
25+ ```
26+
27+ ### Linux
28+
29+ ```
30+ sudo apt install python3 || sudo yum install python3
31+ python3 -m venv .venv
32+ source .venv/bin/activate
33+ python3 -m pip install -r requirements.txt
34+ mkdocs serve
35+ ```
Original file line number Diff line number Diff line change 11site_name : Dockwatch Wiki
22site_author : nitsua
33site_description : Simple UI driven way to manage updates & notifications for Docker containers.
4- site_url : http ://rm-web-1:8005/en/latest/
4+ site_url : https ://dockwatch.wiki
55repo_name : dockwatch
66repo_url : https://github.com/Notifiarr/dockwatch
77repo_wiki_name : dockwatch-wiki
2121 - Notifications :
2222 - Notifiarr : pages/notifications/notifiarr.md
2323 - Telegram : pages/notifications/telegram.md
24- - Settings :
24+ - Settings :
2525 - General : pages/settings/general.md
2626 - Logins : pages/settings/logins.md
2727 - Servers : pages/settings/servers.md
Original file line number Diff line number Diff line change 1+ mkdocs ~= 1.6.0
2+ mkdocs-material ~= 9.6.0
3+ mkdocs-material-extensions ~= 1.3.0
4+ mkdocs-glightbox ~= 0.5.0
You can’t perform that action at this time.
0 commit comments