Merge pull request #2199 from mcagriardic/add/pandas2.2.2
Some checks are pending
Deploy / Deploy to Heroku (push) Waiting to run

Add pandas 2.2.2 documentation
This commit is contained in:
Simon Legner 2024-07-17 06:45:14 +02:00 committed by GitHub
commit ba8472a553
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 27 additions and 1 deletions

View file

@ -183,10 +183,13 @@ mv ./usr/share/doc/openjdk-16-jre-headless/api/ docs/openjdk~$VERSION
## Pandas ## Pandas
From the home directory; `devdocs`, execute below:
```sh ```sh
curl https://pandas.pydata.org/docs/pandas.zip | bsdtar --extract --file - --directory=docs/pandas~1 curl https://pandas.pydata.org/docs/pandas.zip -o tmp.zip && unzip tmp.zip -d docs/pandas~2 && rm tmp.zip
``` ```
## PHP ## PHP
Click the link under the "Many HTML files" column on https://www.php.net/download-docs.php, extract the tarball, change its name to `php` and put it in `docs/`. Click the link under the "Many HTML files" column on https://www.php.net/download-docs.php, extract the tarball, change its name to `php` and put it in `docs/`.

View file

@ -16,6 +16,29 @@ module Docs
Licensed under the 3-clause BSD License. Licensed under the 3-clause BSD License.
HTML 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 version '1' do
self.release = '1.5.0' self.release = '1.5.0'
self.base_url = "https://pandas.pydata.org/pandas-docs/version/#{self.release}/" self.base_url = "https://pandas.pydata.org/pandas-docs/version/#{self.release}/"