Add pandas 2.2.2 documentation
Unified · Split
| @@ -183,10 +183,13 @@ mv ./usr/share/doc/openjdk-16-jre-headless/api/ docs/openjdk~$VERSION · 182 unmodified lines | |||
| 183 | 183 | ||
| 184 | ## Pandas | 184 | ## Pandas |
| 185 | 185 | ||
| 186 | From the home directory; `devdocs`, execute below: | ||
| 187 | |||
| 186 | ```sh | 188 | ```sh |
| 187 | curl https://pandas.pydata.org/docs/pandas.zip | bsdtar --extract --file - --directory=docs/pandas~1 | 189 | curl https://pandas.pydata.org/docs/pandas.zip -o tmp.zip && unzip tmp.zip -d docs/pandas~2 && rm tmp.zip |
| 188 | ``` | 190 | ``` |
| 189 | 191 | ||
| 192 | |||
| 190 | ## PHP | 193 | ## PHP |
| 191 | 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/`. | 194 | 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/`. |
| 192 | 195 | ||
| @@ -16,6 +16,29 @@ module Docs · 15 unmodified lines | |||
| 16 | Licensed under the 3-clause BSD License. | 16 | Licensed under the 3-clause BSD License. |
| 17 | HTML | 17 | HTML |
| 18 | 18 | ||
| 19 | version '2' do | ||
| 20 | self.release = '2.2.2' | ||
| 21 | self.base_url = "https://pandas.pydata.org/pandas-docs/version/#{self.release}/" | ||
| 22 | |||
| 23 | html_filters.push 'pandas/clean_html', 'pandas/entries' | ||
| 24 | |||
| 25 | options[:container] = 'main section' | ||
| 26 | |||
| 27 | options[:skip_patterns] = [ | ||
| 28 | /development/, | ||
| 29 | /getting_started/, | ||
| 30 | /whatsnew/ | ||
| 31 | ] | ||
| 32 | |||
| 33 | options[:skip] = [ | ||
| 34 | 'panel.html', | ||
| 35 | 'pandas.pdf', | ||
| 36 | 'pandas.zip', | ||
| 37 | 'ecosystem.html' | ||
| 38 | ] | ||
| 39 | |||
| 40 | end | ||
| 41 | |||
| 19 | version '1' do | 42 | version '1' do |
| 20 | self.release = '1.5.0' | 43 | self.release = '1.5.0' |
| 21 | self.base_url = "https://pandas.pydata.org/pandas-docs/version/#{self.release}/" | 44 | self.base_url = "https://pandas.pydata.org/pandas-docs/version/#{self.release}/" |