File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ module Docs
44 class Qunit
55 class CleanHtmlFilter < Filter
66 def call
7- @doc = at_css ( '.content[role="main"]' )
7+ @doc = at_css ( '.content[role="main"] > article ' )
88 css ( '.sidebar' ) . remove
99 css ( 'pre' ) . each do |node |
1010 node [ 'data-language' ] = 'javascript'
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ module Docs
44 class Qunit < UrlScraper
55 self . name = 'QUnit'
66 self . type = 'qunit'
7- self . release = '2.19.3 '
8- self . base_url = 'https://api. qunitjs.com/'
7+ self . release = '2.21.0 '
8+ self . base_url = 'https://qunitjs.com/api /'
99 self . root_path = '/'
1010 self . links = {
1111 home : 'https://qunitjs.com/' ,
@@ -18,13 +18,14 @@ class Qunit < UrlScraper
1818
1919 options [ :container ] = '.main'
2020 options [ :skip_patterns ] = [
21- /deprecated/ ,
2221 /^QUnit$/ ,
2322 /^assert$/ ,
2423 /^callbacks$/ ,
2524 /^async$/ ,
2625 /^config$/ ,
2726 /^extension$/ ,
27+ /^deprecated$/ ,
28+ /^removed$/ ,
2829 ]
2930
3031 options [ :attribution ] = <<-HTML
You can’t perform that action at this time.
0 commit comments