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 42ee447
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,12 @@ build:
os: ubuntu-22.04
tools:
python: "3.12"
apt_packages:
- python3-venv
jobs:
post_system_dependencies:
# Install PDM
- asdf plugin add pdm
- asdf install pdm latest
- asdf global pdm latest
- pdm --version
pre_install:
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH pdm install -dG doc
post_create_environment:
- python install-pdm.py --path ~/.local/pdm
- ~/.local/pdm/bin/pdm --version
post_install:
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH ~/.local/pdm/bin/pdm install -dG doc

mkdocs:
configuration: mkdocs.yml

0 comments on commit 42ee447

Please sign in to comment.