History

Update Falcon documentation

Phil Scherer committed 5 years ago

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

Showing the changes to lib/docs (2 of 3 files). Show all

Unified · Split

2 files
  1. lib/docs/filters/falcon/entries.rb +2 −0
  2. lib/docs/scrapers/falcon.rb +7 −2
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}/"