Formatting in theme.conf
Hi. Thanks for making this theme available!
I've run into two issues while trying it out using the default settings (Sphinx versions 5.3.0 and 7.0.1; sphinx_lv2_theme v. 1.4.0):
First I get the following error when running make html
:
pygments.util.ClassNotFound: Could not find style module '"friendly"'.
If I set, e.g., pygments_style = 'friendly'
in my conf.py
, then I get:
Theme error:
An error happened in rendering the page index.
Reason: TemplateNotFound('localtoc.html globaltoc.html')
The errors go away if I change the formatting in sphinx_lv2_theme/theme.conf
as follows:
--- a/sphinx_lv2_theme/theme.conf
+++ b/sphinx_lv2_theme/theme.conf
@@ -1,7 +1,7 @@
[theme]
inherit = none
-pygments_style = "friendly"
+pygments_style = friendly
-sidebars = localtoc.html globaltoc.html
+sidebars = localtoc.html, globaltoc.html
stylesheet = sphinx_lv2_theme.css