File tree Expand file tree Collapse file tree 4 files changed +43
-9
lines changed
Expand file tree Collapse file tree 4 files changed +43
-9
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,38 @@ jobs:
1818 with :
1919 python-version : 3.8
2020
21- - name : Restore pipx cache
21+ - name : Setup Python
22+ uses : actions/setup-python@v2
23+ with :
24+ python-version : 3.8
25+
26+ - name : Restore pip cache
2227 uses : actions/cache@v2
2328 with :
24- path : ~/.local/pipx
25- key : pipx-cache
29+ path : ~/.cache/pip
30+ key : pip-3.8
31+
32+ - name : Upgrade pip and install poetry
33+ run : python -m pip install --upgrade pip poetry
34+ shell : bash
35+
36+ - name : Restore poetry cache
37+ uses : actions/cache@v2
38+ with :
39+ path : |
40+ ~/.cache/pypoetry/cache
41+ ~/.cache/pypoetry/artifacts
42+ key : poetry-cache-and-artifacts-3.8
43+
44+ - name : Restore virtualenvs
45+ uses : actions/cache@v2
46+ with :
47+ path : ~/.cache/pypoetry/virtualenvs
48+ key : venv-${{ hashFiles('poetry.lock') }}-3.8
49+
50+ - name : Poetry install
51+ run : poetry install --only docs
52+ shell : bash
2653
27- - run : pipx run --spec "mkdocs-material==8.5.10" mkdocs gh-deploy --force
54+ - name : Generate documentation
55+ run : poetry run mkdocs gh-deploy --force
Original file line number Diff line number Diff line change 33 src : url ("ArtegraSans-Regular.ttf" );
44}
55
6- html {
7- font-family : "Artegra Sans" , Sans-serif ;
6+ : root {
7+ --md-text-font : "Artegra Sans" ;
88}
99
1010[data-md-color-scheme = "default" ] {
Original file line number Diff line number Diff line change 3535 name : material
3636 logo : logo.svg
3737 favicon : favicon.png
38- font :
39- text : Artegra Sans
38+ font : false
4039 palette :
4140 - media : " (prefers-color-scheme: light)"
4241 scheme : default
Original file line number Diff line number Diff line change @@ -31,13 +31,20 @@ lark = "^1.1.2"
3131lz4 = " ^4.0.0"
3232lief = " ^0.12.3"
3333
34+ [tool .poetry .group .dev ]
35+ optional = true
3436
35- [tool .poetry .dev- dependencies ]
37+ [tool .poetry .group . dev . dependencies ]
3638pytest = " ^6.2.4"
3739pyright = " ^0.0.12"
3840pre-commit = " ^2.15.0"
3941pytest-cov = " ^3.0.0"
4042setuptools-rust = " ^1.1.2"
43+
44+ [tool .poetry .group .docs ]
45+ optional = true
46+
47+ [tool .poetry .group .docs .dependencies ]
4148mkdocs-material = " 8.5.10"
4249mkdocstrings = " ^0.19.1"
4350pillow = " ^9.4.0"
You can’t perform that action at this time.
0 commit comments