Update webpack documentation (2.3.3, 1.15.0)

This commit is contained in:
Thibaut Courouble 2017-04-23 10:58:47 -04:00
parent 8cd5a74e1a
commit 0e31f46d7d
3 changed files with 10 additions and 7 deletions

View file

@ -595,7 +595,7 @@ credits = [
'https://raw.githubusercontent.com/vuejs/vue/master/LICENSE'
], [
'webpack',
'2012-2016 Tobias Koppers',
'JS Foundation and other contributors',
'CC BY',
'https://creativecommons.org/licenses/by/4.0/'
], [

View file

@ -9,13 +9,16 @@ module Docs
def root
@doc = at_css(".container > .row > .col-md-9")
# Remove all introdcution before the hr,
# Remove all introduction before the hr,
# The introduction about the documentation site which isn't relevant
# in devdocs.
hr_index = doc.children.find_index { |node| node.name == "hr" }
doc.children[0..hr_index].each(&:remove)
end
css('.row', '.col-md-6', '.feature').each do |node|
node.before(node.children).remove
end
end
def other
css('h1, h2, h3, h4').each do |node|

View file

@ -34,7 +34,7 @@ module Docs
]
options[:attribution] = <<-HTML
&copy; 2012&ndash;2016 Tobias Koppers<br>
&copy; JS Foundation and other contributors<br>
Licensed under the Creative Commons Attribution License 4.0.
HTML
@ -49,11 +49,11 @@ module Docs
end
version '1' do
self.release = '1.13.2'
self.release = '1.15.0'
self.base_url = 'https://webpack.github.io/docs/'
self.links = {
home: 'https://webpack.github.io/',
code: 'https://github.com/webpack/webpack'
code: 'https://github.com/webpack/webpack/tree/webpack-1'
}
html_filters.push 'webpack/entries_old', 'webpack/clean_html_old', 'title'
@ -64,7 +64,7 @@ module Docs
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>
&copy; 2012&ndash;2015 Tobias Koppers<br>
Licensed under the MIT License.
HTML
end