From 2a8cb8f8617d618c8d2777cccd823b28a3edc812 Mon Sep 17 00:00:00 2001
From: Andrew Godwin
Date: Fri, 25 Nov 2022 17:44:10 -0700
Subject: Switch to Furo docs theme
Fixes #42
---
docs/_templates/extralinks.html | 7 -------
docs/_templates/sidebar/brand.html | 23 +++++++++++++++++++++++
docs/conf.py | 9 +--------
docs/requirements.txt | 1 +
4 files changed, 25 insertions(+), 15 deletions(-)
delete mode 100644 docs/_templates/extralinks.html
create mode 100644 docs/_templates/sidebar/brand.html
diff --git a/docs/_templates/extralinks.html b/docs/_templates/extralinks.html
deleted file mode 100644
index e8a0f35..0000000
--- a/docs/_templates/extralinks.html
+++ /dev/null
@@ -1,7 +0,0 @@
-
Takahē
-
diff --git a/docs/_templates/sidebar/brand.html b/docs/_templates/sidebar/brand.html
new file mode 100644
index 0000000..f6e47b1
--- /dev/null
+++ b/docs/_templates/sidebar/brand.html
@@ -0,0 +1,23 @@
+
+ {% block brand_content %}
+ {%- if logo_url %}
+
+ {%- endif %}
+ {%- if theme_light_logo and theme_dark_logo %}
+
+ {%- endif %}
+ {% endblock brand_content %}
+
+
diff --git a/docs/conf.py b/docs/conf.py
index 480b95b..f269972 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -22,14 +22,7 @@ exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
-html_theme = "nature"
+html_theme = "furo"
html_static_path = ["_static"]
html_logo = "../static/img/logo-128.png"
html_favicon = "../static/img/icon-32.png"
-html_sidebars = {
- "**": [
- "localtoc.html",
- "extralinks.html",
- "searchbox.html",
- ]
-}
diff --git a/docs/requirements.txt b/docs/requirements.txt
index 21ef954..b85468a 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -1 +1,2 @@
sphinx~=5.3.0
+furo==2022.9.29
--
cgit v1.2.3