Skip to content

Commit

Permalink
configuring html_theme_options explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgurakgun committed Mar 16, 2023
1 parent cffd8e7 commit b1d26b8
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,28 @@

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
if not on_rtd:
html_theme = 'sphinx_rtd_theme'
html_theme = 'sphinx_rtd_theme'

# 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 = {
'analytics_id': 'G-6T6SSFK9G1',
'analytics_anonymize_ip': False,
'logo_only': False,
'display_version': True,
'prev_next_buttons_location': 'bottom',
'style_external_links': False,
# 'vcs_pageview_mode': '',
# 'style_nav_header_background': 'white',
# Toc options
'collapse_navigation': True,
'sticky_navigation': True,
'navigation_depth': 4,
'includehidden': True,
'titles_only': False
}


# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []
Expand Down

0 comments on commit b1d26b8

Please sign in to comment.