Browse Source

Update QUnit documentation (2.21.0)

Timo Tijhof 1 year ago
parent
commit
a2f8678648
1 changed files with 4 additions and 3 deletions
  1. 4 3
      lib/docs/scrapers/qunit.rb

+ 4 - 3
lib/docs/scrapers/qunit.rb

@@ -4,8 +4,8 @@ module Docs
   class Qunit < UrlScraper
   class Qunit < UrlScraper
     self.name = 'QUnit'
     self.name = 'QUnit'
     self.type = 'qunit'
     self.type = 'qunit'
-    self.release = '2.19.3'
-    self.base_url = 'https://api.qunitjs.com/'
+    self.release = '2.21.0'
+    self.base_url = 'https://qunitjs.com/api/'
     self.root_path = '/'
     self.root_path = '/'
     self.links = {
     self.links = {
       home: 'https://qunitjs.com/',
       home: 'https://qunitjs.com/',
@@ -18,13 +18,14 @@ module Docs
 
 
     options[:container] = '.main'
     options[:container] = '.main'
     options[:skip_patterns] = [
     options[:skip_patterns] = [
-      /deprecated/,
       /^QUnit$/,
       /^QUnit$/,
       /^assert$/,
       /^assert$/,
       /^callbacks$/,
       /^callbacks$/,
       /^async$/,
       /^async$/,
       /^config$/,
       /^config$/,
       /^extension$/,
       /^extension$/,
+      /^deprecated$/,
+      /^removed$/,
     ]
     ]
 
 
     options[:attribution] = <<-HTML
     options[:attribution] = <<-HTML