From daec735fc2b0e9d5943d7b4b6cca99ccd0cb0eb3 Mon Sep 17 00:00:00 2001 From: david-cortes Date: Tue, 28 Nov 2023 18:55:12 +0100 Subject: [PATCH] RTD attempt1 --- docs/.readthedocs.yaml | 36 ++++++++++++++++++++++++++++++++++++ docs/requirements.txt | 8 ++++---- 2 files changed, 40 insertions(+), 4 deletions(-) create mode 100644 docs/.readthedocs.yaml diff --git a/docs/.readthedocs.yaml b/docs/.readthedocs.yaml new file mode 100644 index 0000000..95e248b --- /dev/null +++ b/docs/.readthedocs.yaml @@ -0,0 +1,36 @@ +# Read the Docs configuration file for Sphinx projects +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Set the OS, Python version and other tools you might need +build: + os: ubuntu-22.04 + apt_packages: + - gcc + - g++ + tools: + python: "3.11" + # You can also specify other tool versions: + # nodejs: "19" + # rust: "1.64" + # golang: "1.19" + +# Build documentation in the "docs/" directory with Sphinx +sphinx: + configuration: docs/conf.py + +# Optionally build your docs in additional formats such as PDF and ePub +# formats: +# - pdf +# - epub + +# Optional but recommended, declare the Python requirements required +# to build your documentation +# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html +python: + install: + - requirements: docs/requirements.txt + - method: pip + path: . diff --git a/docs/requirements.txt b/docs/requirements.txt index 9d7afdf..bd943b3 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,6 +1,6 @@ -cython -numpy +cython>=3 +numpy>=1.25 scipy -pandas>=0.25.0 +pandas>=2 Sphinx>=4.2.0 -docutils==0.16 +sphinx-rtd-theme>=1.0.0