Update CodeIgniter documentation (3.1.0)

pull/447/merge
Thibaut Courouble 9 years ago
parent c95cf9ac77
commit f57cc8e657

@ -114,6 +114,7 @@
migrateDocs: -> migrateDocs: ->
for slug in @settings.getDocs() when not @docs.findBy('slug', slug) for slug in @settings.getDocs() when not @docs.findBy('slug', slug)
needsSaving = true needsSaving = true
doc = @disabledDocs.findBy('slug', 'codeigniter~3') if slug == 'codeigniter~3.0'
doc = @disabledDocs.findBy('slug', 'node~4_lts') if slug == 'node~4.2_lts' doc = @disabledDocs.findBy('slug', 'node~4_lts') if slug == 'node~4.2_lts'
doc = @disabledDocs.findBy('slug', 'xslt_xpath') if slug == 'xpath' doc = @disabledDocs.findBy('slug', 'xslt_xpath') if slug == 'xpath'
doc = @disabledDocs.findBy('slug', "angularjs~#{match[1]}") if match = /^angular~(1\.\d)$/.exec(slug) doc = @disabledDocs.findBy('slug', "angularjs~#{match[1]}") if match = /^angular~(1\.\d)$/.exec(slug)

@ -284,7 +284,8 @@ class App < Sinatra::Application
'angular~1.5' => 'angularjs~1.5', 'angular~1.5' => 'angularjs~1.5',
'angular~1.4' => 'angularjs~1.4', 'angular~1.4' => 'angularjs~1.4',
'angular~1.3' => 'angularjs~1.3', 'angular~1.3' => 'angularjs~1.3',
'angular~1.2' => 'angularjs~1.2' 'angular~1.2' => 'angularjs~1.2',
'codeigniter~3.0' => 'codeigniter~3'
} }
get %r{\A/([\w~\.%]+)(\-[\w\-]+)?(/.*)?\z} do |doc, type, rest| get %r{\A/([\w~\.%]+)(\-[\w\-]+)?(/.*)?\z} do |doc, type, rest|

@ -35,8 +35,8 @@ module Docs
Licensed under the MIT License. Licensed under the MIT License.
HTML HTML
version '3.0' do version '3' do
self.release = '3.0.6' self.release = '3.1.0'
end end
end end
end end

Loading…
Cancel
Save