module Jekyll::Algolia::Configurator
def self.disable_other_plugins(config)
If they are simply required in Gemfile, then we might need to revert
using .load_overwrites in .load_overwrites in jekyll-algolia.rb.
:jekyll_plugins group in the Gemfile, we might be able to override them
Note that if other jekyll plugins are defined as part of the
with the indexing
Public: Disable features from other Jekyll plugins that might interfere
def self.disable_other_plugins(config) # Disable archive pages from jekyll-archives config['jekyll-archives'] = nil # Disable pagination from jekyll-paginate config['paginate'] = nil # Disable pagination for jekyll-paginate-v2 config['pagination'] = {} unless config['pagination'].is_a?(Hash) config['pagination']['enabled'] = false # Disable tags from jekyll-tagging config['tag_page_dir'] = nil config['tag_page_layout'] = nil config end