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/'
], [
'PHPUnit',
'2005-2015 Sebastian Bergmann',
'2005-2016 Sebastian Bergmann',
'CC BY',
'https://creativecommons.org/licenses/by/3.0/'
], [

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

@ -2,8 +2,6 @@ module Docs
class Phpunit < UrlScraper
self.name = 'PHPUnit'
self.type = 'phpunit'
self.release = '5.1'
self.base_url = "https://phpunit.de/manual/#{release}/en/"
self.root_path = 'index.html'
self.links = {
home: 'https://phpunit.de/',
@ -21,8 +19,18 @@ module Docs
appendixes.copyright.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.
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

Loading…
Cancel
Save