1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Fri, 2 Aug 2024 16:43:39 +0900
Subject: docs: Use sphinx_rtd_theme as html_theme
shibuya isn't packaged so we can't use it, use the default
Sphinx RTD theme for now.
Forwarded: not-needed
---
docs/conf.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/docs/conf.py b/docs/conf.py
index b7faf1f..0e08621 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -113,7 +113,7 @@ autosectionlabel_prefix_document = True
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
# -- Style configuration -----------------------------------------------------
-html_theme = "shibuya"
+html_theme = "sphinx_rtd_theme"
html_title = "Polyfactory"
pygments_style = "dracula"
todo_include_todos = True
@@ -245,4 +245,5 @@ def delayed_setup(app: Sphinx) -> None:
def setup(app: Sphinx) -> dict[str, bool]:
app.connect("builder-inited", delayed_setup, priority=0)
+ app.setup_extension("sphinx_rtd_theme")
return {"parallel_read_safe": True, "parallel_write_safe": True}
|