2024-09-09 12:10:46 +03:00
|
|
|
# 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"
|
2024-09-09 13:23:47 +03:00
|
|
|
commands:
|
|
|
|
- asdf plugin add uv
|
|
|
|
- asdf install uv latest
|
|
|
|
- asdf global uv latest
|
|
|
|
- uv venv
|
2024-10-21 11:06:01 +03:00
|
|
|
- cd docs && UV_INDEX_STRATEGY=unsafe-first-match uv pip install -r requirements.lock
|
2024-10-21 11:15:18 +03:00
|
|
|
- cd docs/ && ls -la && NO_COLOR=1 ../.venv/bin/mkdocs build --strict --site-dir $READTHEDOCS_OUTPUT/html --config-file mkdocs.yml
|
2024-09-09 13:23:47 +03:00
|
|
|
|
2024-09-09 12:59:55 +03:00
|
|
|
|
|
|
|
|
2024-09-09 12:10:46 +03:00
|
|
|
|
|
|
|
mkdocs:
|
|
|
|
configuration: backend/docs/mkdocs.yml
|
|
|
|
|