diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index 1b10d0b9..54fc976b 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -472,7 +472,7 @@ credits = [ 'https://raw.githubusercontent.com/vuejs/vue/master/LICENSE' ], [ 'Webpack', - '2012-2015 Tobias Koppers', + '2012-2016 Tobias Koppers', 'MIT', 'https://raw.githubusercontent.com/webpack/webpack/master/LICENSE' ], [ diff --git a/assets/javascripts/views/pages/javascript.coffee b/assets/javascripts/views/pages/javascript.coffee index 6f75720b..0dd9e0f8 100644 --- a/assets/javascripts/views/pages/javascript.coffee +++ b/assets/javascripts/views/pages/javascript.coffee @@ -27,7 +27,6 @@ app.views.MongoosePage = app.views.NodePage = app.views.PhaserPage = app.views.SinonPage = -app.views.WebpackPage = app.views.JavascriptPage app.views.DojoPage = diff --git a/assets/javascripts/views/pages/simple.coffee b/assets/javascripts/views/pages/simple.coffee index ec3d0c0d..f0ffc82c 100644 --- a/assets/javascripts/views/pages/simple.coffee +++ b/assets/javascripts/views/pages/simple.coffee @@ -17,4 +17,5 @@ app.views.RethinkdbPage = app.views.TensorflowPage = app.views.TypescriptPage = app.views.UnderscorePage = +app.views.WebpackPage = app.views.SimplePage diff --git a/lib/docs/filters/webpack/clean_html.rb b/lib/docs/filters/webpack/clean_html.rb index a9a6c6f7..05ed77d3 100644 --- a/lib/docs/filters/webpack/clean_html.rb +++ b/lib/docs/filters/webpack/clean_html.rb @@ -18,8 +18,12 @@ module Docs def other + css('h1, h2, h3, h4').each do |node| + node.name = node.name.sub(/\d/) { |i| i.to_i + 1 } + end + # Re-create the header element - at_css("#wiki").child.before("