From 690889e7055ddad10191ad32d1de92f67db09e6d Mon Sep 17 00:00:00 2001 From: Fons van der Plas Date: Mon, 6 Jan 2020 14:34:09 +0100 Subject: [PATCH] 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 © 2009–2019 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors
@@ -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)