History

Update Falcon documentation

Phil Scherer committed 5 years ago

Commit b31b8f11 parent a23035d3 files · +10 −3Browse files

Unified · Split

3 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/filters/falcon/entries.rb +2 −0
  3. lib/docs/scrapers/falcon.rb +7 −2
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -293,7 +293,7 @@ credits = [ · 292 unmodified lines
293293 'https://raw.githubusercontent.com/expressjs/expressjs.com/gh-pages/LICENSE.md'
294294 ], [
295295 'Falcon',
296− '2012-2016 by Rackspace Hosting, Inc. and other contributors',
296+ '2019 by Falcon contributors',
297297 'Apache',
298298 'https://raw.githubusercontent.com/falconry/falcon/master/LICENSE'
299299 ], [
lib/docs/filters/falcon/entries.rb+2−0
@@ -13,6 +13,8 @@ module Docs · 12 unmodified lines
1313 'Guide'
1414 when 'api'
1515 'API'
16+ when 'deploy'
17+ 'Deploy'
1618 end
1719 end
1820
lib/docs/scrapers/falcon.rb+7−2
@@ -11,14 +11,19 @@ module Docs · 10 unmodified lines
1111
1212 options[:container] = '.body'
1313
14− options[:skip] = %w(user/index.html api/index.html)
14+ options[:skip] = %w(user/index.html api/index.html deploy/index.html)
1515 options[:skip_patterns] = [/\Achanges/, /\A_modules/, /\Acommunity/]
1616
1717 options[:attribution] = <<-HTML
18− &copy; 2012&ndash;2017 by Rackspace Hosting, Inc. and other contributors<br>
18+ &copy; 2019 by Falcon contributors<br>
1919 Licensed under the Apache License, Version 2.0.
2020 HTML
2121
22+ version '2.0' do
23+ self.release = '2.0.0'
24+ self.base_url = "https://falcon.readthedocs.io/en/#{self.release}/"
25+ end
26+
2227 version '1.4' do
2328 self.release = '1.4.1'
2429 self.base_url = "https://falcon.readthedocs.io/en/#{self.release}/"