From 454a796cb39b25a56296de8331a9b5b581edfb11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D1=80=D1=82=D1=8B=D0=BD=D0=BE=D0=B2=20=D0=9C?= =?UTF-8?q?=D0=B0=D0=BA=D1=81=D0=B8=D0=BC=20=D0=A1=D0=B5=D1=80=D0=B3=D0=B5?= =?UTF-8?q?=D0=B5=D0=B2=D0=B8=D1=87?= Date: Mon, 26 Feb 2024 11:01:28 +0300 Subject: [PATCH] [DOP-13156] Fix documentation build --- .readthedocs.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index f5eb3ea..e0350d6 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -9,12 +9,16 @@ build: - libsasl2-dev jobs: post_create_environment: - - pip install poetry - - pip install sphinx-plantuml # remove after https://github.com/zqmillet/sphinx-plantuml/pull/4 - - poetry config virtualenvs.create false + - export VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH + - python -m pip install poetry + - python -m pip install sphinx-plantuml # remove after https://github.com/zqmillet/sphinx-plantuml/pull/4 + - python -m poetry config virtualenvs.create false + - python -m poetry debug info post_install: - - poetry install --no-root --all-extras --with docs --without dev,test - - poetry run python -m horizon.backend.export_openapi_schema docs/_static/openapi.json + - python -m poetry install --no-root --all-extras --with docs --without dev,test + - python -m poetry show -v + - python -m pip list -v + - python -m horizon.backend.export_openapi_schema docs/_static/openapi.json sphinx: configuration: docs/conf.py