Skip to content

Commit 61e2c1f

Browse files
oraNodwebknjaz
andcommitted
build core on readthedocs
Co-authored-by: Sviatoslav Sydorenko <[email protected]>
1 parent 6369e7a commit 61e2c1f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.readthedocs.yaml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Read the Docs configuration file
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
# RTD API version
5+
version: 2
6+
7+
build:
8+
os: ubuntu-22.04
9+
tools:
10+
python: >-
11+
3.11
12+
# Build with make coredocs
13+
commands:
14+
- python -m venv "${READTHEDOCS_VIRTUALENV_PATH}"
15+
- >-
16+
"${READTHEDOCS_VIRTUALENV_PATH}"/bin/python -m pip install --exists-action=w -r tests/requirements.in -c tests/requirements.txt
17+
- >-
18+
"${READTHEDOCS_VIRTUALENV_PATH}"/bin/python docs/bin/clone-core.py
19+
- make coredocs -C docs/docsite
20+
- mkdir -pv "${READTHEDOCS_OUTPUT}"/html
21+
- mv -v docs/docsite/_build/html "${READTHEDOCS_OUTPUT}"/

0 commit comments

Comments
 (0)