[devdocsgjs/main: 959/1867] Skip erroneous scraper results




commit 2fe6705fa450e220df550ba896b6c1cd98de5d00
Author: TheWillGabriel <will gabriel gmail com>
Date:   Sun Oct 13 10:10:05 2019 -0600

    Skip erroneous scraper results

 lib/docs/scrapers/rdoc/rails.rb | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/lib/docs/scrapers/rdoc/rails.rb b/lib/docs/scrapers/rdoc/rails.rb
index a34da598..aed22acb 100644
--- a/lib/docs/scrapers/rdoc/rails.rb
+++ b/lib/docs/scrapers/rdoc/rails.rb
@@ -45,6 +45,15 @@ module Docs
       ActiveSupport/Dependencies/WatchStack.html
       ActiveSupport/Notifications/Fanout.html)
 
+    # False positives found by docs:generate
+    options[:skip].concat %w(
+      ActionDispatch/www.example.com
+      ActionDispatch/Http/www.rubyonrails.org
+      ActionDispatch/Http/www.rubyonrails.co.uk
+      'TZ'
+      active_record_migrations.html
+      association_basics.html)
+
     options[:skip_patterns] += [
       /release_notes/,
       /\AActionController\/Testing/,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]