Skip to content

Commit

Permalink
Build RTD docs with uv (#700)
Browse files Browse the repository at this point in the history
* Build RTD docs with uv

Signed-off-by: zethson <[email protected]>

* Build RTD docs with uv

Signed-off-by: zethson <[email protected]>

---------

Signed-off-by: zethson <[email protected]>
  • Loading branch information
Zethson authored Apr 19, 2024
1 parent 5cbd545 commit d97f179
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ build:
pre_build:
- python -c "import ehrapy"
- pip freeze
post_create_environment:
- pip install uv
post_install:
# VIRTUAL_ENV needs to be set manually for now.
# See https://github.com/readthedocs/readthedocs.org/pull/11152/
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install .[docs]
sphinx:
configuration: docs/conf.py
fail_on_warning: false
python:
install:
- method: pip
path: .
extra_requirements:
- doc

submodules:
include: all
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ medcat = [
dev = [
"pre-commit",
]
doc = [
docs = [
"docutils",
"sphinx",
"furo",
Expand Down

0 comments on commit d97f179

Please sign in to comment.