-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.readthedocs.yaml
40 lines (36 loc) · 999 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
34
35
36
37
38
39
40
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
sphinx:
configuration: conf.py
build:
os: "ubuntu-22.04"
apt_packages:
- dcraw
- fig2dev
- fig2ps
- gv
- imagemagick
- texlive
- xzdec
tools:
python: "mambaforge-4.10"
jobs:
pre_build:
- mkdir ~/.config
- mkdir ~/.config/ImageMagick
- cp /etc/ImageMagick-*/* ~/.config/ImageMagick
- ls -l ~/.config/ImageMagick
- perl -p -i -e 's/\"none\"/\"read\|write\"/g' ~/.config/ImageMagick/policy.xml
- (cd "doc/sphinx/source/matlab_octave/images"; make png)
- (cd "doc/sphinx/source/project/images"; make png)
- (cd "doc/sphinx/source/python/images"; make png)
- (cd "doc/sphinx/source/scilab/images"; make png)
- (cd "doc/sphinx/source/userdoc/images"; make png)
conda:
environment: environment.yml
submodules:
include:
- getfem
recursive: true