Skip to content

Commit 1e90d9d

Browse files
committed
fix(ci): use pip to install released package for docs build
mkdocstrings needs to import the module to extract docstrings. Install the released package from PyPI instead of building from source.
1 parent 2d8a060 commit 1e90d9d

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,19 @@ jobs:
2424
runs-on: "ubuntu-latest"
2525
steps:
2626
- uses: "actions/checkout@v4"
27-
with:
28-
submodules: "recursive"
2927

3028
- name: "Set up Python"
3129
uses: "actions/setup-python@v5"
3230
with:
3331
python-version: "3.12"
3432

35-
- name: "Install uv"
36-
uses: "astral-sh/setup-uv@v4"
37-
3833
- name: "Install dependencies"
39-
run: "uv sync --group docs"
34+
run: |
35+
pip install mkdocs mkdocs-material "mkdocstrings[python]"
36+
pip install log-surgeon-ffi
4037
4138
- name: "Build docs"
42-
run: "uv run mkdocs build --strict"
39+
run: "mkdocs build --strict"
4340

4441
- name: "Upload docs artifact"
4542
uses: "actions/upload-pages-artifact@v3"

0 commit comments

Comments
 (0)