Update PHPUnit documentation (5.4, 4.8)

pull/447/merge
Thibaut Courouble 9 years ago
parent 6a1d6c9c98
commit 38503c054f

@ -1,6 +0,0 @@
#= require views/pages/base
class app.views.PhpunitPage extends app.views.BasePage
prepare: ->
@highlightCode @findAll('pre.programlisting'), 'php'
return

@ -32,6 +32,7 @@ app.views.PerlPage =
app.views.PhalconPage = app.views.PhalconPage =
app.views.PhaserPage = app.views.PhaserPage =
app.views.PhpPage = app.views.PhpPage =
app.views.PhpunitPage =
app.views.PostgresPage = app.views.PostgresPage =
app.views.RamdaPage = app.views.RamdaPage =
app.views.ReactPage = app.views.ReactPage =

@ -53,6 +53,10 @@ module Docs
node.content = node.content node.content = node.content
end end
css('pre.programlisting').each do |node|
node['data-language'] = 'php'
end
doc doc
end end
end end

@ -24,7 +24,7 @@ module Docs
HTML HTML
version '5' do version '5' do
self.release = '5.2' self.release = '5.4'
self.base_url = "https://phpunit.de/manual/#{release}/en/" self.base_url = "https://phpunit.de/manual/#{release}/en/"
end end

Loading…
Cancel
Save