Merge pull request #1333 from scherepn/falcon-update

Update Falcon documentation
pull/1338/head
Simon Legner 4 years ago committed by GitHub
commit 13038cb40e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -293,7 +293,7 @@ credits = [
'https://raw.githubusercontent.com/expressjs/expressjs.com/gh-pages/LICENSE.md' 'https://raw.githubusercontent.com/expressjs/expressjs.com/gh-pages/LICENSE.md'
], [ ], [
'Falcon', 'Falcon',
'2012-2016 by Rackspace Hosting, Inc. and other contributors', '2019 by Falcon contributors',
'Apache', 'Apache',
'https://raw.githubusercontent.com/falconry/falcon/master/LICENSE' 'https://raw.githubusercontent.com/falconry/falcon/master/LICENSE'
], [ ], [

@ -13,6 +13,8 @@ module Docs
'Guide' 'Guide'
when 'api' when 'api'
'API' 'API'
when 'deploy'
'Deploy'
end end
end end

@ -11,14 +11,19 @@ module Docs
options[:container] = '.body' 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[:skip_patterns] = [/\Achanges/, /\A_modules/, /\Acommunity/]
options[:attribution] = <<-HTML 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. Licensed under the Apache License, Version 2.0.
HTML 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 version '1.4' do
self.release = '1.4.1' self.release = '1.4.1'
self.base_url = "https://falcon.readthedocs.io/en/#{self.release}/" self.base_url = "https://falcon.readthedocs.io/en/#{self.release}/"

Loading…
Cancel
Save