Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docs build #252

Merged
merged 7 commits into from
Aug 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .pdm-python

This file was deleted.

10 changes: 8 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,15 @@ build:
python: "3.8"
jobs:
post_install:
- env
- ls -al $READTHEDOCS_VIRTUALENV_PATH
- python --version
- python -c "import sys; print(sys.executable)"
- ls -l $(python -c "import sys; print(sys.executable)")
# Install PDM in its own isolated environment, so docs deps don't trample its deps
- curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py | python3 -
- curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py | python -
# TODO how to get `pdm` on the $PATH?
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH $HOME/.local/bin/pdm info
# https://github.com/pdm-project/pdm/discussions/1365#discussioncomment-3581356
# NOTE: pandoc fails in isolation mode
- VIRTUAL_ENV=$(dirname $(dirname $(which python))) $HOME/.local/bin/pdm sync --no-isolation -G viz -dG docs
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH $HOME/.local/bin/pdm sync -v -G viz -dG docs
Loading