From d718c7ba0372c2ccfe3495116a665f6ec607fc0b Mon Sep 17 00:00:00 2001 From: Bart Feenstra Date: Sat, 4 May 2024 11:49:09 +0100 Subject: [PATCH] Replace the documentation's Immaterial theme with Furo --- documentation/about.rst | 6 +++--- documentation/conf.py | 3 +-- pyproject.toml | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/documentation/about.rst b/documentation/about.rst index a245f0913..960559de5 100644 --- a/documentation/about.rst +++ b/documentation/about.rst @@ -41,9 +41,9 @@ Betty does not help you gather or manage the data for your family history. For t Find Betty on ------------- -- :si-icon:`fontawesome/brands/twitter` `Twitter `_ -- :si-icon:`fontawesome/brands/github` `Github `_ -- :si-icon:`fontawesome/brands/python` `PyPI `_ +- `Twitter `_ +- `Github `_ +- `PyPI `_ In this section --------------- diff --git a/documentation/conf.py b/documentation/conf.py index 1f6bae085..1417bd225 100644 --- a/documentation/conf.py +++ b/documentation/conf.py @@ -41,7 +41,7 @@ "conf_py_path": "/documentation/", "betty_replacements": betty_replacements, } -html_theme = "sphinx_immaterial" +html_theme = "furo" highlight_language = "none" templates_path = ["_templates"] extensions = [ @@ -51,7 +51,6 @@ "sphinx.ext.viewcode", "sphinx_autodoc_typehints", "sphinx_design", - "sphinx_immaterial", ] nitpicky = True modindex_common_prefix = ["betty."] diff --git a/pyproject.toml b/pyproject.toml index dc4c4a946..29997b316 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ dependencies = [ 'babel ~= 2.12, >= 2.12.0', 'click ~= 8.1, >= 8.1.2', 'docker ~= 7.0, >= 7.0.0', + 'furo == 2024.4.27', 'geopy ~= 2.3, >= 2.3.0', 'jinja2 ~= 3.1, >= 3.1.1', 'jsonschema ~= 4.17, >= 4.17.0', @@ -35,7 +36,6 @@ dependencies = [ 'referencing ~= 0.34, >= 0.34.0', 'sphinx ~= 7.2, >= 7.2.6', 'sphinx-design ~= 0.5, >= 0.5.0', - 'sphinx-immaterial ~= 0.11, >= 0.11.10', 'sphinx-autodoc-typehints ~= 2.0, >= 2.0.0', 'typing_extensions ~= 4.10, >= 4.10.0', ]