refactor(conf): migrate to toml
This commit is contained in:
parent
effe9c435f
commit
554d7ccbfc
2 changed files with 24 additions and 16 deletions
|
|
@ -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 =
|
|
||||||
24
src/sphinx_theme_ref/theme.toml
Normal file
24
src/sphinx_theme_ref/theme.toml
Normal file
|
|
@ -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 =
|
||||||
Loading…
Add table
Add a link
Reference in a new issue