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 32
|
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
litestar_sphinx_theme isn't packaged so we can't use it, use the default
Sphinx RTD theme for now.
Forwarded: not-needed
---
docs/conf.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/conf.py b/docs/conf.py
index 9daf400..a5d2d2b 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 = "litestar_sphinx_theme"
+html_theme = "sphinx_rtd_theme"
html_title = "Polyfactory"
# pygments_style = "lightbulb"
todo_include_todos = True
@@ -246,5 +246,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("litestar_sphinx_theme")
+ app.setup_extension("sphinx_rtd_theme")
return {"parallel_read_safe": True, "parallel_write_safe": True}
|