diff --git a/src/sphinx_theme_ref/theme.conf b/src/sphinx_theme_ref/theme.conf deleted file mode 100644 index bf9f5f5..0000000 --- a/src/sphinx_theme_ref/theme.conf +++ /dev/null @@ -1,16 +0,0 @@ -[theme] -inherit = none -stylesheet = main.css -pygments_style = none -sidebars = localtoc.html, relations.html, sourcelink.html, searchbox.html - -[options] -nosidebar = false -sidebarwidth = 230 -body_min_width = 360 -body_max_width = 800 -navigation_with_keys = False -enable_search_shortcuts = True -globaltoc_collapse = true -globaltoc_includehidden = false -globaltoc_maxdepth = diff --git a/src/sphinx_theme_ref/theme.toml b/src/sphinx_theme_ref/theme.toml new file mode 100644 index 0000000..a9ad9f9 --- /dev/null +++ b/src/sphinx_theme_ref/theme.toml @@ -0,0 +1,24 @@ +[theme] +inherit = "basic" +stylesheets = [ + "style/main.css", +] +sidebars = [ + "localtoc.html", + "relations.html", + "sourcelink.html", + "searchbox.html", +] +# Style names from https://pygments.org/styles/ +pygments_style = { default = "style_name", dark = "dark_style" } + +[options] +nosidebar = false +sidebarwidth = 230 +body_min_width = 360 +body_max_width = 800 +navigation_with_keys = False +enable_search_shortcuts = True +globaltoc_collapse = true +globaltoc_includehidden = false +globaltoc_maxdepth =