1
0

rails.rb 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. module Docs
  2. class Rails < Rdoc
  3. self.name = 'Ruby on Rails'
  4. self.slug = 'rails'
  5. self.release = '4.2.3'
  6. self.dir = '/Users/Thibaut/DevDocs/Docs/RDoc/Rails'
  7. self.links = {
  8. home: 'http://rubyonrails.org/',
  9. code: 'https://github.com/rails/rails'
  10. }
  11. html_filters.replace 'rdoc/entries', 'rails/entries'
  12. options[:root_title] = 'Ruby on Rails'
  13. options[:skip] += %w(
  14. AbstractController/Callbacks.html
  15. AbstractController/UrlFor.html
  16. ActionController/Instrumentation.html
  17. ActionController/Rendering.html
  18. ActionDispatch/DebugExceptions.html
  19. ActionDispatch/Http/URL.html
  20. ActionDispatch/Journey/Parser.html
  21. ActionDispatch/Reloader.html
  22. ActionDispatch/RequestId.html
  23. ActionDispatch/Routing/HtmlTableFormatter.html
  24. ActionDispatch/Routing/Mapper.html
  25. ActionDispatch/Routing/RouteSet.html
  26. ActionDispatch/ShowExceptions.html
  27. ActionView/FileSystemResolver.html
  28. ActionView/FixtureResolver.html
  29. ActionView/LogSubscriber.html
  30. ActionView/Template/Handlers/Erubis.html
  31. ActionView/TestCase/Behavior/RenderedViewsCollection.html
  32. ActiveRecord/DynamicMatchers/Finder.html
  33. ActiveRecord/Sanitization.html
  34. ActiveRecord/Tasks/DatabaseTasks.html
  35. ActiveSupport/Configurable/Configuration.html
  36. ActiveSupport/Dependencies/WatchStack.html
  37. ActiveSupport/DescendantsTracker.html
  38. ActiveSupport/FileUpdateChecker.html
  39. ActiveSupport/Notifications/Fanout.html
  40. ActiveSupport/Testing/Isolation/Subprocess.html
  41. Rails/API/Task.html)
  42. options[:skip_patterns] += [
  43. /\AActionController\/Caching(?!\/Fragments|\.)/,
  44. /\AActionController\/RequestForgeryProtection\/ProtectionMethods/,
  45. /\AActionController\/Testing/,
  46. /\AActionDispatch\/RemoteIp/,
  47. /\AActionView\/LookupContext/,
  48. /\AActionView\/Resolver/,
  49. /\AActiveSupport\/Multibyte\/Unicode\//,
  50. /\AActiveSupport\/XML/i,
  51. /\ASourceAnnotationExtractor/,
  52. /\AI18n\/Railtie/,
  53. /\ARails\/AppBuilder/,
  54. /\ARails\/PluginBuilder/]
  55. options[:attribution] = <<-HTML
  56. &copy; 2004&ndash;2015 David Heinemeier Hansson<br>
  57. Licensed under the MIT License.
  58. HTML
  59. end
  60. end