From a2eef26564c75527061598b6deba88f8b939c900 Mon Sep 17 00:00:00 2001 From: NickSwainston Date: Thu, 24 Feb 2022 21:54:41 +0800 Subject: [PATCH] Updated readthedocs to version 2 config --- .readthedocs.yaml | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index dbb269b6..81c55997 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -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 \ No newline at end of file + path: . \ No newline at end of file