Update D3.js documentation (7.1.1)

pull/1670/head
Simon Legner 3 years ago
parent a9843261b9
commit e3ac739eba

@ -228,7 +228,7 @@ credits = [
'https://raw.githubusercontent.com/dlang/phobos/master/LICENSE_1_0.txt'
], [
'D3.js',
'2010-2020 Michael Bostock',
'2010-2021 Michael Bostock',
'BSD',
'https://raw.githubusercontent.com/d3/d3/master/LICENSE'
], [

@ -12,10 +12,26 @@ module Docs
options[:container] = '.markdown-body'
options[:attribution] = <<-HTML
&copy; 2010&ndash;2020 Michael Bostock<br>
&copy; 2010&ndash;2021 Michael Bostock<br>
Licensed under the BSD License.
HTML
version '7' do
self.release = '7.1.1'
self.base_url = 'https://github.com/d3/'
self.root_path = 'd3/blob/master/API.md'
html_filters.push 'd3/clean_html', 'd3/entries_v4'
options[:only_patterns] = [/\Ad3[\-\w]+\z/, /\Ad3\/blob\/master\/changes\.md\z/i]
options[:skip_patterns] = [/3\.x-api-reference/]
options[:fix_urls] = ->(url) do
url.sub! %r{/blob/master/readme.md}i, ''
url
end
end
version '6' do
self.release = '6.7.0'
self.base_url = 'https://github.com/d3/'

Loading…
Cancel
Save