You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
devdocs/lib/docs/scrapers/webpack.rb

25 lines
671 B

module Docs
class Webpack < UrlScraper
self.name = 'webpack'
self.type = 'webpack'
self.release = '1.13'
self.base_url = 'https://webpack.github.io/docs/'
self.links = {
home: 'https://webpack.github.io/',
code: 'https://github.com/webpack/webpack'
}
html_filters.push 'webpack/entries', 'webpack/clean_html', 'title'
options[:title] = false
options[:root_title] = 'webpack'
options[:skip] = %w(list-of-tutorials.html examples.html changelog.html ideas.html roadmap.html)
options[:attribution] = <<-HTML
&copy; 2012&ndash;2016 Tobias Koppers<br>
Licensed under the MIT License.
HTML
end
end