add version info to config endpoint

dependabot/pip/master/sphinx-6.1.3
Noémi Ványi 8 years ago
parent 1b9045ed89
commit 6334fca11c

@ -743,7 +743,8 @@ def config():
'default_locale': settings['ui']['default_locale'],
'autocomplete': settings['search']['autocomplete'],
'safe_search': settings['search']['safe_search'],
'default_theme': settings['ui']['default_theme']})
'default_theme': settings['ui']['default_theme'],
'version': VERSION_STRING})
@app.errorhandler(404)

Loading…
Cancel
Save