use alabaster
This commit is contained in:
parent
4eca29f68b
commit
386ac92bdd
1 changed files with 3 additions and 10 deletions
13
docs/conf.py
13
docs/conf.py
|
|
@ -272,16 +272,9 @@ intersphinx_mapping = {
|
|||
'blinker': ('https://pythonhosted.org/blinker/', None)
|
||||
}
|
||||
|
||||
try:
|
||||
__import__('flask_sphinx_themes')
|
||||
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`.')
|
||||
|
||||
html_theme_options = {
|
||||
'touch_icon': 'touch-icon.png'
|
||||
}
|
||||
|
||||
# unwrap decorators
|
||||
def unwrap_decorators():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue