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.
|
|
|
module Docs
|
|
|
|
class Webpack < UrlScraper
|
|
|
|
self.name = 'webpack'
|
|
|
|
self.type = 'webpack'
|
|
|
|
self.release = '1.12'
|
|
|
|
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
|
|
|
|
© 2012–2015 Tobias Koppers<br>
|
|
|
|
Licensed under the MIT License.
|
|
|
|
HTML
|
|
|
|
end
|
|
|
|
end
|