Files
ansible-docs/.readthedocs.yaml
Don Naro 36fd867e7d build core on readthedocs (#296)
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
2023-09-13 15:54:21 -04:00

24 lines
670 B
YAML

# 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.11
# 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