From 9e77e63cce275980d7229b3973c26726d4754f44 Mon Sep 17 00:00:00 2001 From: Jonathon Reinhart Date: Mon, 11 Dec 2023 03:09:38 -0500 Subject: [PATCH 1/2] Set build.os in .readthedocs.yml This is now required, apparently. See: - https://github.com/readthedocs/readthedocs.org/issues/8861#issuecomment-1025568797 - https://github.com/readthedocs/readthedocs.org/issues/8912 (cherry picked from commit JonathonReinhart/scuba@4b89e6e178) --- .readthedocs.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 4a55f7d..18eef40 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,6 +1,11 @@ # https://docs.readthedocs.io/en/stable/config-file/v2.html version: 2 +build: + os: "ubuntu-22.04" + tools: + python: "3.10" + sphinx: configuration: docs/conf.py From 0634230e19937ccbd6a15f7682d99686cd7bca58 Mon Sep 17 00:00:00 2001 From: Jonathon Reinhart Date: Sun, 7 Jan 2024 23:57:30 -0500 Subject: [PATCH 2/2] Add missing docs requirements --- docs/requirements.txt | 2 ++ requirements.txt | 1 + 2 files changed, 3 insertions(+) diff --git a/docs/requirements.txt b/docs/requirements.txt index f0694bd..8430e28 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1 +1,3 @@ myst-parser +sphinx +sphinx-rtd-theme diff --git a/requirements.txt b/requirements.txt index 938caab..4e0b5d8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,3 +11,4 @@ scuba wheel cffi # Used for test/pyinstall-cffi/ pytest +-r docs/requirements.txt