Skip to content

Commit

Permalink
[DRAFT] FIX: support uv and pixi on RTD
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Oct 15, 2024
1 parent cc2c250 commit 87d2d3d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repos:
- id: check-useless-excludes

- repo: https://github.com/ComPWA/policy
rev: 0.5.0rc0
rev: 211f33d9bdb44d6704bd8a958ed0bc179ea4faa3
hooks:
- id: check-dev-files
args:
Expand Down
26 changes: 13 additions & 13 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ build:
os: ubuntu-24.04
tools:
python: "3.9"
apt_packages:
- graphviz
jobs:
post_install:
- python -m pip install 'uv>=0.2.0'
- python -m uv sync --extra=doc
formats:
- htmlzip

sphinx:
builder: html
configuration: docs/conf.py
fail_on_warning: true
commands:
- |-
export PIXI_HOME=$READTHEDOCS_VIRTUALENV_PATH
curl -fsSL https://pixi.sh/install.sh | bash
pixi global install graphviz uv
- |-
export UV_LINK_MODE=copy
uv run \
--extra doc \
--locked \
--with tox \
tox -e doc
mv docs/_build/html $READTHEDOCS_OUTPUT

0 comments on commit 87d2d3d

Please sign in to comment.