[devdocsgjs/main: 981/1867] Added Julia base language docs for v0.7 and later




commit 690889e7055ddad10191ad32d1de92f67db09e6d
Author: Fons van der Plas <fonsvdplas gmail com>
Date:   Mon Jan 6 14:34:09 2020 +0100

    Added Julia base language docs for v0.7 and later
    
    These docs were moved to their own section (`base`) in v0.7.

 lib/docs/scrapers/julia.rb | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/lib/docs/scrapers/julia.rb b/lib/docs/scrapers/julia.rb
index 7573ffe7..4cc9ef2a 100644
--- a/lib/docs/scrapers/julia.rb
+++ b/lib/docs/scrapers/julia.rb
@@ -5,7 +5,6 @@ module Docs
       code: 'https://github.com/JuliaLang/julia'
     }
 
-    options[:only_patterns] = [/\Amanual\//, /\Astdlib\//]
 
     options[:attribution] = <<-HTML
       &copy; 2009&ndash;2019 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors<br>
@@ -20,6 +19,7 @@ module Docs
       html_filters.push 'julia/entries', 'julia/clean_html'
 
       options[:container] = '#docs'
+      options[:only_patterns] = [/\Amanual\//, /\Abase\//, /\Astdlib\//]
     end
 
     version '1.1' do
@@ -30,6 +30,7 @@ module Docs
       html_filters.push 'julia/entries', 'julia/clean_html'
 
       options[:container] = '#docs'
+      options[:only_patterns] = [/\Amanual\//, /\Abase\//, /\Astdlib\//]
     end
 
     version '1.0' do
@@ -40,6 +41,7 @@ module Docs
       html_filters.push 'julia/entries', 'julia/clean_html'
 
       options[:container] = '#docs'
+      options[:only_patterns] = [/\Amanual\//, /\Abase\//, /\Astdlib\//]
     end
 
     version '0.7' do
@@ -50,6 +52,7 @@ module Docs
       html_filters.push 'julia/entries', 'julia/clean_html'
 
       options[:container] = '#docs'
+      options[:only_patterns] = [/\Amanual\//, /\Abase\//, /\Astdlib\//]
     end
 
     version '0.6' do
@@ -60,6 +63,7 @@ module Docs
       html_filters.push 'julia/entries', 'julia/clean_html'
 
       options[:container] = '#docs'
+      options[:only_patterns] = [/\Amanual\//, /\Astdlib\//]
     end
 
     version '0.5' do
@@ -68,6 +72,8 @@ module Docs
       self.type = 'sphinx_simple'
 
       html_filters.push 'julia/entries_sphinx', 'julia/clean_html_sphinx', 'sphinx/clean_html'
+
+      options[:only_patterns] = [/\Amanual\//, /\Astdlib\//]
     end
 
     def get_latest_version(opts)


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