rails.rb 2.3 KB

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