Unified · Split
| @@ -745,6 +745,11 @@ credits = [ · 744 unmodified lines | |||
| 745 | '2012-2018 The Qt Company Ltd', | 745 | '2012-2018 The Qt Company Ltd', |
| 746 | 'GFDL', | 746 | 'GFDL', |
| 747 | 'https://doc.qt.io/qt-5/licensing.html' | 747 | 'https://doc.qt.io/qt-5/licensing.html' |
| 748 | ], [ | ||
| 749 | 'QUnit', | ||
| 750 | 'OpenJS Foundation and other contributors', | ||
| 751 | 'MIT', | ||
| 752 | 'https://raw.githubusercontent.com/qunitjs/qunit/main/LICENSE.txt' | ||
| 748 | ], [ | 753 | ], [ |
| 749 | 'R', | 754 | 'R', |
| 750 | '1999–2012 R Foundation for Statistical Computing', | 755 | '1999–2012 R Foundation for Statistical Computing', |
| @@ -4,6 +4,7 @@ module Docs · 3 unmodified lines | |||
| 4 | class Qunit | 4 | class Qunit |
| 5 | class CleanHtmlFilter < Filter | 5 | class CleanHtmlFilter < Filter |
| 6 | def call | 6 | def call |
| 7 | @doc = at_css('.content[role="main"]') | ||
| 7 | css('.sidebar').remove | 8 | css('.sidebar').remove |
| 8 | doc | 9 | doc |
| 9 | end | 10 | end |
| @@ -27,6 +27,13 @@ module Docs · 26 unmodified lines | |||
| 27 | /^extension$/, | 27 | /^extension$/, |
| 28 | ] | 28 | ] |
| 29 | 29 | ||
| 30 | options[:attribution] = 'Copyright OpenJS Foundation and contributors.' | 30 | options[:attribution] = <<-HTML |
| 31 | © OpenJS Foundation and contributors.<br> | ||
| 32 | Licensed under the MIT license. | ||
| 33 | HTML | ||
| 34 | |||
| 35 | def get_latest_version(opts) | ||
| 36 | get_npm_version('qunit', opts) | ||
| 37 | end | ||
| 31 | end | 38 | end |
| 32 | end | 39 | end |