Skip to content
Snippets Groups Projects
Commit 6bbf6c5d authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Switch doc theme

parent b4bcbcc9
No related branches found
No related tags found
No related merge requests found
......@@ -124,26 +124,24 @@ todo_include_todos = False
# -- Options for HTML output ----------------------------------------------
try:
import sphinx_bootstrap_theme
except:
from warnings import warn
warn("I would like to use the sphinx bootstrap theme, but can't find it.\n"
"'pip install sphinx_bootstrap_theme' to fix.")
else:
# Activate the theme.
html_theme = 'bootstrap'
html_theme_path = sphinx_bootstrap_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 = {
"navbar_fixed_top": "true",
"navbar_site_name": "Contents",
'bootstrap_version': '3',
'source_link_position': 'footer',
html_theme = "alabaster"
html_theme_options = {
"extra_nav_links": {
"🚀 Github": "https://github.com/inducer/grudge",
"💾 Download Releases": "https://pypi.python.org/pypi/grudge",
}
}
html_sidebars = {
'**': [
'about.html',
'navigation.html',
'relations.html',
'searchbox.html',
]
}
# 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment