Skip to content

Commit

Permalink
Merge pull request #157 from jessica-mitchell/rtd-setup
Browse files Browse the repository at this point in the history
Add the Read the Docs config file
  • Loading branch information
WillemWybo authored Jan 15, 2025
2 parents 82ee3ce + 318e4b1 commit f9c04f2
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Read the Docs configuration file for Sphinx projects
version: 2


# Set the OS, Python version and other tools you might need

build:
os: ubuntu-22.04
tools:
python: "3.10"

# Build documentation in the "docs/" directory with Sphinx

sphinx:
configuration: docs/conf.py

# Install Python dependencies using pyproject.toml
python:
install:
- method: pip
path: .
extra_requirements:
- docs

10 changes: 9 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,17 @@ docs = [
"sphinx >= 2.4.3",
"nbsphinx >= 0.5.1",
"sphinx-gallery >= 0.6.1",
"sphinx_rtd_theme >= 0.4.3",
"nb2plots >= 0.6",
"pillow >= 7.1.2",
"sphinx-material>=0.0.35",
"pillow>=7.1.2",
"numpy>=1.23.1",
"matplotlib>=3.5.2",
"scipy>=1.9.0",
"sympy>=1.10.1",
"pytest>=7.1.2",
"scikit_learn>=1.1.1",
"dill>=0.3.8",
]

[tool.setuptools.packages.find]
Expand Down

0 comments on commit f9c04f2

Please sign in to comment.