Unified · Split
| @@ -316,7 +316,7 @@ credits = [ · 315 unmodified lines | |||
| 316 | 'https://creativecommons.org/licenses/by/3.0/' | 316 | 'https://creativecommons.org/licenses/by/3.0/' |
| 317 | ], [ | 317 | ], [ |
| 318 | 'PHPUnit', | 318 | 'PHPUnit', |
| 319 | '2005-2015 Sebastian Bergmann', | 319 | '2005-2016 Sebastian Bergmann', |
| 320 | 'CC BY', | 320 | 'CC BY', |
| 321 | 'https://creativecommons.org/licenses/by/3.0/' | 321 | 'https://creativecommons.org/licenses/by/3.0/' |
| 322 | ], [ | 322 | ], [ |
| @@ -1,9 +1,5 @@ | |||
| 1 | ._phpunit { | 1 | ._phpunit { |
| 2 | > h2 { @extend %block-heading; } | 2 | @extend %simple; |
| 3 | > h3 { @extend %block-label, %label-blue; } | ||
| 4 | > h4 { font-size: 1em; } | ||
| 5 | |||
| 6 | > p > code { @extend %label; } | ||
| 7 | 3 | ||
| 8 | .warning, .alert { | 4 | .warning, .alert { |
| 9 | @extend %note; | 5 | @extend %note; |
| @@ -2,8 +2,6 @@ module Docs · 1 unmodified line | |||
| 2 | class Phpunit < UrlScraper | 2 | class Phpunit < UrlScraper |
| 3 | self.name = 'PHPUnit' | 3 | self.name = 'PHPUnit' |
| 4 | self.type = 'phpunit' | 4 | self.type = 'phpunit' |
| 5 | self.release = '5.1' | ||
| 6 | self.base_url = "https://phpunit.de/manual/#{release}/en/" | ||
| 7 | self.root_path = 'index.html' | 5 | self.root_path = 'index.html' |
| 8 | self.links = { | 6 | self.links = { |
| 9 | home: 'https://phpunit.de/', | 7 | home: 'https://phpunit.de/', |
| @@ -21,8 +19,18 @@ module Docs · 11 unmodified lines | |||
| 21 | appendixes.copyright.html) | 19 | appendixes.copyright.html) |
| 22 | 20 | ||
| 23 | options[:attribution] = <<-HTML | 21 | options[:attribution] = <<-HTML |
| 24 | © 2005–2015 Sebastian Bergmann<br> | 22 | © 2005–2016 Sebastian Bergmann<br> |
| 25 | Licensed under the Creative Commons Attribution 3.0 Unported License. | 23 | Licensed under the Creative Commons Attribution 3.0 Unported License. |
| 26 | HTML | 24 | HTML |
| 25 | |||
| 26 | version '5' do | ||
| 27 | self.release = '5.2' | ||
| 28 | self.base_url = "https://phpunit.de/manual/#{release}/en/" | ||
| 29 | end | ||
| 30 | |||
| 31 | version '4' do | ||
| 32 | self.release = '4.8' | ||
| 33 | self.base_url = "https://phpunit.de/manual/#{release}/en/" | ||
| 34 | end | ||
| 27 | end | 35 | end |
| 28 | end | 36 | end |