History

Merge pull request #1410 from scherepn/pony-update

Update Pony documentation (0.38.1)

Simon Legner committed 5 years ago

Commit 23a00042 parents 32af0f8 22b03323 files · +4 −3Browse files

Showing the changes to lib/docs (2 of 3 files). Show all

Unified · Split

2 files
  1. lib/docs/filters/pony/clean_html.rb +1 −0
  2. lib/docs/scrapers/pony.rb +2 −2
lib/docs/filters/pony/clean_html.rb+1−0
@@ -7,6 +7,7 @@ module Docs · 6 unmodified lines
7 7
8 css('pre').each do |node|8 css('pre').each do |node|
9 node.content = node.content9 node.content = node.content
10 node['data-language'] = 'pony'
10 end11 end
11 12
12 doc13 doc
lib/docs/scrapers/pony.rb+2−2
@@ -1,7 +1,7 @@
1module Docs1module Docs
2 class Pony < UrlScraper2 class Pony < UrlScraper
3 self.type = 'simple'3 self.type = 'simple'
4 self.release = '0.30.0'4 self.release = '0.38.1'
5 self.base_url = 'https://stdlib.ponylang.io/'5 self.base_url = 'https://stdlib.ponylang.io/'
6 self.links = {6 self.links = {
7 home: 'https://www.ponylang.io/',7 home: 'https://www.ponylang.io/',
@@ -11,7 +11,7 @@ module Docs · 3 unmodified lines
11 html_filters.push 'pony/clean_html', 'pony/entries'11 html_filters.push 'pony/clean_html', 'pony/entries'
12 12
13 options[:attribution] = <<-HTML13 options[:attribution] = <<-HTML
14 &copy; 2016-2018, The Pony Developers<br>14 &copy; 2016-2020, The Pony Developers<br>
15 &copy; 2014-2015, Causality Ltd.<br>15 &copy; 2014-2015, Causality Ltd.<br>
16 Licensed under the BSD 2-Clause License.16 Licensed under the BSD 2-Clause License.
17 HTML17 HTML