History

Update Laravel documentation (5.3.15)

Fixes #491.

Thibaut Courouble committed 10 years ago

Commit 20d41b11 parent 6dc1be62 files · +5 −5Browse files

Unified · Split

2 files
  1. lib/docs/filters/laravel/clean_html.rb +4 −4
  2. lib/docs/scrapers/laravel.rb +1 −1
lib/docs/filters/laravel/clean_html.rb+4−4
@@ -8,16 +8,16 @@ module Docs · 7 unmodified lines
8 other8 other
9 end9 end
10 10
11 css('a.__cf_email__').each do |node|
12 node.replace(decode_cloudflare_email(node['data-cfemail']))
13 end
14
11 # Remove code highlighting15 # Remove code highlighting
12 css('pre').each do |node|16 css('pre').each do |node|
13 node.content = node.content17 node.content = node.content
14 node['data-language'] = 'php'18 node['data-language'] = 'php'
15 end19 end
16 20
17 css('a.__cf_email__').each do |node|
18 node.replace(decode_cloudflare_email(node['data-cfemail']))
19 end
20
21 doc21 doc
22 end22 end
23 23
lib/docs/scrapers/laravel.rb+1−1
@@ -34,7 +34,7 @@ module Docs · 33 unmodified lines
34 HTML34 HTML
35 35
36 version '5.3' do36 version '5.3' do
37 self.release = '5.3.0'37 self.release = '5.3.15'
38 self.root_path = '/api/5.3/index.html'38 self.root_path = '/api/5.3/index.html'
39 self.initial_paths = %w(/docs/5.3/installation /api/5.3/classes.html)39 self.initial_paths = %w(/docs/5.3/installation /api/5.3/classes.html)
40 40