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
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}/"