-
Notifications
You must be signed in to change notification settings - Fork 540
/
.readthedocs.yaml
33 lines (27 loc) · 1017 Bytes
/
.readthedocs.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
sphinx:
configuration: docs/conf.py
formats: []
python:
install:
- requirements: docs/sphinx/requirements.txt
conda:
environment: docs/environment.yml # needed until ubuntu ships doxygen >= 1.9.8
build:
os: ubuntu-22.04
tools:
python: "mambaforge-22.9" # needed until ubuntu ships doxygen >= 1.9.8
apt_packages:
- "gfortran" # For pre-processing fortran sources
- "graphviz" # For dot graphs in doxygen
jobs:
post_checkout:
- if [ -d ../clr ]; then rm -rf ../clr; fi
- if [ -d ../ROCR-Runtime ]; then rm -rf ../ROCR-Runtime; fi
- git clone --depth=1 --single-branch --branch docs/develop https://github.com/ROCm/clr.git ../clr
- git clone --depth=1 --single-branch --branch master https://github.com/ROCm/ROCR-Runtime.git ../ROCR-Runtime
post_build:
- rm -rf ../clr
- rm -rf ../ROCR-Runtime