module Docs class Jekyll < UrlScraper self.type = 'jekyll' self.release = '3.7.2' self.base_url = 'https://jekyllrb.com/docs/' self.root_path = 'home/' self.links = { home: 'https://jekyllrb.com/', code: 'https://github.com/jekyll/jekyll' } html_filters.push 'jekyll/clean_html', 'jekyll/entries' options[:trailing_slash] = true options[:skip] = %w(sites/ upgrading/) options[:skip_patterns] = [ /conduct/, /history/, /maintaining/, /contributing/, ] options[:replace_paths] = { '' => 'home/', '/' => 'home/' } options[:attribution] = <<-HTML © 2008–2018 Tom Preston-Werner and Jekyll contributors
Licensed under the MIT license. HTML end end