Skip to content

Commit

Permalink
conf: Update for sphinx_rtd_theme 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rkdarst committed Oct 7, 2024
1 parent dc55af0 commit 1f011db
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,16 +186,16 @@
if on_rtd:
os.system('git fetch --unshallow')
os.system('pip freeze')
else:
import sphinx_rtd_theme
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
#else:
# import sphinx_rtd_theme
# html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
#html_theme_options = {}
html_theme_options = {
'display_version': False,
#'display_version': False, # no longer needed in 3.0.0
'navigation_depth': 5,
'prev_next_buttons_location': None,
#'canonical_url': 'https://scicomp.aalto.fi/'
Expand Down

0 comments on commit 1f011db

Please sign in to comment.