项目文件夹

文件
2026-07-13 13:22:52 +08:00

24 行
633 B
YAML

version: 2
# Set the version of Python and other tools you might need
build:
os: ubuntu-24.04
tools:
python: "3.12"
jobs:
# cf. https://docs.readthedocs.io/en/stable/build-customization.html#install-dependencies-with-uv
pre_create_environment:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
create_environment:
- uv venv
- uv sync
install:
- uv pip install -r docs/requirements-docs.txt
build:
html:
- >-
uv run python -m sphinx -T -b html -d docs/_build/doctrees -D language=en
docs $READTHEDOCS_OUTPUT/html