|
|
@@ -16,6 +16,29 @@ module Docs
|
|
|
Licensed under the 3-clause BSD License.
|
|
|
HTML
|
|
|
|
|
|
+ version '2' do
|
|
|
+ self.release = '2.2.2'
|
|
|
+ self.base_url = "https://pandas.pydata.org/pandas-docs/version/#{self.release}/"
|
|
|
+
|
|
|
+ html_filters.push 'pandas/clean_html', 'pandas/entries'
|
|
|
+
|
|
|
+ options[:container] = 'main section'
|
|
|
+
|
|
|
+ options[:skip_patterns] = [
|
|
|
+ /development/,
|
|
|
+ /getting_started/,
|
|
|
+ /whatsnew/
|
|
|
+ ]
|
|
|
+
|
|
|
+ options[:skip] = [
|
|
|
+ 'panel.html',
|
|
|
+ 'pandas.pdf',
|
|
|
+ 'pandas.zip',
|
|
|
+ 'ecosystem.html'
|
|
|
+ ]
|
|
|
+
|
|
|
+ end
|
|
|
+
|
|
|
version '1' do
|
|
|
self.release = '1.5.0'
|
|
|
self.base_url = "https://pandas.pydata.org/pandas-docs/version/#{self.release}/"
|