diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 00000000..2c9424a8 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,26 @@ +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Set the OS, Python version, and other tools you might need +build: + os: ubuntu-24.04 + tools: + python: "3.12" + jobs: + create_environment: + - asdf plugin add uv + - asdf install uv latest + - asdf global uv latest + #- uv venv $READTHEDOCS_VIRTUALENV_PATH + - uv sync + install: + - "true" + build: + html: + - uv run python make.py + - mkdir -p $READTHEDOCS_OUTPUT/html/ + - cp -r build/html/* $READTHEDOCS_OUTPUT/html/ +