quivr/.readthedocs.yaml

26 lines
668 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:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
- uv venv
- cd backend && UV_INDEX_STRATEGY=unsafe-first-match uv pip install -r requirements.lock
- cd backend/ && ls -la && NO_COLOR=1 ../.venv/bin/mkdocs build --strict --site-dir $READTHEDOCS_OUTPUT/html --config-file docs/mkdocs.yml
mkdocs:
configuration: backend/docs/mkdocs.yml