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)
|
'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():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue