Prechádzať zdrojové kódy

Merge pull request #1410 from scherepn/pony-update

Update Pony documentation (0.38.1)
Simon Legner 5 rokov pred
rodič
commit
23a0004f7b

+ 1 - 1
assets/javascripts/templates/pages/about_tmpl.coffee

@@ -628,7 +628,7 @@ credits = [
     'https://creativecommons.org/licenses/by/3.0/'
   ], [
     'Pony',
-    '2016-2018, The Pony Developers & 2014-2015, Causality Ltd.',
+    '2016-2020, The Pony Developers & 2014-2015, Causality Ltd.',
     'BSD',
     'https://raw.githubusercontent.com/ponylang/ponyc/master/LICENSE'
   ], [

+ 1 - 0
lib/docs/filters/pony/clean_html.rb

@@ -7,6 +7,7 @@ module Docs
 
         css('pre').each do |node|
           node.content = node.content
+          node['data-language'] = 'pony'
         end
 
         doc

+ 2 - 2
lib/docs/scrapers/pony.rb

@@ -1,7 +1,7 @@
 module Docs
   class Pony < UrlScraper
     self.type = 'simple'
-    self.release = '0.30.0'
+    self.release = '0.38.1'
     self.base_url = 'https://stdlib.ponylang.io/'
     self.links = {
       home: 'https://www.ponylang.io/',
@@ -11,7 +11,7 @@ module Docs
     html_filters.push 'pony/clean_html', 'pony/entries'
 
     options[:attribution] = <<-HTML
-      &copy; 2016-2018, The Pony Developers<br>
+      &copy; 2016-2020, The Pony Developers<br>
       &copy; 2014-2015, Causality Ltd.<br>
       Licensed under the BSD 2-Clause License.
     HTML