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
293 'https://raw.githubusercontent.com/expressjs/expressjs.com/gh-pages/LICENSE.md'293 'https://raw.githubusercontent.com/expressjs/expressjs.com/gh-pages/LICENSE.md'
294 ], [294 ], [
295 'Falcon',295 'Falcon',
296 '2012-2016 by Rackspace Hosting, Inc. and other contributors',296 '2019 by Falcon contributors',
297 'Apache',297 'Apache',
298 'https://raw.githubusercontent.com/falconry/falcon/master/LICENSE'298 'https://raw.githubusercontent.com/falconry/falcon/master/LICENSE'
299 ], [299 ], [
lib/docs/filters/falcon/entries.rb+2−0
@@ -13,6 +13,8 @@ module Docs · 12 unmodified lines
13 'Guide'13 'Guide'
14 when 'api'14 when 'api'
15 'API'15 'API'
16 when 'deploy'
17 'Deploy'
16 end18 end
17 end19 end
18 20
lib/docs/scrapers/falcon.rb+7−2
@@ -11,14 +11,19 @@ module Docs · 10 unmodified lines
11 11
12 options[:container] = '.body'12 options[:container] = '.body'
13 13
14 options[:skip] = %w(user/index.html api/index.html)14 options[:skip] = %w(user/index.html api/index.html deploy/index.html)
15 options[:skip_patterns] = [/\Achanges/, /\A_modules/, /\Acommunity/]15 options[:skip_patterns] = [/\Achanges/, /\A_modules/, /\Acommunity/]
16 16
17 options[:attribution] = <<-HTML17 options[:attribution] = <<-HTML
18 &copy; 2012&ndash;2017 by Rackspace Hosting, Inc. and other contributors<br>18 &copy; 2019 by Falcon contributors<br>
19 Licensed under the Apache License, Version 2.0.19 Licensed under the Apache License, Version 2.0.
20 HTML20 HTML
21 21
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
22 version '1.4' do27 version '1.4' do
23 self.release = '1.4.1'28 self.release = '1.4.1'
24 self.base_url = "https://falcon.readthedocs.io/en/#{self.release}/"29 self.base_url = "https://falcon.readthedocs.io/en/#{self.release}/"