History

Update Laravel documentation (5.6.0)

Thibaut Courouble committed 8 years ago

Commit 690951b1 parent fbdbc8d1 file · +13 −0Browse files

Unified · Split

lib/docs/scrapers/laravel.rb+13−0
@@ -29,6 +29,19 @@ module Docs · 28 unmodified lines
29 Laravel is a trademark of Taylor Otwell.29 Laravel is a trademark of Taylor Otwell.
30 HTML30 HTML
31 31
32 version '5.6' do
33 self.release = '5.6.0'
34 self.root_path = '/api/5.6/index.html'
35 self.initial_paths = %w(/docs/5.6/installation /api/5.6/classes.html)
36
37 options[:only_patterns] = [%r{\A/api/5\.6/}, %r{\A/docs/5\.6/}]
38
39 options[:fix_urls] = ->(url) do
40 url.sub! %r{#{Regexp.escape(Laravel.base_url)}/docs\/(?!\d)}, "#{Laravel.base_url}/docs/5.6/"
41 url
42 end
43 end
44
32 version '5.5' do45 version '5.5' do
33 self.release = '5.5.28'46 self.release = '5.5.28'
34 self.root_path = '/api/5.5/index.html'47 self.root_path = '/api/5.5/index.html'

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