[devdocsgjs/main: 1344/1867] Update Pony documentation (0.38.1)




commit 22b0332a4432427c2b3341d5a4ea2cef365cb7ac
Author: Phil Scherer <pnscher evoforge org>
Date:   Mon Dec 7 05:12:37 2020 -0500

    Update Pony documentation (0.38.1)

 assets/javascripts/templates/pages/about_tmpl.coffee | 2 +-
 lib/docs/filters/pony/clean_html.rb                  | 1 +
 lib/docs/scrapers/pony.rb                            | 4 ++--
 3 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee 
b/assets/javascripts/templates/pages/about_tmpl.coffee
index afaf37a3..66252c33 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -613,7 +613,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'
   ], [
diff --git a/lib/docs/filters/pony/clean_html.rb b/lib/docs/filters/pony/clean_html.rb
index 9260f226..52067a2f 100644
--- a/lib/docs/filters/pony/clean_html.rb
+++ b/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
diff --git a/lib/docs/scrapers/pony.rb b/lib/docs/scrapers/pony.rb
index 24df881d..3649b5c2 100644
--- a/lib/docs/scrapers/pony.rb
+++ b/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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]