Update self.links in several scrapers
Unified · Split
| @@ -5,6 +5,10 @@ module Docs · 4 unmodified lines | ||
| 5 | 5 | self.type = 'angularjs' |
| 6 | 6 | self.root_path = 'api.html' |
| 7 | 7 | self.initial_paths = %w(guide.html guide/controller.html) |
| 8 | + self.links = { | |
| 9 | + home: 'https://angularjs.org/', | |
| 10 | + code: 'https://github.com/angular/angular.js' | |
| 11 | + } | |
| 8 | 12 | |
| 9 | 13 | html_filters.push 'angularjs/clean_html', 'angularjs/entries', 'title' |
| 10 | 14 | text_filters.push 'angularjs/clean_urls' |
| @@ -2,6 +2,10 @@ module Docs · 1 unmodified line | ||
| 2 | 2 | class Clojure < UrlScraper |
| 3 | 3 | self.type = 'clojure' |
| 4 | 4 | self.root_path = 'api-index.html' |
| 5 | + self.links = { | |
| 6 | + home: 'https://clojure.org', | |
| 7 | + code: 'https://github.com/clojure/clojure' | |
| 8 | + } | |
| 5 | 9 | |
| 6 | 10 | html_filters.push 'clojure/entries', 'clojure/clean_html' |
| 7 | 11 | |
| @@ -3,7 +3,8 @@ module Docs · 2 unmodified lines | ||
| 3 | 3 | self.type = 'gnuplot' |
| 4 | 4 | self.release = '5.2.8' |
| 5 | 5 | self.links = { |
| 6 | − home: 'http://gnuplot.sourceforge.net/' | |
| 6 | + home: 'http://www.gnuplot.info/', | |
| 7 | + code: 'https://sourceforge.net/projects/gnuplot/' | |
| 7 | 8 | } |
| 8 | 9 | |
| 9 | 10 | self.root_path = 'nofigures.html' |
| @@ -4,6 +4,7 @@ module Docs · 3 unmodified lines | ||
| 4 | 4 | self.release = '1.1.4' |
| 5 | 5 | self.base_url = 'https://graphite.readthedocs.io/en/latest/' |
| 6 | 6 | self.links = { |
| 7 | + home: 'https://graphiteapp.org/', | |
| 7 | 8 | code: 'https://github.com/graphite-project/graphite-web' |
| 8 | 9 | } |
| 9 | 10 | |
| @@ -2,6 +2,9 @@ module Docs · 1 unmodified line | ||
| 2 | 2 | class Lua < UrlScraper |
| 3 | 3 | self.type = 'lua' |
| 4 | 4 | self.root_path = 'manual.html' |
| 5 | + self.links = { | |
| 6 | + home: 'https://www.lua.org/' | |
| 7 | + } | |
| 5 | 8 | |
| 6 | 9 | html_filters.push 'lua/clean_html', 'lua/entries' |
| 7 | 10 | |
| @@ -4,6 +4,10 @@ module Docs · 3 unmodified lines | ||
| 4 | 4 | self.type = 'modernizr' |
| 5 | 5 | self.release = '3.11.3' |
| 6 | 6 | self.base_url = 'https://modernizr.com/docs/' |
| 7 | + self.links = { | |
| 8 | + home: 'https://modernizr.com/', | |
| 9 | + code: 'https://github.com/Modernizr/Modernizr' | |
| 10 | + } | |
| 7 | 11 | |
| 8 | 12 | html_filters.push 'modernizr/entries', 'modernizr/clean_html', 'title' |
| 9 | 13 | |
| @@ -5,6 +5,10 @@ module Docs · 4 unmodified lines | ||
| 5 | 5 | self.name = 'OpenJDK' |
| 6 | 6 | self.type = 'openjdk' |
| 7 | 7 | self.root_path = 'overview-summary.html' |
| 8 | + self.links = { | |
| 9 | + home: 'https://openjdk.java.net/', | |
| 10 | + code: 'https://github.com/openjdk/jdk' | |
| 11 | + } | |
| 8 | 12 | |
| 9 | 13 | html_filters.insert_after 'internal_urls', 'openjdk/clean_urls' |
| 10 | 14 | html_filters.push 'openjdk/entries', 'openjdk/clean_html' |
| @@ -6,6 +6,10 @@ module Docs · 5 unmodified lines | ||
| 6 | 6 | self.release = '8.6.6' |
| 7 | 7 | self.base_url = 'https://www.tcl.tk/man/tcl/' |
| 8 | 8 | self.root_path = 'contents.htm' |
| 9 | + self.links = { | |
| 10 | + home: 'https://www.tcl.tk/', | |
| 11 | + code: 'https://sourceforge.net/projects/tcl/files/Tcl/' | |
| 12 | + } | |
| 9 | 13 | |
| 10 | 14 | html_filters.push 'tcl_tk/entries', 'tcl_tk/clean_html', 'title' |
| 11 | 15 | |