|
|
@ -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(): |
|
|
|