def METHOD_NAME(app, exception):
    """ Copy asset files to the output """
    builders = ('html', 'readthedocs', 'readthedocssinglehtmllocalmedia',
                'singlehtml')
    if app.builder.name not in builders:
        return
    if exception:
        return
    installdir = os.path.join(app.builder.outdir, '_static', 'sphinx_tabs')
    for path in FILES:
        source = os.path.join(DIR, path)
        dest = os.path.join(installdir, path)
        destdir = os.path.dirname(dest)
        if not os.path.exists(destdir):
            os.makedirs(destdir)
        copyfile(source, dest)