From 80ae1dc8be10c1fbcd0a784decd69f4de5a8082e Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Thu, 21 Sep 2023 21:10:59 +0200 Subject: [PATCH] readthedocs stable-2.15 (#413) (#423) (cherry picked from commit 1aa989462a018535eb765589b64fb3b5ed7ae39b) Co-authored-by: Don Naro --- .readthedocs.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000000..59c887775e --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,23 @@ +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# RTD API version +version: 2 + +build: + os: ubuntu-22.04 + tools: + python: >- + 3.10 + # Build with make coredocs + commands: + - python -m venv "${READTHEDOCS_VIRTUALENV_PATH}" + - >- + "${READTHEDOCS_VIRTUALENV_PATH}"/bin/python -m pip install --exists-action=w -r tests/requirements.in -c tests/requirements.txt + - >- + "${READTHEDOCS_VIRTUALENV_PATH}"/bin/python docs/bin/clone-core.py + - >- + make coredocs + -C docs/docsite + BUILDDIR="${READTHEDOCS_OUTPUT}" + PYTHON="${READTHEDOCS_VIRTUALENV_PATH}"/bin/python