Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Switch doc theme
  • Loading branch information
inducer committed May 17, 2016
1 parent edfd5eb commit af8ea0a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 80 deletions.
59 changes: 0 additions & 59 deletions doc/_static/akdoc.css

This file was deleted.

2 changes: 0 additions & 2 deletions doc/_templates/layout.html

This file was deleted.

35 changes: 16 additions & 19 deletions doc/conf.py
Expand Up @@ -92,26 +92,23 @@ def get_version():
# 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/meshpy",
"💾 Download Releases": "https://pypi.python.org/pypi/meshpy",
}
}

html_sidebars = {
'**': [
'about.html',
'navigation.html',
'relations.html',
'searchbox.html',
]
}

# The style sheet to use for HTML and HTML Help pages. A file of that name
# must exist either in Sphinx' static/ path, or in one of the custom paths
Expand Down

0 comments on commit af8ea0a

Please sign in to comment.