From 1ff095cd3d3c5b767f489177685973651f7a7e2b Mon Sep 17 00:00:00 2001 From: Jonas Hoersch Date: Thu, 21 Mar 2024 07:39:14 +0100 Subject: [PATCH] fix(docs): Include units extra for evaluating introduction --- .readthedocs.yaml | 3 ++- tox.ini | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 24c1c1c..4b0036d 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -9,7 +9,7 @@ version: 2 build: os: "ubuntu-22.04" tools: - python: "3.10" + python: "3.12" # Build documentation in the docs/ directory with Sphinx sphinx: @@ -25,3 +25,4 @@ python: path: . extra_requirements: - docs + - units diff --git a/tox.ini b/tox.ini index 40f59d1..56988d9 100644 --- a/tox.ini +++ b/tox.ini @@ -80,7 +80,9 @@ commands = # if this fails, most likely RTD build will fail [testenv:docs] package = editable -extras = docs +extras = + docs + units commands = sphinx-build {posargs:-E} -b html docs docs/html