From b01d189afac265b627a285cdbcff14fad9652cbf Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Fri, 4 Nov 2022 22:12:53 +0100 Subject: [PATCH] Update Zig documentation (0.10.0) --- assets/javascripts/templates/pages/about_tmpl.coffee | 2 +- lib/docs/scrapers/zig.rb | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index 4d5a55bf..5d883ab0 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -992,7 +992,7 @@ credits = [ 'https://raw.githubusercontent.com/yiisoft/yii/master/LICENSE' ], [ 'Zig', - '2015–2021, Zig contributors', + '2015–2022, Zig contributors', 'MIT', 'https://raw.githubusercontent.com/ziglang/zig/master/LICENSE' ] diff --git a/lib/docs/scrapers/zig.rb b/lib/docs/scrapers/zig.rb index 004b8757..bcd3d0a9 100644 --- a/lib/docs/scrapers/zig.rb +++ b/lib/docs/scrapers/zig.rb @@ -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 - © 2015–2021, Zig contributors + © 2015–2022, Zig contributors HTML def get_latest_version(opts)