Unified · Split
| @@ -24,5 +24,4 @@ app.views.JavascriptPage · 23 unmodified lines | |||
| 24 | 24 | ||
| 25 | app.views.DojoPage = | 25 | app.views.DojoPage = |
| 26 | app.views.RequirejsPage = | 26 | app.views.RequirejsPage = |
| 27 | app.views.VuePage = | ||
| 28 | app.views.JavascriptWithMarkupCheckPage | 27 | app.views.JavascriptWithMarkupCheckPage |
| @@ -27,5 +27,6 @@ app.views.SphinxSimplePage = · 26 unmodified lines | |||
| 27 | app.views.TensorflowPage = | 27 | app.views.TensorflowPage = |
| 28 | app.views.TypescriptPage = | 28 | app.views.TypescriptPage = |
| 29 | app.views.UnderscorePage = | 29 | app.views.UnderscorePage = |
| 30 | app.views.VuePage = | ||
| 30 | app.views.WebpackPage = | 31 | app.views.WebpackPage = |
| 31 | app.views.SimplePage | 32 | app.views.SimplePage |
| @@ -12,6 +12,7 @@ module Docs · 11 unmodified lines | |||
| 12 | css('figure').each do |node| | 12 | css('figure').each do |node| |
| 13 | node.name = 'pre' | 13 | node.name = 'pre' |
| 14 | node.content = node.at_css('td.code pre').css('.line').map(&:content).join("\n") | 14 | node.content = node.at_css('td.code pre').css('.line').map(&:content).join("\n") |
| 15 | node['data-language'] = node['class'][/highlight (\w+)/, 1] | ||
| 15 | end | 16 | end |
| 16 | 17 | ||
| 17 | doc | 18 | doc |
| @@ -3,7 +3,7 @@ module Docs · 2 unmodified lines | |||
| 3 | self.name = 'Vue.js' | 3 | self.name = 'Vue.js' |
| 4 | self.slug = 'vue' | 4 | self.slug = 'vue' |
| 5 | self.type = 'vue' | 5 | self.type = 'vue' |
| 6 | self.release = '1.0.19' | 6 | self.release = '1.0.21' |
| 7 | self.base_url = 'https://vuejs.org' | 7 | self.base_url = 'https://vuejs.org' |
| 8 | self.root_path = '/guide/index.html' | 8 | self.root_path = '/guide/index.html' |
| 9 | self.initial_paths = %w(/api/index.html) | 9 | self.initial_paths = %w(/api/index.html) |