Skip to content

Commit

Permalink
chore: update .readthedocs config
Browse files Browse the repository at this point in the history
  • Loading branch information
tedil committed Jan 13, 2025
1 parent baf93f9 commit 6ae313c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ build:
tools:
python: '3.12'
jobs:
post_create_environment:
- pip install uv
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install --upgrade pip setuptools
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install --upgrade sphinx readthedocs-sphinx-ext
post_install:
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv sync --all-extras --group docs
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install '.[all]'
pre_create_environment:
- asdf plugin add uv
- asdf install uv 0.5.17
- asdf global uv 0.5.17
create_environment:
- uv venv
install:
- uv sync --all-extras --dev --group docs
build:
html:
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv run sphinx-build --fail-on-warning --show-traceback --keep-going -D language=de docs_manual $READTHEDOCS_OUTPUT/html
Expand Down

0 comments on commit 6ae313c

Please sign in to comment.