Explorar o código

Skip erroneous scraper results

TheWillGabriel %!s(int64=6) %!d(string=hai) anos
pai
achega
2fe6705fa4
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  1. 9 0
      lib/docs/scrapers/rdoc/rails.rb

+ 9 - 0
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/,