mirror of
https://github.com/ansible/ansible-documentation.git
synced 2026-03-26 13:18:58 +07:00
(cherry picked from commit 1aa989462a)
Co-authored-by: Don Naro <dnaro@redhat.com>
This commit is contained in:
23
.readthedocs.yaml
Normal file
23
.readthedocs.yaml
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user