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
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 ], [
assets/stylesheets/pages/_phpunit.scss+1−5
@@ -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;
lib/docs/scrapers/phpunit.rb+11−3
@@ -2,8 +2,6 @@ module Docs · 1 unmodified line
2 class Phpunit < UrlScraper2 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] = <<-HTML21 options[:attribution] = <<-HTML
24 &copy; 2005&ndash;2015 Sebastian Bergmann<br>22 &copy; 2005&ndash;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 HTML24 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 end35 end
28end36end