Update self.links in several scrapers

pull/1426/head
Phil Scherer 4 years ago
parent ee66e4c139
commit 437061d344

@ -5,6 +5,10 @@ module Docs
self.type = 'angularjs' self.type = 'angularjs'
self.root_path = 'api.html' self.root_path = 'api.html'
self.initial_paths = %w(guide.html guide/controller.html) self.initial_paths = %w(guide.html guide/controller.html)
self.links = {
home: 'https://angularjs.org/',
code: 'https://github.com/angular/angular.js'
}
html_filters.push 'angularjs/clean_html', 'angularjs/entries', 'title' html_filters.push 'angularjs/clean_html', 'angularjs/entries', 'title'
text_filters.push 'angularjs/clean_urls' text_filters.push 'angularjs/clean_urls'

@ -2,6 +2,10 @@ module Docs
class Clojure < UrlScraper class Clojure < UrlScraper
self.type = 'clojure' self.type = 'clojure'
self.root_path = 'api-index.html' self.root_path = 'api-index.html'
self.links = {
home: 'https://clojure.org',
code: 'https://github.com/clojure/clojure'
}
html_filters.push 'clojure/entries', 'clojure/clean_html' html_filters.push 'clojure/entries', 'clojure/clean_html'

@ -3,7 +3,8 @@ module Docs
self.type = 'gnuplot' self.type = 'gnuplot'
self.release = '5.2.8' self.release = '5.2.8'
self.links = { self.links = {
home: 'http://gnuplot.sourceforge.net/' home: 'http://www.gnuplot.info/',
code: 'https://sourceforge.net/projects/gnuplot/'
} }
self.root_path = 'nofigures.html' self.root_path = 'nofigures.html'

@ -4,6 +4,7 @@ module Docs
self.release = '1.1.4' self.release = '1.1.4'
self.base_url = 'https://graphite.readthedocs.io/en/latest/' self.base_url = 'https://graphite.readthedocs.io/en/latest/'
self.links = { self.links = {
home: 'https://graphiteapp.org/',
code: 'https://github.com/graphite-project/graphite-web' code: 'https://github.com/graphite-project/graphite-web'
} }

@ -2,6 +2,9 @@ module Docs
class Lua < UrlScraper class Lua < UrlScraper
self.type = 'lua' self.type = 'lua'
self.root_path = 'manual.html' self.root_path = 'manual.html'
self.links = {
home: 'https://www.lua.org/'
}
html_filters.push 'lua/clean_html', 'lua/entries' html_filters.push 'lua/clean_html', 'lua/entries'

@ -4,6 +4,10 @@ module Docs
self.type = 'modernizr' self.type = 'modernizr'
self.release = '3.11.3' self.release = '3.11.3'
self.base_url = 'https://modernizr.com/docs/' self.base_url = 'https://modernizr.com/docs/'
self.links = {
home: 'https://modernizr.com/',
code: 'https://github.com/Modernizr/Modernizr'
}
html_filters.push 'modernizr/entries', 'modernizr/clean_html', 'title' html_filters.push 'modernizr/entries', 'modernizr/clean_html', 'title'

@ -5,6 +5,10 @@ module Docs
self.name = 'OpenJDK' self.name = 'OpenJDK'
self.type = 'openjdk' self.type = 'openjdk'
self.root_path = 'overview-summary.html' self.root_path = 'overview-summary.html'
self.links = {
home: 'https://openjdk.java.net/',
code: 'https://github.com/openjdk/jdk'
}
html_filters.insert_after 'internal_urls', 'openjdk/clean_urls' html_filters.insert_after 'internal_urls', 'openjdk/clean_urls'
html_filters.push 'openjdk/entries', 'openjdk/clean_html' html_filters.push 'openjdk/entries', 'openjdk/clean_html'

@ -6,6 +6,10 @@ module Docs
self.release = '8.6.6' self.release = '8.6.6'
self.base_url = 'https://www.tcl.tk/man/tcl/' self.base_url = 'https://www.tcl.tk/man/tcl/'
self.root_path = 'contents.htm' self.root_path = 'contents.htm'
self.links = {
home: 'https://www.tcl.tk/',
code: 'https://sourceforge.net/projects/tcl/files/Tcl/'
}
html_filters.push 'tcl_tk/entries', 'tcl_tk/clean_html', 'title' html_filters.push 'tcl_tk/entries', 'tcl_tk/clean_html', 'title'

Loading…
Cancel
Save