Skip to content

Commit 384a667

Browse files
committed
feat: migrate to Zensical
1 parent f7acc9a commit 384a667

2 files changed

Lines changed: 7 additions & 18 deletions

File tree

.github/workflows/build.yaml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,16 @@ jobs:
2727
python-version: 3.x
2828
cache: pip
2929

30-
- name: MkDocs cache
31-
uses: actions/cache@v5
32-
with:
33-
path: .cache
34-
key: ${{ runner.os }}-mkdocs-${{ github.sha }}
35-
restore-keys: |
36-
${{ runner.os }}-mkdocs-
37-
3830
- name: Install dependencies
3931
run: pip install -r requirements.txt
4032

4133
- name: Build docs
42-
env:
43-
REPO_NAME: ${{ github.repository }}
44-
REPO_URL: ${{ github.server_url }}/${{ github.repository }}
45-
run: mkdocs build
34+
run: zensical build
35+
36+
- name: Minify
37+
uses: docker://tdewolff/minify
38+
with:
39+
args: -i -r /github/workspace/site
4640

4741
- name: Compress
4842
run: tar -czvf docs.tar.gz site

requirements.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
mkdocs-git-revision-date-localized-plugin==1.5.1
2-
mkdocs-material==9.7.6
3-
mkdocs-material[imaging]==9.7.6
4-
mkdocs-minify-plugin==0.8.0
5-
mkdocs==1.6.1
6-
ruamel.yaml
1+
zensical==0.0.34

0 commit comments

Comments
 (0)