From 254fd1aef3c36e5cf1e5265f0bc1a58a2426e631 Mon Sep 17 00:00:00 2001 From: albrja Date: Wed, 13 Sep 2023 09:57:55 -0700 Subject: [PATCH] Set bound on sphinx to 7.0 and update readthedocs.yml --- .github/workflows/build.yml | 13 ++++++------- .readthedocs.yml | 5 ++++- setup.py | 2 +- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0613c657..0092e94d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -103,10 +103,9 @@ jobs: - name: Test run: | pytest ./tests -# Commenting out docs build due to upstream failures: MIC-4180 -# - name: Doc build -# run: | -# make html -C docs/ SPHINXOPTS="-W --keep-going -n" -# - name: Doctest -# run: | -# make doctest -C docs/ + - name: Doc build + run: | + make html -C docs/ SPHINXOPTS="-W --keep-going -n" + - name: Doctest + run: | + make doctest -C docs/ diff --git a/.readthedocs.yml b/.readthedocs.yml index c0643e72..3035caa9 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -4,8 +4,11 @@ version: 2 # Configure the python version and environment construction run before # docs are built. +build: + os: ubuntu-22.04 + tools: + python: "3.11" python: - version: 3.8 install: # This runs pip install .[docs] from the project root. - method: pip diff --git a/setup.py b/setup.py index f04486a5..d3011c29 100755 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ ] doc_requirements = [ - "sphinx>=4.0", + "sphinx<7.0", "sphinx-rtd-theme", ]