File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 run : poetry install --all-extras
4545
4646 - name : Install docs dependencies
47- run : pip install -r docs/requirements.txt
47+ run : poetry run pip install -r docs/requirements.txt
4848
4949 - name : Build versioned documentation
5050 run : |
7272 fi
7373
7474 git checkout "$tag" -- docs/ examples/ || git checkout "$tag" -- docs/
75- python docs/copy_notebooks.py || true
76- sphinx-build -b html docs "$OUTPUT_DIR/$tag"
75+ poetry run python docs/copy_notebooks.py || true
76+ poetry run sphinx-build -b html docs "$OUTPUT_DIR/$tag"
7777 git checkout HEAD -- docs/ examples/ 2>/dev/null || git checkout HEAD -- docs/
7878
7979 if [ -z "$LATEST_TAG" ]; then
8989 # Build docs for main (current HEAD)
9090 echo "=== Building docs for main ==="
9191 git checkout HEAD -- docs/ examples/ 2>/dev/null || true
92- python docs/copy_notebooks.py
93- sphinx-build -b html docs "$OUTPUT_DIR/main"
92+ poetry run python docs/copy_notebooks.py
93+ poetry run sphinx-build -b html docs "$OUTPUT_DIR/main"
9494
9595 VERSIONS_JSON=$(echo "$VERSIONS_JSON" | python3 -c "
9696 import json, sys
You can’t perform that action at this time.
0 commit comments