Skip to content

Commit

Permalink
DOC: Switch to better theme
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed May 6, 2024
1 parent e9cb489 commit e35cb3c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
27 changes: 27 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,33 @@
html_favicon = 'favicon.svg'
html_title = project + ' version ' + release

html_short_title = 'Home'

from better import better_theme_path

html_theme_path = [better_theme_path]
html_theme = 'better'
html_theme_options = {
#'nosidebar': True,
'navigation_with_keys': True,
#'rightsidebar': True,
#'inlinecss': '',
#'cssfiles': ['_static/my_style.css'],
#'showheader': False,
#'showrelbartop': False,
#'showrelbarbottom': False,
#'linktotheme': False,
#'sidebarwidth': '15rem',
#'textcolor': '#000000',
#'headtextcolor': '',
#'footertextcolor': '',
#'ga_ua': '',
#'ga_domain': '',
}
html_sidebars = {
'**': ['globaltoc.html', 'sourcelink.html', 'searchbox.html'],
}

# -- Options for LaTeX output ---------------------------------------------

# See https://www.sphinx-doc.org/en/master/latex.html
Expand Down
1 change: 1 addition & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
sphinx-better-theme
ipykernel
numpy
matplotlib
Expand Down

0 comments on commit e35cb3c

Please sign in to comment.