Skip to content

Commit f725322

Browse files
author
martinspetlik
committed
readthedocs
1 parent aab4806 commit f725322

2 files changed

Lines changed: 16 additions & 8 deletions

File tree

.readthedocs.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1-
# Required
1+
# .readthedocs.yml
22
version: 2
33

4-
# Build documentation in the docs/ directory with Sphinx
4+
build:
5+
os: ubuntu-22.04
6+
tools:
7+
python: "3.10"
8+
59
sphinx:
6-
configuration: docs/source/conf.py
10+
configuration: docs/source/conf.py
711

8-
# Optionally build your docs in additional formats such as PDF
912
formats:
10-
- pdf
13+
- pdf
1114

12-
# Optionally set the version of Python and requirements required to build your docs
1315
python:
14-
version: 3.8
15-
install:
16+
install:
1617
- requirements: docs/requirements.txt

docs/requirements.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# --- Documentation dependencies ---
2+
sphinx>=7.0
3+
sphinx-rtd-theme
4+
sphinx-autodoc-typehints
5+
sphinxcontrib-napoleon
6+
7+
# --- MLMC runtime dependencies ---
18
numpy
29
scipy
310
scikit-learn

0 commit comments

Comments
 (0)