use alabaster

This commit is contained in:
Kenneth Reitz 2017-05-25 17:38:26 -04:00
parent 4eca29f68b
commit 386ac92bdd

View file

@ -272,16 +272,9 @@ intersphinx_mapping = {
'blinker': ('https://pythonhosted.org/blinker/', None) 'blinker': ('https://pythonhosted.org/blinker/', None)
} }
try: html_theme_options = {
__import__('flask_sphinx_themes') 'touch_icon': 'touch-icon.png'
html_theme = 'flask' }
html_theme_options = {
'touch_icon': 'touch-icon.png'
}
except ImportError:
print('Flask theme unavailable; using the default theme.')
print('Install using `pip install Flask-Sphinx-Themes`.')
# unwrap decorators # unwrap decorators
def unwrap_decorators(): def unwrap_decorators():