diff --git a/doc/conf.py.in b/doc/conf.py.in index 66b5f02..bfd7856 100644 --- a/doc/conf.py.in +++ b/doc/conf.py.in @@ -92,21 +92,8 @@ highlight_language = 'rst' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # + html_theme = 'alabaster' -html_sidebars = { - '**': [ - 'about.html', - 'navigation.html', - ] -} - -html_theme_options = { - 'font_family': 'Inconsolata', - 'font_size': '16px', - 'show_powered_by': 'false', - 'description': 'managed by @PROJECT_AUTHOR@' -} - # 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 @@ -114,6 +101,14 @@ html_theme_options = { # # html_theme_options = {} +html_theme_options = { + 'font_family': 'Inconsolata', + 'font_size': '16px', + 'show_powered_by': 'false', + 'description': 'managed by @PROJECT_AUTHOR@', + 'show_related': True, +} + # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". @@ -137,6 +132,7 @@ html_sidebars = { 'about.html', 'navigation.html', 'relations.html', # needs 'show_related': True theme option to display + 'searchbox.html', ] }