'Import and setup a Sphinx extension module. No-op if called twice.'

def setup_extension(self, extname):

    logger.debug('[app]    setting    up    extension:    %r', extname)
    self.registry.load_extension(self, extname)
