module Jekyll::Algolia::Configurator

def self.init(config = nil)

the default Jekyll config
config - The config passed by the `jekyll algolia` command. Default to

Public: Init the configurator with the Jekyll config
def self.init(config = nil)
  # Use the default Jekyll configuration if none specified. Silence the
  # warning about no config set
  Logger.silent { config = Jekyll.configuration } if config.nil?
  @config = config
  @config = disable_other_plugins(@config)
  self
end