Skip to content

Commit 9dca664

Browse files
committed
use conda-forge
1 parent 14e19e2 commit 9dca664

File tree

2 files changed

+21
-8
lines changed

2 files changed

+21
-8
lines changed

.readthedocs.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,17 @@ version: 2
22
build:
33
os: ubuntu-22.04
44
tools:
5-
python: "3.12"
5+
python: "mambaforge-latest"
66
apt_packages:
77
- default-jre # for plantuml
88
- graphviz # for plantuml
99
jobs:
1010
pre_install:
1111
- bash scripts/rtd_pre_install.sh
1212

13+
conda:
14+
environment: doc/rtd-environment.yml
15+
1316
sphinx:
1417
configuration: doc/conf.py
15-
fail_on_warning: true
16-
17-
python:
18-
install:
19-
- method: pip
20-
path: .
21-
extra_requirements: [docs]
18+
fail_on_warning: true

doc/rtd-environment.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: fastcan-rtd
2+
channels:
3+
- conda-forge
4+
dependencies:
5+
- micromamba
6+
- pip
7+
- furo
8+
- matplotlib
9+
- pandas
10+
- sphinx_gallery
11+
- sphinx-design
12+
- sphinxcontrib-plantuml
13+
- jupyterlite-sphinx
14+
- pip:
15+
- .
16+
- jupyterlite-xeus >=2.1.2

0 commit comments

Comments
 (0)