mirror of https://github.com/coqui-ai/TTS.git
ci(readthedocs): build docs with uv
Based on:
7c5143848f/docs/user/build-customization.rst (install-dependencies-with-uv)
This commit is contained in:
parent
ef8158d281
commit
020a72434e
|
@ -9,14 +9,13 @@ version: 2
|
|||
build:
|
||||
os: ubuntu-22.04
|
||||
tools:
|
||||
python: "3.11"
|
||||
|
||||
# Optionally set the version of Python and requirements required to build your docs
|
||||
python:
|
||||
install:
|
||||
- path: .
|
||||
extra_requirements:
|
||||
- docs
|
||||
python: "3.12"
|
||||
commands:
|
||||
- asdf plugin add uv
|
||||
- asdf install uv latest
|
||||
- asdf global uv latest
|
||||
- uv sync --group docs
|
||||
- uv run -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs/source $READTHEDOCS_OUTPUT/html
|
||||
|
||||
# Build documentation in the docs/ directory with Sphinx
|
||||
sphinx:
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
furo
|
||||
myst-parser == 2.0.0
|
||||
sphinx == 7.2.5
|
||||
sphinx_inline_tabs
|
||||
sphinx_copybutton
|
||||
linkify-it-py
|
Loading…
Reference in New Issue