From: "Michael R. Crusoe" <crusoe@debian.org>
Date: Mon, 26 Sep 2022 11:32:05 +0200
Subject: skip the furo docs theme; it is no packaged yet for Debian

Forwarded: not-needed
---
 docs/requirements-docs.txt | 2 +-
 docs/source/conf.py        | 8 +++++++-
 mypyc/doc/conf.py          | 8 +++++++-
 3 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/docs/requirements-docs.txt b/docs/requirements-docs.txt
index 395964a..7e3d31e 100644
--- a/docs/requirements-docs.txt
+++ b/docs/requirements-docs.txt
@@ -1,2 +1,2 @@
 sphinx>=4.2.0,<5.0.0
-furo>=2022.3.4
+sphinx-rtd-theme>=1.0.0,<2.0.0
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 9033dfc..2f42b3e 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -103,7 +103,13 @@ pygments_style = 'sphinx'
 
 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
-html_theme = "furo"
+try:
+    import sphinx_rtd_theme
+except:
+    html_theme = 'default'
+else:
+    html_theme = 'sphinx_rtd_theme'
+    html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
 
 # Theme options are theme-specific and customize the look and feel of a theme
 # further.  For a list of options available for each theme, see the
diff --git a/mypyc/doc/conf.py b/mypyc/doc/conf.py
index fa980bb..0d88e9f 100644
--- a/mypyc/doc/conf.py
+++ b/mypyc/doc/conf.py
@@ -50,7 +50,13 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
 
 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
-html_theme = 'furo'
+try:
+    import sphinx_rtd_theme  # type: ignore
+except:
+    html_theme = 'default'
+else:
+    html_theme = 'sphinx_rtd_theme'
+    html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
 
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,
