[devdocsgjs/main: 1628/1867] Update Sinon.JS documentation (10.0.1)




commit f7ffc94653695f3c55344f6c9060969d6c1100a6
Author: Simon Legner <Simon Legner gmail com>
Date:   Thu Apr 29 23:53:27 2021 +0200

    Update Sinon.JS documentation (10.0.1)

 assets/javascripts/templates/pages/about_tmpl.coffee | 2 +-
 lib/docs/scrapers/sinon.rb                           | 7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee 
b/assets/javascripts/templates/pages/about_tmpl.coffee
index f9546d42..67eae883 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -763,7 +763,7 @@ credits = [
     'https://raw.githubusercontent.com/scikit-learn/scikit-learn/master/COPYING'
   ], [
     'Sinon',
-    '2010-2018 Christian Johansen',
+    '2010-2021 Christian Johansen',
     'BSD',
     'https://raw.githubusercontent.com/sinonjs/sinon/master/LICENSE'
   ], [
diff --git a/lib/docs/scrapers/sinon.rb b/lib/docs/scrapers/sinon.rb
index 1d06c582..055d62ab 100644
--- a/lib/docs/scrapers/sinon.rb
+++ b/lib/docs/scrapers/sinon.rb
@@ -14,7 +14,7 @@ module Docs
     options[:container] = '.content .container'
 
     options[:attribution] = <<-HTML
-      &copy; 2010&ndash;2020 Christian Johansen<br>
+      &copy; 2010&ndash;2021 Christian Johansen<br>
       Licensed under the BSD License.
     HTML
 
@@ -27,6 +27,11 @@ module Docs
       url
     end
 
+    version '10' do
+      self.release = '10.0.1'
+      self.base_url = "https://sinonjs.org/releases/v#{release}/";
+    end
+
     version '9' do
       self.release = '9.2.2'
       self.base_url = "https://sinonjs.org/releases/v#{release}/";


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]