We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ebc97a commit 97d2a19Copy full SHA for 97d2a19
1 file changed
docs/conf.py
@@ -250,3 +250,17 @@
250
}
251
252
pygments_style = 'flask_theme_support.FlaskyStyle'
253
+
254
+# fall back if theme is not there
255
+try:
256
+ __import__('flask_theme_support')
257
+except ImportError, e:
258
+ print '-' * 74
259
+ print 'Warning: Flask themes unavailable. Building with default theme'
260
+ print 'If you want the Flask themes, run this command and build again:'
261
+ print
262
+ print ' git submodule init'
263
264
265
+ pygments_style = 'tango'
266
+ html_theme = 'default'
0 commit comments