webpack.rb 412 B

1234567891011121314151617
  1. module Docs
  2. class Webpack < UrlScraper
  3. self.name = 'Webpack'
  4. self.type = 'webpack'
  5. self.version = '1.9'
  6. self.base_url = 'https://webpack.github.io/docs/'
  7. self.root_path = 'index.html'
  8. html_filters.push 'webpack/entries', 'webpack/clean_html'
  9. options[:attribution] = <<-HTML
  10. &copy; 2012&ndash;2015 Tobias Koppers<br>
  11. Licensed under the MIT License.
  12. HTML
  13. end
  14. end