Skip to content

Commit 2908bdb

Browse files
committed
ci: fix docs build
1 parent b8da502 commit 2908bdb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ jobs:
2929

3030
- name: Set up Python
3131
uses: actions/setup-python@v5
32-
32+
with:
33+
python-version: "3.13"
34+
- name: Install uv
35+
uses: astral-sh/setup-uv@v6
3336
- name: Install
3437
run: |
3538
uv sync --group docs --no-default-groups

scripts/generate_api_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
def generate_api_docs():
99
this_dir = path.dirname(path.realpath(__file__))
1010
docs_dir = path.abspath(path.join(this_dir, "..", "docs"))
11-
pyinfra_dir = path.abspath(path.join(this_dir, "..", "pyinfra"))
11+
pyinfra_dir = path.abspath(path.join(this_dir, "..", "src", "pyinfra"))
1212

1313
api_doc_command = (
1414
"uv run sphinx-apidoc -e -M -f -o {0}/apidoc/ {1} {1}/facts {1}/operations {1}/connectors"

0 commit comments

Comments
 (0)