History

Update Babel documentation (7.14.8)

Simon Legner committed 5 years ago

Commit b5cfc8c1 parent 35a23f13 files · +12 −4Browse files

Showing the changes to lib/docs (2 of 3 files). Show all

Unified · Split

2 files
  1. lib/docs/filters/babel/clean_html.rb +8 −0
  2. lib/docs/scrapers/babel.rb +2 −2
lib/docs/filters/babel/clean_html.rb+8−0
@@ -15,6 +15,14 @@ module Docs · 14 unmodified lines
15 15
16 css('.docs-prevnext').remove16 css('.docs-prevnext').remove
17 17
18 css('pre > code.hljs').each do |node|
19 node.parent['data-language'] = node['class'][/language-(\w+)/, 1]
20 end
21
22 css('pre').each do |node|
23 node.content = node.content
24 end
25
18 doc26 doc
19 27
20 end28 end
lib/docs/scrapers/babel.rb+2−2
@@ -25,12 +25,12 @@ module Docs · 24 unmodified lines
25 ]25 ]
26 26
27 options[:attribution] = <<-HTML27 options[:attribution] = <<-HTML
28 &copy; 2020 Sebastian McKenzie<br>28 &copy; 2014-present Sebastian McKenzie<br>
29 Licensed under the MIT License.29 Licensed under the MIT License.
30 HTML30 HTML
31 31
32 version '7' do32 version '7' do
33 self.release = '7.12.6'33 self.release = '7.14.8'
34 end34 end
35 35
36 version '6' do36 version '6' do

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