conf: add a search box, show related docs
This commit is contained in:
parent
d71bc4d38b
commit
887531eb2b
1 changed files with 10 additions and 14 deletions
|
@ -92,21 +92,8 @@ highlight_language = 'rst'
|
||||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||||
# a list of builtin themes.
|
# a list of builtin themes.
|
||||||
#
|
#
|
||||||
|
|
||||||
html_theme = 'alabaster'
|
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
|
# 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
|
# 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 = {}
|
||||||
|
|
||||||
|
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,
|
# 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,
|
# relative to this directory. They are copied after the builtin static files,
|
||||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||||
|
@ -137,6 +132,7 @@ html_sidebars = {
|
||||||
'about.html',
|
'about.html',
|
||||||
'navigation.html',
|
'navigation.html',
|
||||||
'relations.html', # needs 'show_related': True theme option to display
|
'relations.html', # needs 'show_related': True theme option to display
|
||||||
|
'searchbox.html',
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue