Unified · Split
| @@ -1,6 +0,0 @@ | |||
| 1 | #= require views/pages/base | ||
| 2 | |||
| 3 | class app.views.PhpunitPage extends app.views.BasePage | ||
| 4 | prepare: -> | ||
| 5 | @highlightCode @findAll('pre.programlisting'), 'php' | ||
| 6 | return | ||
| @@ -32,6 +32,7 @@ app.views.PerlPage = · 31 unmodified lines | |||
| 32 | app.views.PhalconPage = | 32 | app.views.PhalconPage = |
| 33 | app.views.PhaserPage = | 33 | app.views.PhaserPage = |
| 34 | app.views.PhpPage = | 34 | app.views.PhpPage = |
| 35 | app.views.PhpunitPage = | ||
| 35 | app.views.PostgresPage = | 36 | app.views.PostgresPage = |
| 36 | app.views.RamdaPage = | 37 | app.views.RamdaPage = |
| 37 | app.views.ReactPage = | 38 | app.views.ReactPage = |
| @@ -53,6 +53,10 @@ module Docs · 52 unmodified lines | |||
| 53 | node.content = node.content | 53 | node.content = node.content |
| 54 | end | 54 | end |
| 55 | 55 | ||
| 56 | css('pre.programlisting').each do |node| | ||
| 57 | node['data-language'] = 'php' | ||
| 58 | end | ||
| 59 | |||
| 56 | doc | 60 | doc |
| 57 | end | 61 | end |
| 58 | end | 62 | end |
| @@ -24,7 +24,7 @@ module Docs · 23 unmodified lines | |||
| 24 | HTML | 24 | HTML |
| 25 | 25 | ||
| 26 | version '5' do | 26 | version '5' do |
| 27 | self.release = '5.2' | 27 | self.release = '5.4' |
| 28 | self.base_url = "https://phpunit.de/manual/#{release}/en/" | 28 | self.base_url = "https://phpunit.de/manual/#{release}/en/" |
| 29 | end | 29 | end |
| 30 | 30 | ||