We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6842dc commit bf784b5Copy full SHA for bf784b5
sphinx_tabs/tabs.py
@@ -198,8 +198,10 @@ def add_assets(app):
198
199
def copy_assets(app, exception):
200
""" Copy asset files to the output """
201
- if app.builder.name not in ('html', 'readthedocs', 'readthedocssinglehtmllocalmedia'):
202
- app.info('Not copying tabs assets! Not compatible with %s builder' % app.builder.name)
+ builders = ('html', 'readthedocs', 'readthedocssinglehtmllocalmedia')
+ if app.builder.name not in builders:
203
+ app.info('Not copying tabs assets! Not compatible with %s builder' %
204
+ app.builder.name)
205
return
206
if exception:
207
app.info('Not copying tabs assets! Error occurred previously')
0 commit comments