History

Update pandas documentation (1.2.0)

Simon Legner committed 5 years ago

Commit fb113d31 parent 068447a2 files · +6 −1Browse files

Unified · Split

2 files
  1. lib/docs/filters/pandas/clean_html.rb +5 −0
  2. lib/docs/scrapers/pandas.rb +1 −1
lib/docs/filters/pandas/clean_html.rb+5−0
@@ -18,6 +18,11 @@ module Docs · 17 unmodified lines
18 node.content = node.content.gsub(/::/, ' : ')18 node.content = node.content.gsub(/::/, ' : ')
19 end19 end
20 20
21 css('.highlight pre').each do |node|
22 node.content = node.content
23 node['data-language'] = 'python'
24 end
25
21 # sidebar26 # sidebar
22 css('ul.nav.bd-sidenav').remove27 css('ul.nav.bd-sidenav').remove
23 28
lib/docs/scrapers/pandas.rb+1−1
@@ -19,7 +19,7 @@ module Docs · 18 unmodified lines
19 HTML19 HTML
20 20
21 version '1' do21 version '1' do
22 self.release = '1.1.4'22 self.release = '1.2.0'
23 self.base_url = "https://pandas.pydata.org/pandas-docs/version/#{self.release}/"23 self.base_url = "https://pandas.pydata.org/pandas-docs/version/#{self.release}/"
24 24
25 html_filters.push 'pandas/clean_html', 'pandas/entries'25 html_filters.push 'pandas/clean_html', 'pandas/entries'

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t