Skip to content

Commit 761bf7c

Browse files
authored
Fix docs build (#252)
1 parent 57d2d45 commit 761bf7c

File tree

3 files changed

+235
-3
lines changed

3 files changed

+235
-3
lines changed

.pdm-python

Lines changed: 0 additions & 1 deletion
This file was deleted.

.readthedocs.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,15 @@ build:
99
python: "3.8"
1010
jobs:
1111
post_install:
12+
- env
13+
- ls -al $READTHEDOCS_VIRTUALENV_PATH
14+
- python --version
15+
- python -c "import sys; print(sys.executable)"
16+
- ls -l $(python -c "import sys; print(sys.executable)")
1217
# Install PDM in its own isolated environment, so docs deps don't trample its deps
13-
- curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py | python3 -
18+
- curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py | python -
1419
# TODO how to get `pdm` on the $PATH?
20+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH $HOME/.local/bin/pdm info
1521
# https://github.com/pdm-project/pdm/discussions/1365#discussioncomment-3581356
1622
# NOTE: pandoc fails in isolation mode
17-
- VIRTUAL_ENV=$(dirname $(dirname $(which python))) $HOME/.local/bin/pdm sync --no-isolation -G viz -dG docs
23+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH $HOME/.local/bin/pdm sync -v -G viz -dG docs

0 commit comments

Comments
 (0)