Fix ReadTheDocs Config File #26
@@ -1,19 +1,22 @@
|
|||||||
version: 2
|
version: 2
|
||||||
|
|
||||||
|
# Specify os and python version
|
||||||
build:
|
build:
|
||||||
os: ubuntu-22.04
|
os: "ubuntu-24.04"
|
||||||
tools:
|
tools:
|
||||||
python: "3.10"
|
python: "3.12"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pre_build:
|
create_environment:
|
||||||
- curl -Ls https://astral.sh/uv/install.sh | sh
|
- asdf plugin add uv
|
||||||
- export PATH="$HOME/.cargo/bin:$PATH"
|
- asdf install uv latest
|
||||||
- uv sync
|
- asdf global uv latest
|
||||||
|
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync --all-extras
|
||||||
build:
|
install:
|
||||||
- cd docs
|
- "true"
|
||||||
- make html
|
|
||||||
|
|
||||||
|
# Build documentation in the docs/ directory with Sphinx
|
||||||
sphinx:
|
sphinx:
|
||||||
configuration: docs/source/conf.py
|
configuration: docs/source/conf.py
|
||||||
|
|
||||||
|
# Optionally build your docs in additional formats such as PDF and ePub
|
||||||
|
formats: all
|
||||||
Reference in New Issue
Block a user