From 755e422303bd06c1f3823734e26d4bccaa6ddd46 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 8 Oct 2024 16:09:48 +0200 Subject: [PATCH] RTD: Add compatibility fixes for upstream changes at Read The Docs https://about.readthedocs.com/blog/2024/07/addons-by-default/ --- CHANGES.rst | 2 ++ setup.py | 1 + src/crate/theme/rtd/conf/__init__.py | 1 + 3 files changed, 4 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index e0d253001..9517fa6cd 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -5,6 +5,8 @@ CHANGES Unreleased ---------- +- RTD: Add compatibility fixes for upstream changes at Read The Docs + https://about.readthedocs.com/blog/2024/07/addons-by-default/ 2024/09/24 0.34.1 ----------------- diff --git a/setup.py b/setup.py index f24226a81..72f3c0f5d 100644 --- a/setup.py +++ b/setup.py @@ -65,6 +65,7 @@ "myst-parser[linkify]<5", "sphinx>=4.6,<7", "sphinx-basic-ng==1.0.0b2", + "sphinx-build-compatibility @ git+https://github.com/readthedocs/sphinx-build-compatibility", "sphinx-copybutton>=0.3.1,<1", "sphinx-design-elements==0.4.0", "sphinx-inline-tabs", diff --git a/src/crate/theme/rtd/conf/__init__.py b/src/crate/theme/rtd/conf/__init__.py index 897b1bf21..0e3418f0e 100644 --- a/src/crate/theme/rtd/conf/__init__.py +++ b/src/crate/theme/rtd/conf/__init__.py @@ -33,6 +33,7 @@ extensions = [ "myst_parser", + "sphinx_build_compatibility.extension", "sphinx_copybutton", "sphinx_design", "sphinx_design_elements",