History

Update webpack documentation (2.3.3, 1.15.0)

Thibaut Courouble committed 9 years ago

Commit 0e31f461 parent 8cd5a743 files · +10 −7Browse files

Unified · Split

3 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/filters/webpack/clean_html_old.rb +5 −2
  3. lib/docs/scrapers/webpack.rb +4 −4
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -595,7 +595,7 @@ credits = [ · 594 unmodified lines
595595 'https://raw.githubusercontent.com/vuejs/vue/master/LICENSE'
596596 ], [
597597 'webpack',
598− '2012-2016 Tobias Koppers',
598+ 'JS Foundation and other contributors',
599599 'CC BY',
600600 'https://creativecommons.org/licenses/by/4.0/'
601601 ], [
lib/docs/filters/webpack/clean_html_old.rb+5−2
@@ -9,13 +9,16 @@ module Docs · 8 unmodified lines
99 def root
1010 @doc = at_css(".container > .row > .col-md-9")
1111
12− # Remove all introdcution before the hr,
12+ # Remove all introduction before the hr,
1313 # The introduction about the documentation site which isn't relevant
1414 # in devdocs.
1515 hr_index = doc.children.find_index { |node| node.name == "hr" }
1616 doc.children[0..hr_index].each(&:remove)
17− end
1817
18+ css('.row', '.col-md-6', '.feature').each do |node|
19+ node.before(node.children).remove
20+ end
21+ end
1922
2023 def other
2124 css('h1, h2, h3, h4').each do |node|
lib/docs/scrapers/webpack.rb+4−4
@@ -34,7 +34,7 @@ module Docs · 33 unmodified lines
3434 ]
3535
3636 options[:attribution] = <<-HTML
37− &copy; 2012&ndash;2016 Tobias Koppers<br>
37+ &copy; JS Foundation and other contributors<br>
3838 Licensed under the Creative Commons Attribution License 4.0.
3939 HTML
4040
@@ -49,11 +49,11 @@ module Docs · 8 unmodified lines
4949 end
5050
5151 version '1' do
52− self.release = '1.13.2'
52+ self.release = '1.15.0'
5353 self.base_url = 'https://webpack.github.io/docs/'
5454 self.links = {
5555 home: 'https://webpack.github.io/',
56− code: 'https://github.com/webpack/webpack'
56+ code: 'https://github.com/webpack/webpack/tree/webpack-1'
5757 }
5858
5959 html_filters.push 'webpack/entries_old', 'webpack/clean_html_old', 'title'
@@ -64,7 +64,7 @@ module Docs · 4 unmodified lines
6464 options[:skip] = %w(list-of-tutorials.html examples.html changelog.html ideas.html roadmap.html)
6565
6666 options[:attribution] = <<-HTML
67− &copy; 2012&ndash;2016 Tobias Koppers<br>
67+ &copy; 2012&ndash;2015 Tobias Koppers<br>
6868 Licensed under the MIT License.
6969 HTML
7070 end