File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
assets/javascripts/templates/pages Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ credits = [
228
228
' https://raw.githubusercontent.com/dlang/phobos/master/LICENSE_1_0.txt'
229
229
], [
230
230
' D3.js' ,
231
- ' 2010-2020 Michael Bostock' ,
231
+ ' 2010-2021 Michael Bostock' ,
232
232
' BSD' ,
233
233
' https://raw.githubusercontent.com/d3/d3/master/LICENSE'
234
234
], [
Original file line number Diff line number Diff line change @@ -12,10 +12,26 @@ class D3 < UrlScraper
12
12
options [ :container ] = '.markdown-body'
13
13
14
14
options [ :attribution ] = <<-HTML
15
- © 2010–2020 Michael Bostock< br >
15
+ © 2010–2021 Michael Bostock< br >
16
16
Licensed under the BSD License.
17
17
HTML
18
18
19
+ version '7' do
20
+ self . release = '7.1.1'
21
+ self . base_url = 'https://github.com/d3/'
22
+ self . root_path = 'd3/blob/master/API.md'
23
+
24
+ html_filters . push 'd3/clean_html' , 'd3/entries_v4'
25
+
26
+ options [ :only_patterns ] = [ /\A d3[\- \w ]+\z / , /\A d3\/ blob\/ master\/ changes\. md\z /i ]
27
+ options [ :skip_patterns ] = [ /3\. x-api-reference/ ]
28
+
29
+ options [ :fix_urls ] = -> ( url ) do
30
+ url . sub! %r{/blob/master/readme.md}i , ''
31
+ url
32
+ end
33
+ end
34
+
19
35
version '6' do
20
36
self . release = '6.7.0'
21
37
self . base_url = 'https://github.com/d3/'
You can’t perform that action at this time.
0 commit comments