History

Update Pony documentation (0.38.1)

Phil Scherer committed 5 years ago

Commit 22b03321 parent 37d5fd33 files · +4 −3Browse files

Unified · Split

3 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/filters/pony/clean_html.rb +1 −0
  3. lib/docs/scrapers/pony.rb +2 −2
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -613,7 +613,7 @@ credits = [ · 612 unmodified lines
613 'https://creativecommons.org/licenses/by/3.0/'613 'https://creativecommons.org/licenses/by/3.0/'
614 ], [614 ], [
615 'Pony',615 'Pony',
616 '2016-2018, The Pony Developers & 2014-2015, Causality Ltd.',616 '2016-2020, The Pony Developers & 2014-2015, Causality Ltd.',
617 'BSD',617 'BSD',
618 'https://raw.githubusercontent.com/ponylang/ponyc/master/LICENSE'618 'https://raw.githubusercontent.com/ponylang/ponyc/master/LICENSE'
619 ], [619 ], [
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