webpack.rb 671 B

123456789101112131415161718192021222324
  1. module Docs
  2. class Webpack < UrlScraper
  3. self.name = 'webpack'
  4. self.type = 'webpack'
  5. self.version = '1.12'
  6. self.base_url = 'https://webpack.github.io/docs/'
  7. self.links = {
  8. home: 'https://webpack.github.io/',
  9. code: 'https://github.com/webpack/webpack'
  10. }
  11. html_filters.push 'webpack/entries', 'webpack/clean_html', 'title'
  12. options[:title] = false
  13. options[:root_title] = 'webpack'
  14. options[:skip] = %w(list-of-tutorials.html examples.html changelog.html ideas.html roadmap.html)
  15. options[:attribution] = <<-HTML
  16. &copy; 2012&ndash;2015 Tobias Koppers<br>
  17. Licensed under the MIT License.
  18. HTML
  19. end
  20. end