1
0

rails.rb 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. module Docs
  2. class Rails < Rdoc
  3. include FixInternalUrlsBehavior
  4. self.name = 'Ruby on Rails'
  5. self.slug = 'rails'
  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. ActionController/Instrumentation.html
  15. ActionController/Rendering.html
  16. ActionDispatch/DebugExceptions.html
  17. ActionDispatch/Journey/Parser.html
  18. ActionDispatch/Reloader.html
  19. ActionDispatch/Routing/HtmlTableFormatter.html
  20. ActionDispatch/ShowExceptions.html
  21. ActionView/FixtureResolver.html
  22. ActionView/LogSubscriber.html
  23. ActionView/TestCase/Behavior/RenderedViewsCollection.html
  24. ActiveRecord/Tasks/DatabaseTasks.html
  25. ActiveSupport/Dependencies/WatchStack.html
  26. ActiveSupport/Notifications/Fanout.html)
  27. options[:skip_patterns] += [
  28. /\AActionController\/Testing/,
  29. /\AActionView\/LookupContext/,
  30. /\AActionView\/Resolver/,
  31. /\AActiveSupport\/Multibyte\/Unicode\//,
  32. /\AActiveSupport\/XML/i,
  33. /\ASourceAnnotationExtractor/,
  34. /\AI18n\/Railtie/,
  35. /\AMinitest/,
  36. /\ARails\/API/,
  37. /\ARails\/AppBuilder/,
  38. /\ARails\/PluginBuilder/,
  39. /\ARails\/Generators\/Testing/]
  40. options[:attribution] = <<-HTML
  41. &copy; 2004&ndash;2016 David Heinemeier Hansson<br>
  42. Licensed under the MIT License.
  43. HTML
  44. version '5.0' do
  45. self.release = '5.0.1'
  46. end
  47. version '4.2' do
  48. self.release = '4.2.7'
  49. end
  50. version '4.1' do
  51. self.release = '4.1.16'
  52. end
  53. end
  54. end