Add Laravel 5.5 documentation

pull/666/head
Miguel Piedrafita 8 years ago committed by GitHub
parent 4b1eecd699
commit fc68d3c367

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

Loading…
Cancel
Save