From f46d57887b8cd730cb1c3933e0d90109d18114b5 Mon Sep 17 00:00:00 2001 From: Alvaro Lopez Garcia Date: Wed, 27 Sep 2023 10:44:31 +0200 Subject: [PATCH 1/3] Update RTD conf --- .readthedocs.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index d8393d24..7a28eab2 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -5,18 +5,16 @@ # Required version: 2 +# Set the version of Python and other tools you might need +build: + os: ubuntu-22.04 + tools: + python: "3.11" + # Build documentation in the docs/ directory with Sphinx sphinx: configuration: doc/source/conf.py -# Build documentation with MkDocs -#mkdocs: -# configuration: mkdocs.yml - -# Optionally build your docs in additional formats such as PDF -formats: - - pdf - # Optionally set the version of Python and requirements required to build your docs python: install: From 8ec3bfee9fec5e485b8499a0c122c0a4aa9f7d8a Mon Sep 17 00:00:00 2001 From: Alvaro Lopez Garcia Date: Wed, 27 Sep 2023 10:50:28 +0200 Subject: [PATCH 2/3] Do not use shallow clones for RTD --- .readthedocs.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.readthedocs.yml b/.readthedocs.yml index 7a28eab2..d0de2be6 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -10,6 +10,10 @@ build: os: ubuntu-22.04 tools: python: "3.11" + jobs: + # Do not use shallow clone, as reno will complain + post_checkout: + - git fetch --unshallow # Build documentation in the docs/ directory with Sphinx sphinx: From ba6e93453d32d6e162e830a3570223a806a69b77 Mon Sep 17 00:00:00 2001 From: Alvaro Lopez Garcia Date: Wed, 27 Sep 2023 10:55:21 +0200 Subject: [PATCH 3/3] Update RTD theme version --- doc/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index fd49d684..d1c6a834 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,4 +1,4 @@ sphinx>=4.0.2 -sphinx_rtd_theme +sphinx_rtd_theme>=1.2.2 recommonmark reno>=2.5.0