Skip to content

Commit

Permalink
Merge pull request #1165 from tlestang/develop
Browse files Browse the repository at this point in the history
Add readthedocs config file
  • Loading branch information
valentinsulzer authored Sep 13, 2020
2 parents d177cbf + 44c15a9 commit 6726d60
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 10 deletions.
18 changes: 18 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
builder: html
configuration: docs/conf.py
fail_on_warning: false

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.8
install:
- requirements: docs/requirements.txt
10 changes: 0 additions & 10 deletions .requirements-docs.txt

This file was deleted.

19 changes: 19 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Requirements for readthedocs.io
numpy >= 1.16
scipy >= 1.3
pandas >= 0.24
anytree >= 2.4.3
autograd >= 1.2
scikit-fem >= 0.2.0
casadi >= 3.5.0
jax>=0.1.68
jaxlib>=0.1.47
jupyter # For example notebooks
# Note: Matplotlib is loaded for debug plots but to ensure pybamm runs
# on systems without an attached display it should never be imported
# outside of plot() methods.
# Should not be imported
matplotlib >= 2.0
#
guzzle-sphinx-theme
sphinx>=1.5
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ anytree >= 2.4.3
autograd >= 1.2
scikit-fem >= 0.2.0
casadi >= 3.5.0
jax>=0.1.68
jaxlib>=0.1.47
jupyter # For example notebooks
# Note: Matplotlib is loaded for debug plots but to ensure pybamm runs
# on systems without an attached display it should never be imported
Expand Down

0 comments on commit 6726d60

Please sign in to comment.