mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Update Zig documentation (0.10.0)
This commit is contained in:
parent
aedb9c3b31
commit
b01d189afa
2 changed files with 4 additions and 4 deletions
|
@ -992,7 +992,7 @@ credits = [
|
||||||
'https://raw.githubusercontent.com/yiisoft/yii/master/LICENSE'
|
'https://raw.githubusercontent.com/yiisoft/yii/master/LICENSE'
|
||||||
], [
|
], [
|
||||||
'Zig',
|
'Zig',
|
||||||
'2015–2021, Zig contributors',
|
'2015–2022, Zig contributors',
|
||||||
'MIT',
|
'MIT',
|
||||||
'https://raw.githubusercontent.com/ziglang/zig/master/LICENSE'
|
'https://raw.githubusercontent.com/ziglang/zig/master/LICENSE'
|
||||||
]
|
]
|
||||||
|
|
|
@ -2,8 +2,8 @@ module Docs
|
||||||
class Zig < UrlScraper
|
class Zig < UrlScraper
|
||||||
self.name = 'Zig'
|
self.name = 'Zig'
|
||||||
self.type = 'simple'
|
self.type = 'simple'
|
||||||
self.release = '0.9.0'
|
self.release = '0.10.0'
|
||||||
self.base_url = 'https://ziglang.org/documentation/0.9.0/'
|
self.base_url = "https://ziglang.org/documentation/#{self.release}/"
|
||||||
self.links = {
|
self.links = {
|
||||||
home: 'https://ziglang.org/',
|
home: 'https://ziglang.org/',
|
||||||
code: 'https://github.com/ziglang/zig'
|
code: 'https://github.com/ziglang/zig'
|
||||||
|
@ -13,7 +13,7 @@ module Docs
|
||||||
|
|
||||||
options[:follow_links] = false
|
options[:follow_links] = false
|
||||||
options[:attribution] = <<-HTML
|
options[:attribution] = <<-HTML
|
||||||
© 2015–2021, Zig contributors
|
© 2015–2022, Zig contributors
|
||||||
HTML
|
HTML
|
||||||
|
|
||||||
def get_latest_version(opts)
|
def get_latest_version(opts)
|
||||||
|
|
Loading…
Reference in a new issue