Update Zig documentation (0.10.0)

This commit is contained in:
Simon Legner 2022-11-04 22:12:53 +01:00
parent aedb9c3b31
commit b01d189afa
2 changed files with 4 additions and 4 deletions

View file

@ -992,7 +992,7 @@ credits = [
'https://raw.githubusercontent.com/yiisoft/yii/master/LICENSE'
], [
'Zig',
'20152021, Zig contributors',
'20152022, Zig contributors',
'MIT',
'https://raw.githubusercontent.com/ziglang/zig/master/LICENSE'
]

View file

@ -2,8 +2,8 @@ module Docs
class Zig < UrlScraper
self.name = 'Zig'
self.type = 'simple'
self.release = '0.9.0'
self.base_url = 'https://ziglang.org/documentation/0.9.0/'
self.release = '0.10.0'
self.base_url = "https://ziglang.org/documentation/#{self.release}/"
self.links = {
home: 'https://ziglang.org/',
code: 'https://github.com/ziglang/zig'
@ -13,7 +13,7 @@ module Docs
options[:follow_links] = false
options[:attribution] = <<-HTML
&copy; 20152021, Zig contributors
&copy; 20152022, Zig contributors
HTML
def get_latest_version(opts)