History

Version PHPUnit documentation (4 and 5)

Thibaut Courouble committed 10 years ago

Commit d4831ea1 parent 426d6b83 files · +13 −9Browse files

Unified · Split

3 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. assets/stylesheets/pages/_phpunit.scss +1 −5
  3. lib/docs/scrapers/phpunit.rb +11 −3
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -316,7 +316,7 @@ credits = [ · 315 unmodified lines
316316 'https://creativecommons.org/licenses/by/3.0/'
317317 ], [
318318 'PHPUnit',
319− '2005-2015 Sebastian Bergmann',
319+ '2005-2016 Sebastian Bergmann',
320320 'CC BY',
321321 'https://creativecommons.org/licenses/by/3.0/'
322322 ], [
assets/stylesheets/pages/_phpunit.scss+1−5
@@ -1,9 +1,5 @@
11 ._phpunit {
2− > h2 { @extend %block-heading; }
3− > h3 { @extend %block-label, %label-blue; }
4− > h4 { font-size: 1em; }
5−
6− > p > code { @extend %label; }
2+ @extend %simple;
73
84 .warning, .alert {
95 @extend %note;
lib/docs/scrapers/phpunit.rb+11−3
@@ -2,8 +2,6 @@ module Docs · 1 unmodified line
22 class Phpunit < UrlScraper
33 self.name = 'PHPUnit'
44 self.type = 'phpunit'
5− self.release = '5.1'
6− self.base_url = "https://phpunit.de/manual/#{release}/en/"
75 self.root_path = 'index.html'
86 self.links = {
97 home: 'https://phpunit.de/',
@@ -21,8 +19,18 @@ module Docs · 11 unmodified lines
2119 appendixes.copyright.html)
2220
2321 options[:attribution] = <<-HTML
24− &copy; 2005&ndash;2015 Sebastian Bergmann<br>
22+ &copy; 2005&ndash;2016 Sebastian Bergmann<br>
2523 Licensed under the Creative Commons Attribution 3.0 Unported License.
2624 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
2735 end
2836 end