Unified · Split
| @@ -108,9 +108,9 @@ credits = [ · 107 unmodified lines | |||
| 108 | 'https://raw.githubusercontent.com/caolan/async/master/LICENSE' | 108 | 'https://raw.githubusercontent.com/caolan/async/master/LICENSE' |
| 109 | ], [ | 109 | ], [ |
| 110 | 'Babel', | 110 | 'Babel', |
| 111 | '2018 Sebastian McKenzie', | 111 | '2014-present Sebastian McKenzie', |
| 112 | 'MIT', | 112 | 'MIT', |
| 113 | 'https://raw.githubusercontent.com/babel/website/master/LICENSE' | 113 | 'https://raw.githubusercontent.com/babel/babel/master/LICENSE' |
| 114 | ], [ | 114 | ], [ |
| 115 | 'Backbone.js', | 115 | 'Backbone.js', |
| 116 | '2010-2019 Jeremy Ashkenas, DocumentCloud', | 116 | '2010-2019 Jeremy Ashkenas, DocumentCloud', |
| @@ -15,6 +15,14 @@ module Docs · 14 unmodified lines | |||
| 15 | 15 | ||
| 16 | css('.docs-prevnext').remove | 16 | css('.docs-prevnext').remove |
| 17 | 17 | ||
| 18 | css('pre > code.hljs').each do |node| | ||
| 19 | node.parent['data-language'] = node['class'][/language-(\w+)/, 1] | ||
| 20 | end | ||
| 21 | |||
| 22 | css('pre').each do |node| | ||
| 23 | node.content = node.content | ||
| 24 | end | ||
| 25 | |||
| 18 | doc | 26 | doc |
| 19 | 27 | ||
| 20 | end | 28 | end |
| @@ -25,12 +25,12 @@ module Docs · 24 unmodified lines | |||
| 25 | ] | 25 | ] |
| 26 | 26 | ||
| 27 | options[:attribution] = <<-HTML | 27 | options[:attribution] = <<-HTML |
| 28 | © 2020 Sebastian McKenzie<br> | 28 | © 2014-present Sebastian McKenzie<br> |
| 29 | Licensed under the MIT License. | 29 | Licensed under the MIT License. |
| 30 | HTML | 30 | HTML |
| 31 | 31 | ||
| 32 | version '7' do | 32 | version '7' do |
| 33 | self.release = '7.12.6' | 33 | self.release = '7.14.8' |
| 34 | end | 34 | end |
| 35 | 35 | ||
| 36 | version '6' do | 36 | version '6' do |