Update Laravel documentation (5.6.0)

This commit is contained in:
Thibaut Courouble 2018-02-25 10:41:11 -05:00
parent fbdbc8dd3d
commit 690951bd4f

View file

@ -29,6 +29,19 @@ module Docs
Laravel is a trademark of Taylor Otwell.
HTML
version '5.6' do
self.release = '5.6.0'
self.root_path = '/api/5.6/index.html'
self.initial_paths = %w(/docs/5.6/installation /api/5.6/classes.html)
options[:only_patterns] = [%r{\A/api/5\.6/}, %r{\A/docs/5\.6/}]
options[:fix_urls] = ->(url) do
url.sub! %r{#{Regexp.escape(Laravel.base_url)}/docs\/(?!\d)}, "#{Laravel.base_url}/docs/5.6/"
url
end
end
version '5.5' do
self.release = '5.5.28'
self.root_path = '/api/5.5/index.html'