Skip to content

Commit 6116491

Browse files
committed
doc: Update and simplify RTD config
1 parent c8c37ba commit 6116491

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.readthedocs.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@ build:
1010
- asdf plugin add uv
1111
- asdf install uv latest
1212
- asdf global uv latest
13-
# Turn `python -m virtualenv` into `python -c pass`
14-
- truncate --size 0 $( dirname $( uv python find ) )/../lib/python3*/site-packages/virtualenv/__main__.py
15-
post_create_environment:
13+
create_environment:
1614
- uv venv $READTHEDOCS_VIRTUALENV_PATH
17-
# Turn `python -m pip` into `python -c pass`
18-
- truncate --size 0 $( ls -d $READTHEDOCS_VIRTUALENV_PATH/lib/python3* )/site-packages/pip.py
19-
post_install:
20-
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install --cache-dir $READTHEDOCS_VIRTUALENV_PATH/../../uv_cache .[niftiext]
21-
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install --cache-dir $READTHEDOCS_VIRTUALENV_PATH/../../uv_cache -r docs/requirements.txt
15+
install:
16+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install --cache-dir $READTHEDOCS_VIRTUALENV_PATH/../../uv_cache .[niftiext] -r docs/requirements.txt
17+
18+
sphinx:
19+
configuration: docs/conf.py

0 commit comments

Comments
 (0)