Skip to content

Commit

Permalink
chore: fix readthedocs build commands
Browse files Browse the repository at this point in the history
Signed-off-by: Frost Ming <[email protected]>
  • Loading branch information
frostming committed Sep 10, 2024
1 parent 0baff50 commit 41f0025
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,11 @@ build:
os: ubuntu-22.04
tools:
python: "3.12"
apt_packages:
- python3-venv
jobs:
post_system_dependencies:
post_create_environment:
# Install PDM
- asdf plugin add pdm
- asdf install pdm latest
- asdf global pdm latest
- pdm --version
pre_install:
- pip install pdm
post_install:
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH pdm install -dG doc

mkdocs:
Expand Down

0 comments on commit 41f0025

Please sign in to comment.