Skip to content

Commit 5eb6daf

Browse files
committed
chore: fix readthedocs build commands
Signed-off-by: Frost Ming <[email protected]>
1 parent 0baff50 commit 5eb6daf

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.readthedocs.yaml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,12 @@ build:
99
os: ubuntu-22.04
1010
tools:
1111
python: "3.12"
12-
apt_packages:
13-
- python3-venv
1412
jobs:
15-
post_system_dependencies:
16-
# Install PDM
17-
- asdf plugin add pdm
18-
- asdf install pdm latest
19-
- asdf global pdm latest
20-
- pdm --version
21-
pre_install:
22-
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH pdm install -dG doc
13+
post_create_environment:
14+
- python install-pdm.py --path ~/.local/pdm
15+
- ~/.local/pdm --version
16+
post_install:
17+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH ~/.local/pdm/bin/pdm install -dG doc
2318

2419
mkdocs:
2520
configuration: mkdocs.yml

0 commit comments

Comments
 (0)