module Docs
class Statsmodels < UrlScraper
self.type = 'sphinx'
self.release = '0.9.0'
self.base_url = 'http://www.statsmodels.org/stable/'
self.root_path = 'index.html'
self.links = {
home: 'http://www.statsmodels.org/',
code: 'https://github.com/statsmodels/statsmodels/'
}
html_filters.push 'statsmodels/entries', 'statsmodels/clean_html', 'sphinx/clean_html'
options[:skip] = %w(about.html search.html genindex.html)
options[:skip_patterns] = [/\Arelease/, /\Adev/, /\A_modules/, /\Adatasets/]
options[:attribution] = <<-HTML
© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
HTML
end
end