From ce8fa1c28b01dfe579b8916d33517a00165f1d88 Mon Sep 17 00:00:00 2001 From: Penny How Date: Tue, 3 Oct 2023 15:07:36 -0200 Subject: [PATCH 1/5] File moved --- readthedocs.yaml => .readthedocs.yaml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename readthedocs.yaml => .readthedocs.yaml (100%) diff --git a/readthedocs.yaml b/.readthedocs.yaml similarity index 100% rename from readthedocs.yaml rename to .readthedocs.yaml From 52d260353e35f7b5ebb1bd287ee70e74cf68b48b Mon Sep 17 00:00:00 2001 From: Penny How Date: Tue, 3 Oct 2023 15:12:31 -0200 Subject: [PATCH 2/5] updated to v2 compatibility --- .readthedocs.yaml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 1c91d6fb..ef8d4509 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,9 +1,22 @@ -# File .readthedocs.yaml +# .readthedocs.yaml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details +# Required +version: 2 + +# Set the version of Python and other tools you might need build: - image: latest + os: ubuntu-22.04 + tools: + python: "3.11" -python: - version: 3.8 +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: docs/conf.py -requirements_file: docs/requirements.txt +# We recommend specifying your dependencies to enable reproducible builds: +# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html +# python: + install: + - requirements: docs/requirements.txt From 2a7701da66d69404d4fe836ff90d49f167d04e77 Mon Sep 17 00:00:00 2001 From: Penny How Date: Tue, 3 Oct 2023 15:14:05 -0200 Subject: [PATCH 3/5] py3.8 environment specified --- .readthedocs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index ef8d4509..045ad0cd 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -9,7 +9,7 @@ version: 2 build: os: ubuntu-22.04 tools: - python: "3.11" + python: "3.8" # Build documentation in the docs/ directory with Sphinx sphinx: From ab0cfb96ae79d0bccc9d549cf9c090d2355bc60d Mon Sep 17 00:00:00 2001 From: Penny How Date: Tue, 3 Oct 2023 15:33:22 -0200 Subject: [PATCH 4/5] sphinx requirements versions updated --- docs/requirements.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 3f0cc334..2c4b7393 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -3,9 +3,11 @@ eccodes numpy>=1.23.0 pandas>=1.5.0 pyDataverse +readthedocs-sphinx-search==0.1.1 scikit-learn>=1.1.0 scipy>=1.9.0 -sphinx_rtd_theme +sphinx==5.3.0 +sphinx_rtd_theme==1.1.1 toml urllib3<2 xarray>=2022.6.0 From 6035e1b2afba1fd8848edfdc23e1a9956ccc694e Mon Sep 17 00:00:00 2001 From: Penny How Date: Tue, 3 Oct 2023 15:43:51 -0200 Subject: [PATCH 5/5] python environment configured --- .readthedocs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 045ad0cd..02f531a4 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -17,6 +17,6 @@ sphinx: # We recommend specifying your dependencies to enable reproducible builds: # https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html -# python: +python: install: - requirements: docs/requirements.txt