rails.rb 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. module Docs
  2. class Rails < Rdoc
  3. # Generated with:
  4. # find \
  5. # actionmailer \
  6. # actionpack \
  7. # actionview \
  8. # activemodel \
  9. # activejob \
  10. # activerecord \
  11. # activesupport \
  12. # railties \
  13. # -name '*.rb' \
  14. # -not -name 'version.rb' \
  15. # -not -wholename '*generators/*' \
  16. # -not -wholename '*test/*' \
  17. # -not -wholename '*examples/*' \
  18. # | xargs \
  19. # rdoc --format=darkfish --no-line-numbers --op=rdoc --visibility=public
  20. self.name = 'Ruby on Rails'
  21. self.slug = 'rails'
  22. self.version = '4.2.0'
  23. self.dir = '/Users/Thibaut/DevDocs/Docs/RDoc/Rails'
  24. html_filters.replace 'rdoc/entries', 'rails/entries'
  25. options[:root_title] = 'Ruby on Rails'
  26. options[:skip] += %w(
  27. AbstractController/Callbacks.html
  28. AbstractController/UrlFor.html
  29. ActionController/Instrumentation.html
  30. ActionController/Rendering.html
  31. ActionDispatch/DebugExceptions.html
  32. ActionDispatch/Http/URL.html
  33. ActionDispatch/Journey/Parser.html
  34. ActionDispatch/Reloader.html
  35. ActionDispatch/RequestId.html
  36. ActionDispatch/Routing/HtmlTableFormatter.html
  37. ActionDispatch/Routing/Mapper.html
  38. ActionDispatch/Routing/RouteSet.html
  39. ActionDispatch/ShowExceptions.html
  40. ActionView/FileSystemResolver.html
  41. ActionView/FixtureResolver.html
  42. ActionView/LogSubscriber.html
  43. ActionView/Template/Handlers/Erubis.html
  44. ActionView/TestCase/Behavior/RenderedViewsCollection.html
  45. ActiveRecord/DynamicMatchers/Finder.html
  46. ActiveRecord/Sanitization.html
  47. ActiveRecord/Tasks/DatabaseTasks.html
  48. ActiveSupport/Configurable/Configuration.html
  49. ActiveSupport/Dependencies/WatchStack.html
  50. ActiveSupport/DescendantsTracker.html
  51. ActiveSupport/FileUpdateChecker.html
  52. ActiveSupport/Notifications/Fanout.html
  53. ActiveSupport/Testing/Isolation/Subprocess.html
  54. Rails/API/Task.html)
  55. options[:skip_patterns] += [
  56. /\AActionController\/Caching(?!\/Fragments|\.)/,
  57. /\AActionController\/RequestForgeryProtection\/ProtectionMethods/,
  58. /\AActionController\/Testing/,
  59. /\AActionDispatch\/RemoteIp/,
  60. /\AActionView\/LookupContext/,
  61. /\AActionView\/Resolver/,
  62. /\AActiveSupport\/Multibyte\/Unicode\//,
  63. /\AActiveSupport\/XML/i,
  64. /\ASourceAnnotationExtractor/]
  65. options[:attribution] = <<-HTML
  66. &copy; 2004&ndash;2014 David Heinemeier Hansson<br>
  67. Licensed under the MIT License.
  68. HTML
  69. end
  70. end