Przeglądaj źródła

Update pandas documentation (1.4.0)

Simon Legner 3 lat temu
rodzic
commit
c1aae9a3a2

+ 1 - 1
assets/javascripts/templates/pages/about_tmpl.coffee

@@ -629,7 +629,7 @@ credits = [
     'https://raw.githubusercontent.com/padrino/padrino-framework/master/padrino/LICENSE.txt'
   ], [
     'pandas',
-    '2008-2021, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team',
+    '2008-2022, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team',
     'BSD',
     'https://raw.githubusercontent.com/pydata/pandas/master/LICENSE'
   ], [

+ 2 - 5
docs/file-scrapers.md

@@ -175,10 +175,7 @@ mv ./usr/share/doc/openjdk-16-jre-headless/api/ path/to/devdocs/docs/openjdk~$VE
 ## Pandas
 
 ```sh
-mkdir docs/pandas~1
-cd docs/pandas~1
-curl https://pandas.pydata.org/docs/pandas.zip
-bsdtar xf pandas.zip
+curl https://pandas.pydata.org/docs/pandas.zip | bsdtar --extract --file - --directory=docs/pandas~1
 ```
 
 ## PHP
@@ -266,5 +263,5 @@ Download the docs from https://sqlite.org/download.html, unzip it, and rename
 it to `/path/to/devdocs/docs/sqlite`
 
 ```sh
-curl https://sqlite.org/2021/sqlite-doc-3370000.zip | bsdtar --extract --file - --directory=docs/sqlite/```
+curl https://sqlite.org/2021/sqlite-doc-3370000.zip | bsdtar --extract --file - --directory=docs/sqlite/
 ```

+ 2 - 2
lib/docs/scrapers/pandas.rb

@@ -12,12 +12,12 @@ module Docs
     options[:skip_patterns] = [/whatsnew\//]
 
     options[:attribution] = <<-HTML
-      &copy; 2008&ndash;2021, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team<br>
+      &copy; 2008&ndash;2022, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team<br>
       Licensed under the 3-clause BSD License.
     HTML
 
     version '1' do
-      self.release = '1.3.4'
+      self.release = '1.4.0'
       self.base_url = "https://pandas.pydata.org/pandas-docs/version/#{self.release}/"
 
       html_filters.push 'pandas/clean_html', 'pandas/entries'