|
|
|
@ -2,7 +2,7 @@ module Docs
|
|
|
|
|
class Pandas < UrlScraper
|
|
|
|
|
self.name = 'pandas'
|
|
|
|
|
self.type = 'sphinx'
|
|
|
|
|
self.root_path = 'api.html'
|
|
|
|
|
self.root_path = 'index.html'
|
|
|
|
|
self.links = {
|
|
|
|
|
home: 'http://pandas.pydata.org/',
|
|
|
|
|
code: 'https://github.com/pydata/pandas'
|
|
|
|
@ -13,12 +13,13 @@ module Docs
|
|
|
|
|
# Cannot take only the body, as the sidebar gives info about the type.
|
|
|
|
|
options[:container] = '.document'
|
|
|
|
|
|
|
|
|
|
# Using the above container, leads to tons of anchors. Only keep the generated/ pages.
|
|
|
|
|
options[:only_patterns] = [/\Agenerated\//]
|
|
|
|
|
options[:skip] = %w(internals.html release.html contributing.html whatsnew.html)
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
|
© 2008–2014, the pandas development team.<br>
|
|
|
|
|
Licensed under the BSD license.
|
|
|
|
|
© 2011–2012 Lambda Foundry, Inc. and PyData Development Team<br>
|
|
|
|
|
© 2008–2011 AQR Capital Management, LLC<br>
|
|
|
|
|
© 2008–2014 the pandas development team<br>
|
|
|
|
|
Licensed under the 3-clause BSD License.
|
|
|
|
|
HTML
|
|
|
|
|
|
|
|
|
|
version '0.18' do
|
|
|
|
|