Update Vue.js documentation (1.0.21)

pull/406/head
Thibaut Courouble 9 years ago
parent aaa864b428
commit d9ceb673bc

@ -24,5 +24,4 @@ app.views.JavascriptPage
app.views.DojoPage = app.views.DojoPage =
app.views.RequirejsPage = app.views.RequirejsPage =
app.views.VuePage =
app.views.JavascriptWithMarkupCheckPage app.views.JavascriptWithMarkupCheckPage

@ -27,5 +27,6 @@ app.views.SphinxSimplePage =
app.views.TensorflowPage = app.views.TensorflowPage =
app.views.TypescriptPage = app.views.TypescriptPage =
app.views.UnderscorePage = app.views.UnderscorePage =
app.views.VuePage =
app.views.WebpackPage = app.views.WebpackPage =
app.views.SimplePage app.views.SimplePage

@ -12,6 +12,7 @@ module Docs
css('figure').each do |node| css('figure').each do |node|
node.name = 'pre' node.name = 'pre'
node.content = node.at_css('td.code pre').css('.line').map(&:content).join("\n") node.content = node.at_css('td.code pre').css('.line').map(&:content).join("\n")
node['data-language'] = node['class'][/highlight (\w+)/, 1]
end end
doc doc

@ -3,7 +3,7 @@ module Docs
self.name = 'Vue.js' self.name = 'Vue.js'
self.slug = 'vue' self.slug = 'vue'
self.type = 'vue' self.type = 'vue'
self.release = '1.0.19' self.release = '1.0.21'
self.base_url = 'https://vuejs.org' self.base_url = 'https://vuejs.org'
self.root_path = '/guide/index.html' self.root_path = '/guide/index.html'
self.initial_paths = %w(/api/index.html) self.initial_paths = %w(/api/index.html)

Loading…
Cancel
Save