Add Laravel 5.5 docs

pull/669/head
Nathanael Esayeas 8 years ago
parent 437eb8dd54
commit 3d65a55b7e
No known key found for this signature in database
GPG Key ID: 75C124ACBBE6CF49

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

Loading…
Cancel
Save