History

Update Zig documentation (0.10.0)

Simon Legner committed 4 years ago

Commit b01d1891 parent aedb9c32 files · +4 −4Browse files

Unified · Split

2 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/scrapers/zig.rb +3 −3
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -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 ]
lib/docs/scrapers/zig.rb+3−3
@@ -2,8 +2,8 @@ module Docs · 1 unmodified line
2 class Zig < UrlScraper2 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] = false14 options[:follow_links] = false
15 options[:attribution] = <<-HTML15 options[:attribution] = <<-HTML
16 &copy; 2015–2021, Zig contributors16 &copy; 2015–2022, Zig contributors
17 HTML17 HTML
18 18
19 def get_latest_version(opts)19 def get_latest_version(opts)