From 51fb5271f32d7d1d91085141613c7f923d4d7908 Mon Sep 17 00:00:00 2001 From: Mark Piper Date: Fri, 15 Mar 2024 13:04:21 -0600 Subject: [PATCH] Fix failing docs build (#93) * Organize file to match template on readthedocs.io See https://docs.readthedocs.io/en/stable/config-file/index.html * Remove obsolete system_packages key * Add news fragment --- .readthedocs.yaml | 20 ++++++++------------ news/93.doc | 3 +++ 2 files changed, 11 insertions(+), 12 deletions(-) create mode 100644 news/93.doc diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 18f88626..b19971a8 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,25 +1,21 @@ version: 2 +build: + os: ubuntu-22.04 + tools: + python: "3.11" + jobs: + pre_build: + - sphinx-apidoc -e -force --no-toc --module-first -o docs/source/api babelizer + sphinx: builder: html configuration: docs/source/conf.py fail_on_warning: false -formats: - - htmlzip - python: install: - requirements: requirements-docs.txt - requirements: requirements.txt - method: pip path: . - system_packages: false - -build: - os: ubuntu-22.04 - tools: - python: "3.9" - jobs: - pre_build: - - sphinx-apidoc -e -force --no-toc --module-first -o docs/source/api babelizer diff --git a/news/93.doc b/news/93.doc new file mode 100644 index 00000000..9091305f --- /dev/null +++ b/news/93.doc @@ -0,0 +1,3 @@ + +Removed the the now-obsolete `system_packages` configuration key that was +causing builds to fail on rtfd.io.