History

Skip erroneous scraper results

TheWillGabriel committed 7 years ago

Commit 2fe67051 parent 0476dd01 file · +9 −0Browse files

Unified · Split

lib/docs/scrapers/rdoc/rails.rb+9−0
@@ -45,6 +45,15 @@ module Docs · 44 unmodified lines
45 ActiveSupport/Dependencies/WatchStack.html45 ActiveSupport/Dependencies/WatchStack.html
46 ActiveSupport/Notifications/Fanout.html)46 ActiveSupport/Notifications/Fanout.html)
47 47
48 # False positives found by docs:generate
49 options[:skip].concat %w(
50 ActionDispatch/www.example.com
51 ActionDispatch/Http/www.rubyonrails.org
52 ActionDispatch/Http/www.rubyonrails.co.uk
53 'TZ'
54 active_record_migrations.html
55 association_basics.html)
56
48 options[:skip_patterns] += [57 options[:skip_patterns] += [
49 /release_notes/,58 /release_notes/,
50 /\AActionController\/Testing/,59 /\AActionController\/Testing/,