Skip to content

Commit 7aacd13

Browse files
committed
chore: update build docs script.
1 parent e549aed commit 7aacd13

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/build-docs.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,14 @@ jobs:
1919
id: cache
2020
with:
2121
path: ${{ env.pythonLocation }}
22-
key: ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-docs
22+
key: ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-publish
2323

24-
- run: pip install mkdocs-material
25-
- run: pip install mkdocstrings
24+
- name: Install Flit
25+
if: steps.cache.outputs.cache-hit != 'true'
26+
run: pip install flit
27+
- name: Install Dependencies
28+
if: steps.cache.outputs.cache-hit != 'true'
29+
run: flit install --symlink
2630

2731
- name: Build Docs
2832
run: |

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ test = [
5252
]
5353
docs = [
5454
"mkdocs-material>=8.3.8",
55-
"mkdocstrings>=0.19.0",
55+
"mkdocstrings[python]>=0.19.0",
5656
]
5757
# pytest
5858
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)