Add Laravel 5.7

pull/885/merge
Shannon Warren 6 years ago committed by Thibaut Courouble
parent 7b7aa34b70
commit 2ad46626de

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

Loading…
Cancel
Save