quivr/.readthedocs.yaml

26 lines
657 B
YAML
Raw Normal View History

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