From 78dfbba9444e0d5f2ca7b74416b06409e89831a7 Mon Sep 17 00:00:00 2001 From: "David W.H. Swenson" Date: Tue, 8 Aug 2023 17:45:43 -0400 Subject: [PATCH 1/4] Update RTD config Apparently docs were not building correctly, and furthermore, we had some setting to use system packages, which will no longer be allowed. Let's get that fixed. --- readthedocs.yml => .readthedocs.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) rename readthedocs.yml => .readthedocs.yml (52%) diff --git a/readthedocs.yml b/.readthedocs.yml similarity index 52% rename from readthedocs.yml rename to .readthedocs.yml index c17a8f1..211f15a 100644 --- a/readthedocs.yml +++ b/.readthedocs.yml @@ -1,16 +1,14 @@ version: 2 -#conda: - #environment: docs/environment.yml +build: + os: ubuntu-22.04 + tools: + python: 3.11 python: install: - requirements: docs/rtd_requirements.txt - #- requirements: requirements.txt - requirements: docs/requirements.txt - method: setuptools path: . - #- method: pip - #path: . - #system_packages: false - + system_packages: false From b98da6b8c1a4827511c53241a5406dfba5340086 Mon Sep 17 00:00:00 2001 From: "David W.H. Swenson" Date: Tue, 8 Aug 2023 17:49:46 -0400 Subject: [PATCH 2/4] versions are strings --- .readthedocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 211f15a..9068b6b 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -3,7 +3,7 @@ version: 2 build: os: ubuntu-22.04 tools: - python: 3.11 + python: "3.11" python: install: From ac624fa13279205c60d08b3215e33ece30c94b6b Mon Sep 17 00:00:00 2001 From: "David W.H. Swenson" Date: Wed, 9 Aug 2023 10:05:26 -0400 Subject: [PATCH 3/4] install with pip see if we can also get this to override sphinx defaults --- .readthedocs.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 9068b6b..5b8c128 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -9,6 +9,9 @@ python: install: - requirements: docs/rtd_requirements.txt - requirements: docs/requirements.txt - - method: setuptools + - method: pip path: . system_packages: false + +sphinx: + builder: html From f01af320d14d82020d2f46de41dc1d3d487ba86f Mon Sep 17 00:00:00 2001 From: "David W.H. Swenson" Date: Wed, 9 Aug 2023 12:49:28 -0400 Subject: [PATCH 4/4] build docs in 3.9 --- .readthedocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 5b8c128..0c44411 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -3,7 +3,7 @@ version: 2 build: os: ubuntu-22.04 tools: - python: "3.11" + python: "3.9" python: install: