[devdocsgjs/main: 10/69] Update Julia documentation (1.8.0)




commit 0cab6386b0772f236660d8a402b791e851a2410c
Author: Simon Legner <Simon Legner gmail com>
Date:   Thu Aug 18 19:25:32 2022 +0200

    Update Julia documentation (1.8.0)

 assets/javascripts/templates/pages/about_tmpl.coffee |  2 +-
 lib/docs/scrapers/julia.rb                           | 13 ++++++++++++-
 2 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee 
b/assets/javascripts/templates/pages/about_tmpl.coffee
index 5fd88f6b..ac117608 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -463,7 +463,7 @@ credits = [
     'https://raw.githubusercontent.com/jsdoc3/jsdoc3.github.com/master/LICENSE'
   ], [
     'Julia',
-    '2009-2021 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors',
+    '2009-2022 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors',
     'MIT',
     'https://raw.githubusercontent.com/JuliaLang/julia/master/LICENSE.md'
   ], [
diff --git a/lib/docs/scrapers/julia.rb b/lib/docs/scrapers/julia.rb
index f7a03e53..f1669dec 100644
--- a/lib/docs/scrapers/julia.rb
+++ b/lib/docs/scrapers/julia.rb
@@ -7,10 +7,21 @@ module Docs
 
 
     options[:attribution] = <<-HTML
-      &copy; 2009&ndash;2021 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors<br>
+      &copy; 2009&ndash;2022 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors<br>
       Licensed under the MIT License.
     HTML
 
+    version '1.8' do
+      self.release = '1.8.0'
+      self.base_url = "https://docs.julialang.org/en/v#{release}/";
+      self.type = 'julia'
+
+      html_filters.push 'julia/entries', 'julia/clean_html'
+
+      options[:container] = '.docs-main'
+      options[:only_patterns] = [/\Amanual\//, /\Abase\//, /\Astdlib\//]
+    end
+
     version '1.7' do
       self.release = '1.7.0'
       self.base_url = "https://docs.julialang.org/en/v#{release}/";


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