| 123456789101112131415161718192021222324252627 |
- module Docs
- class Padrino < UrlScraper
- self.slug = 'padrino'
- self.type = 'rubydoc'
- self.release = '0.13.2'
- self.base_url = 'http://www.rubydoc.info/github/padrino/padrino-framework/'
- self.root_path = 'file/README.rdoc'
- self.initial_paths = %w(index2)
- self.links = {
- home: 'http://padrinorb.com/',
- code: 'https://github.com/padrino/padrino-framework'
- }
- html_filters.push 'padrino/clean_html', 'padrino/entries'
- options[:container] = ->(filter) { filter.root_page? ? '#filecontents' : '#content' }
- options[:attribution] = <<-HTML
- © 2010–2016 Padrino<br>
- Licensed under the MIT License.
- HTML
- stub 'index2' do
- request_one(url_for('index')).body
- end
- end
- end
|