-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
.readthedocs.yml
62 lines (57 loc) · 1.99 KB
/
.readthedocs.yml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
build:
os: ubuntu-22.04
tools:
python: "3.10" # python-control 0.10.0 requires Python > 3.9
apt_packages:
# dependencies for chrome and firefox
- bzip2
- libxtst6
- libgtk-3-0
- libx11-xcb-dev
- libdbus-glib-1-2
- libxt6
- libpci-dev
- libasound2
# dependencies for slycot
- gfortran
- cmake
- libblas-dev
- liblapack-dev
jobs:
pre_install:
- mkdir $HOME/selenium
- mkdir $HOME/selenium/drivers
# chrome
- wget -N https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2F1047731%2Fchrome-linux.zip\?generation\=1663284576100523\&alt\=media -P $HOME
- unzip ~/Linux_x64%2F1047731%2Fchrome-linux.zip\?generation=1663284576100523\&alt=media -d $HOME/selenium
- rm ~/Linux_x64%2F1047731%2Fchrome-linux.zip\?generation=1663284576100523\&alt=media
- wget -N https://chromedriver.storage.googleapis.com/107.0.5304.62/chromedriver_linux64.zip -P $HOME
- unzip ~/chromedriver_linux64.zip -d $HOME/selenium/drivers
- rm ~/chromedriver_linux64.zip
post_install:
- pip install "panel==1.3.8" # NOTE: remove it when this is solved: https://github.com/holoviz/panel/issues/6643
- pip install slycot
# - pip install "matplotlib<3.6.0"
# post_build:
# - cat $HOME/selenium/sphinx_k3d_screenshot.log
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: doc/source/conf.py
# Optionally build your docs in additional formats such as PDF
# formats:
# - pdf
# Optionally set the version of Python and requirements required to build your docs
python:
install:
- requirements: doc/requirements.txt
- method: pip
path: .
- method: pip
path: .
extra_requirements:
- all