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 7d20617 commit fe9e2c4Copy full SHA for fe9e2c4
sphinx_tabs/tabs.py
@@ -198,7 +198,11 @@ def add_assets(app):
198
199
def copy_assets(app, exception):
200
""" Copy asset files to the output """
201
- if app.builder.name != 'html' or exception:
+ if app.builder.name not in ('html', 'readthedocs', 'readthedocssinglehtmllocalmedia'):
202
+ app.info('Not copying tabs assets! Not compatible with %s builder' % app.builder.name)
203
+ return
204
+ if exception:
205
+ app.info('Not copying tabs assets! Error occurred previously')
206
return
207
app.info('Copying tabs assets... ', nonl=True)
208
0 commit comments