[devdocsgjs/main: 1196/1867] Update Falcon documentation




commit b31b8f1e91fee0f58d4dc52ceb4857aeb41b6c4e
Author: Phil Scherer <pnscher evoforge org>
Date:   Tue Nov 17 21:09:28 2020 +0000

    Update Falcon documentation

 assets/javascripts/templates/pages/about_tmpl.coffee | 2 +-
 lib/docs/filters/falcon/entries.rb                   | 2 ++
 lib/docs/scrapers/falcon.rb                          | 9 +++++++--
 3 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee 
b/assets/javascripts/templates/pages/about_tmpl.coffee
index 000ae40e..686c27f9 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -293,7 +293,7 @@ credits = [
     'https://raw.githubusercontent.com/expressjs/expressjs.com/gh-pages/LICENSE.md'
   ], [
     'Falcon',
-    '2012-2016 by Rackspace Hosting, Inc. and other contributors',
+    '2019 by Falcon contributors',
     'Apache',
     'https://raw.githubusercontent.com/falconry/falcon/master/LICENSE'
   ], [
diff --git a/lib/docs/filters/falcon/entries.rb b/lib/docs/filters/falcon/entries.rb
index a4c2f85f..e9aeac8c 100644
--- a/lib/docs/filters/falcon/entries.rb
+++ b/lib/docs/filters/falcon/entries.rb
@@ -13,6 +13,8 @@ module Docs
           'Guide'
         when 'api'
           'API'
+        when 'deploy'
+          'Deploy'
         end
       end
 
diff --git a/lib/docs/scrapers/falcon.rb b/lib/docs/scrapers/falcon.rb
index 8ba69150..51f8f6fc 100644
--- a/lib/docs/scrapers/falcon.rb
+++ b/lib/docs/scrapers/falcon.rb
@@ -11,14 +11,19 @@ module Docs
 
     options[:container] = '.body'
 
-    options[:skip] = %w(user/index.html api/index.html)
+    options[:skip] = %w(user/index.html api/index.html deploy/index.html)
     options[:skip_patterns] = [/\Achanges/, /\A_modules/, /\Acommunity/]
 
     options[:attribution] = <<-HTML
-      &copy; 2012&ndash;2017 by Rackspace Hosting, Inc. and other contributors<br>
+      &copy; 2019 by Falcon contributors<br>
       Licensed under the Apache License, Version 2.0.
     HTML
 
+    version '2.0' do
+      self.release = '2.0.0'
+      self.base_url = "https://falcon.readthedocs.io/en/#{self.release}/";
+    end
+
     version '1.4' do
       self.release = '1.4.1'
       self.base_url = "https://falcon.readthedocs.io/en/#{self.release}/";


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