Update Laravel documentation (5.6.0)

pull/775/head
Thibaut Courouble 7 years ago
parent fbdbc8dd3d
commit 690951bd4f

@ -29,6 +29,19 @@ module Docs
Laravel is a trademark of Taylor Otwell. Laravel is a trademark of Taylor Otwell.
HTML 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 version '5.5' do
self.release = '5.5.28' self.release = '5.5.28'
self.root_path = '/api/5.5/index.html' self.root_path = '/api/5.5/index.html'

Loading…
Cancel
Save