mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Update Laravel documentation (5.6.0)
This commit is contained in:
parent
fbdbc8dd3d
commit
690951bd4f
1 changed files with 13 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue