From 20849876be5220bdd6f74dd3c4dd1eeb397aac68 Mon Sep 17 00:00:00 2001 From: Chris Havlin Date: Tue, 24 Oct 2023 21:46:54 -0500 Subject: [PATCH 1/2] update rtd config --- .readthedocs.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 90790163..631b18e9 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -17,7 +17,11 @@ sphinx: formats: [] # Optionally set the version of Python and requirements required to build your docs +build: + os: ubuntu-22.04 + tools: + python: "3.9" + python: - version: 3.7 install: - - requirements: docs/requirements.txt + - requirements: docs/requirements.txt From f0c67ca5a27ce00a241925a67bef421083bf9ce4 Mon Sep 17 00:00:00 2001 From: Chris Havlin Date: Tue, 24 Oct 2023 21:48:51 -0500 Subject: [PATCH 2/2] move build specification higher --- .readthedocs.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 631b18e9..6b322c2b 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -9,6 +9,12 @@ version: 2 sphinx: configuration: docs/conf.py +# Specify the build os and python version +build: + os: ubuntu-22.04 + tools: + python: "3.9" + # Build documentation with MkDocs #mkdocs: # configuration: mkdocs.yml @@ -16,12 +22,8 @@ sphinx: # Optionally build your docs in additional formats such as PDF formats: [] -# Optionally set the version of Python and requirements required to build your docs -build: - os: ubuntu-22.04 - tools: - python: "3.9" +# Optionally set the Python requirements required to build your docs python: install: - requirements: docs/requirements.txt