Skip to content

Commit 409f2c2

Browse files
committed
add attributions for trio
1 parent 65c2220 commit 409f2c2

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

lib/docs/scrapers/trio.rb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,17 @@ class Trio < UrlScraper
1111

1212
html_filters.push 'trio/entries', 'trio/clean_html'
1313

14-
options[:attribution] = <<-HTML
15-
HTML
1614
options[:only_patterns] = [
1715
/reference-core/,
1816
/reference-io/,
1917
/reference-testing/,
2018
/reference-hazmat/,
2119
]
2220

21+
options[:attribution] = <<-HTML
22+
&copy; 2017-2019 Nathaniel Smith<br>
23+
Licensed under MIT and Apache2.
24+
HTML
25+
2326
end
2427
end

public/docs/docs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"code": "https://github.com/python-trio/trio"
6464
},
6565
"release": "0.11",
66-
"mtime": 1556326478,
67-
"db_size": 757201
66+
"mtime": 1556402796,
67+
"db_size": 757536
6868
}
6969
]

0 commit comments

Comments
 (0)