|
|
@ -2,7 +2,7 @@ module Docs
|
|
|
|
class Zig < UrlScraper
|
|
|
|
class Zig < UrlScraper
|
|
|
|
self.name = 'Zig'
|
|
|
|
self.name = 'Zig'
|
|
|
|
self.type = 'simple'
|
|
|
|
self.type = 'simple'
|
|
|
|
self.release = '0.11.0'
|
|
|
|
self.release = '0.12.0'
|
|
|
|
self.base_url = "https://ziglang.org/documentation/#{self.release}/"
|
|
|
|
self.base_url = "https://ziglang.org/documentation/#{self.release}/"
|
|
|
|
self.links = {
|
|
|
|
self.links = {
|
|
|
|
home: 'https://ziglang.org/',
|
|
|
|
home: 'https://ziglang.org/',
|
|
|
@ -13,7 +13,7 @@ module Docs
|
|
|
|
|
|
|
|
|
|
|
|
options[:follow_links] = false
|
|
|
|
options[:follow_links] = false
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
© 2015–2023, Zig contributors<br>
|
|
|
|
© 2015–2024, Zig contributors<br>
|
|
|
|
Licensed under the MIT License.
|
|
|
|
Licensed under the MIT License.
|
|
|
|
HTML
|
|
|
|
HTML
|
|
|
|
|
|
|
|
|
|
|
|