quivr/.readthedocs.yaml

28 lines
597 B
YAML

# Read the Docs configuration file for MkDocs projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"
commands:
- cd backend
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
- uv venv
- ls -la && pip install -r requirements.lock
- cd docs
- NO_COLOR=1 .venv/bin/mkdocs build --strict --site-dir $READTHEDOCS_OUTPUT/html
mkdocs:
configuration: backend/docs/mkdocs.yml