'Get local media files with separate build'

def build_docs_localmedia(self):

    if ('htmlzip' not in self.config.formats):
        return False
    if self.build_localmedia:
        if self.project.is_type_sphinx:
            return self.build_docs_class('sphinx_singlehtmllocalmedia')
    return False
