Unified · Split
| @@ -992,7 +992,7 @@ credits = [ · 991 unmodified lines | |||
| 992 | 'https://raw.githubusercontent.com/yiisoft/yii/master/LICENSE' | 992 | 'https://raw.githubusercontent.com/yiisoft/yii/master/LICENSE' |
| 993 | ], [ | 993 | ], [ |
| 994 | 'Zig', | 994 | 'Zig', |
| 995 | '2015–2021, Zig contributors', | 995 | '2015–2022, Zig contributors', |
| 996 | 'MIT', | 996 | 'MIT', |
| 997 | 'https://raw.githubusercontent.com/ziglang/zig/master/LICENSE' | 997 | 'https://raw.githubusercontent.com/ziglang/zig/master/LICENSE' |
| 998 | ] | 998 | ] |
| @@ -2,8 +2,8 @@ module Docs · 1 unmodified line | |||
| 2 | class Zig < UrlScraper | 2 | class Zig < UrlScraper |
| 3 | self.name = 'Zig' | 3 | self.name = 'Zig' |
| 4 | self.type = 'simple' | 4 | self.type = 'simple' |
| 5 | self.release = '0.9.0' | 5 | self.release = '0.10.0' |
| 6 | self.base_url = 'https://ziglang.org/documentation/0.9.0/' | 6 | self.base_url = "https://ziglang.org/documentation/#{self.release}/" |
| 7 | self.links = { | 7 | self.links = { |
| 8 | home: 'https://ziglang.org/', | 8 | home: 'https://ziglang.org/', |
| 9 | code: 'https://github.com/ziglang/zig' | 9 | code: 'https://github.com/ziglang/zig' |
| @@ -13,7 +13,7 @@ module Docs · 3 unmodified lines | |||
| 13 | 13 | ||
| 14 | options[:follow_links] = false | 14 | options[:follow_links] = false |
| 15 | options[:attribution] = <<-HTML | 15 | options[:attribution] = <<-HTML |
| 16 | © 2015–2021, Zig contributors | 16 | © 2015–2022, Zig contributors |
| 17 | HTML | 17 | HTML |
| 18 | 18 | ||
| 19 | def get_latest_version(opts) | 19 | def get_latest_version(opts) |