Skip to content

Commit

Permalink
Updated readthedocs to version 2 config
Browse files Browse the repository at this point in the history
  • Loading branch information
NickSwainston committed Feb 24, 2022
1 parent 8e610d9 commit a2eef26
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
# File: .readthedocs.yaml
version: 2

version: 1
# Set the version of Python and other tools you might need
build:
os: ubuntu-20.04
tools:
python: "3.8"

# Build from the docs/ directory with Sphinx
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
configuration: docs/conf.py

# Install mpi
#build:
# apt_packages:
# - python3-mpi4py
# - libopenmpi-dev

# Explicitly set the version of Python and its requirements
# Optionally declare the Python requirements required to build your docs
python:
version: 3.7
install:
install:
- requirements: docs/requirements.txt
- method: pip
path: .
- requirements: docs/requirements.txt
path: .

0 comments on commit a2eef26

Please sign in to comment.