Update QUnit documentation (2.19.3)

pull/1893/head
Simon Legner 2 years ago
parent 85bbd1ce6a
commit faac2369cd

@ -745,6 +745,11 @@ credits = [
'2012-2018 The Qt Company Ltd', '2012-2018 The Qt Company Ltd',
'GFDL', 'GFDL',
'https://doc.qt.io/qt-5/licensing.html' 'https://doc.qt.io/qt-5/licensing.html'
], [
'QUnit',
'OpenJS Foundation and other contributors',
'MIT',
'https://raw.githubusercontent.com/qunitjs/qunit/main/LICENSE.txt'
], [ ], [
'R', 'R',
'19992012 R Foundation for Statistical Computing', '19992012 R Foundation for Statistical Computing',

@ -4,6 +4,7 @@ module Docs
class Qunit class Qunit
class CleanHtmlFilter < Filter class CleanHtmlFilter < Filter
def call def call
@doc = at_css('.content[role="main"]')
css('.sidebar').remove css('.sidebar').remove
doc doc
end end

@ -27,6 +27,13 @@ module Docs
/^extension$/, /^extension$/,
] ]
options[:attribution] = 'Copyright OpenJS Foundation and contributors.' options[:attribution] = <<-HTML
&copy; OpenJS Foundation and contributors.<br>
Licensed under the MIT license.
HTML
def get_latest_version(opts)
get_npm_version('qunit', opts)
end
end end
end end

Loading…
Cancel
Save