You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
devdocs/lib/docs/scrapers/rdoc/rails.rb

73 lines
2.3 KiB

module Docs
class Rails < Rdoc
self.name = 'Ruby on Rails'
self.slug = 'rails'
self.dir = '/Users/Thibaut/DevDocs/Docs/RDoc/Rails'
self.links = {
home: 'http://rubyonrails.org/',
code: 'https://github.com/rails/rails'
}
html_filters.replace 'rdoc/entries', 'rails/entries'
options[:root_title] = 'Ruby on Rails'
options[:skip] += %w(
AbstractController/Callbacks.html
AbstractController/UrlFor.html
ActionController/Instrumentation.html
ActionController/Rendering.html
ActionDispatch/DebugExceptions.html
ActionDispatch/Http/URL.html
ActionDispatch/Journey/Parser.html
ActionDispatch/Reloader.html
ActionDispatch/RequestId.html
ActionDispatch/Routing/HtmlTableFormatter.html
ActionDispatch/Routing/Mapper.html
ActionDispatch/Routing/RouteSet.html
ActionDispatch/ShowExceptions.html
ActionView/FileSystemResolver.html
ActionView/FixtureResolver.html
ActionView/LogSubscriber.html
ActionView/Template/Handlers/Erubis.html
ActionView/TestCase/Behavior/RenderedViewsCollection.html
ActiveRecord/DynamicMatchers/Finder.html
ActiveRecord/Sanitization.html
ActiveRecord/Tasks/DatabaseTasks.html
ActiveSupport/Configurable/Configuration.html
ActiveSupport/Dependencies/WatchStack.html
ActiveSupport/DescendantsTracker.html
ActiveSupport/FileUpdateChecker.html
ActiveSupport/Notifications/Fanout.html
ActiveSupport/Testing/Isolation/Subprocess.html
Rails/API/Task.html)
options[:skip_patterns] += [
/\AActionController\/Caching(?!\/Fragments|\.)/,
/\AActionController\/RequestForgeryProtection\/ProtectionMethods/,
/\AActionController\/Testing/,
/\AActionDispatch\/RemoteIp/,
/\AActionView\/LookupContext/,
/\AActionView\/Resolver/,
/\AActiveSupport\/Multibyte\/Unicode\//,
/\AActiveSupport\/XML/i,
/\ASourceAnnotationExtractor/,
/\AI18n\/Railtie/,
/\ARails\/AppBuilder/,
/\ARails\/PluginBuilder/]
options[:attribution] = <<-HTML
&copy; 2004&ndash;2016 David Heinemeier Hansson<br>
Licensed under the MIT License.
HTML
version '4.2' do
self.release = '4.2.6'
end
version '4.1' do
self.release = '4.1.15'
end
end
end