Skip to content

Commit

Permalink
docs: try to fix The keys build.jobs and build.commands can't be used…
Browse files Browse the repository at this point in the history
… together.

[skip ci]
  • Loading branch information
Ljzd-PRO committed Mar 1, 2024
1 parent e690d61 commit 5d6a297
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,10 @@ build:
os: ubuntu-22.04
tools:
python: "3.11"
jobs:
post_create_environment:
- pip install poetry
- poetry config virtualenvs.create false
post_install:
- poetry install --with docs
commands:
- mkdocs build --clean --site-dir $READTHEDOCS_OUTPUT/html --config-file mkdocs.yml
- pip install poetry
- poetry install --with docs
- poetry run mkdocs build --clean --site-dir $READTHEDOCS_OUTPUT/html --config-file mkdocs.yml

mkdocs:
configuration: mkdocs.yml
Expand Down

0 comments on commit 5d6a297

Please sign in to comment.