Version PHPUnit documentation (4 and 5)

pull/344/merge
Thibaut Courouble 9 years ago
parent 426d6b8a4d
commit d4831ea086

@ -316,7 +316,7 @@ credits = [
'https://creativecommons.org/licenses/by/3.0/' 'https://creativecommons.org/licenses/by/3.0/'
], [ ], [
'PHPUnit', 'PHPUnit',
'2005-2015 Sebastian Bergmann', '2005-2016 Sebastian Bergmann',
'CC BY', 'CC BY',
'https://creativecommons.org/licenses/by/3.0/' 'https://creativecommons.org/licenses/by/3.0/'
], [ ], [

@ -1,9 +1,5 @@
._phpunit { ._phpunit {
> h2 { @extend %block-heading; } @extend %simple;
> h3 { @extend %block-label, %label-blue; }
> h4 { font-size: 1em; }
> p > code { @extend %label; }
.warning, .alert { .warning, .alert {
@extend %note; @extend %note;

@ -2,8 +2,6 @@ module Docs
class Phpunit < UrlScraper class Phpunit < UrlScraper
self.name = 'PHPUnit' self.name = 'PHPUnit'
self.type = 'phpunit' self.type = 'phpunit'
self.release = '5.1'
self.base_url = "https://phpunit.de/manual/#{release}/en/"
self.root_path = 'index.html' self.root_path = 'index.html'
self.links = { self.links = {
home: 'https://phpunit.de/', home: 'https://phpunit.de/',
@ -21,8 +19,18 @@ module Docs
appendixes.copyright.html) appendixes.copyright.html)
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
&copy; 2005&ndash;2015 Sebastian Bergmann<br> &copy; 2005&ndash;2016 Sebastian Bergmann<br>
Licensed under the Creative Commons Attribution 3.0 Unported License. Licensed under the Creative Commons Attribution 3.0 Unported License.
HTML HTML
version '5' do
self.release = '5.2'
self.base_url = "https://phpunit.de/manual/#{release}/en/"
end
version '4' do
self.release = '4.8'
self.base_url = "https://phpunit.de/manual/#{release}/en/"
end
end end
end end

Loading…
Cancel
Save