Showing the changes to lib/docs (1 of 2 files). Show all
Unified · Split
| @@ -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) |