Update PHPUnit documentation (12.0)

pull/2446/head
Simon Legner 1 month ago
parent 94a161aed5
commit e2336a1ce3

@ -2,7 +2,7 @@ module Docs
class Phpunit
class CleanHtmlFilter < Filter
def call
@doc = at_css('.section') if not root_page?
@doc = at_css('section') if not root_page?
css('pre').each do |node|
node['class'] = 'highlight'

@ -17,12 +17,21 @@ module Docs
options[:title] = false
options[:attribution] = <<-HTML
&copy; 2005&ndash;2020 Sebastian Bergmann<br>
&copy; 2005&ndash;2025 Sebastian Bergmann<br>
Licensed under the Creative Commons Attribution 3.0 Unported License.
HTML
FILTERS = %w(phpunit/clean_html phpunit/entries title)
version do
self.release = '12.0'
self.base_url = "https://docs.phpunit.de/en/#{release}/"
html_filters.push FILTERS
options[:container] = '.document'
end
version '9' do
self.release = '9.5'
self.base_url = "https://phpunit.readthedocs.io/en/#{release}/"

Loading…
Cancel
Save