Update Tcl/Tk documentation (8.6.6)

pull/469/head
Thibaut Courouble 9 years ago
parent a621d3f5cf
commit 2745577cf5

@ -16,15 +16,14 @@ module Docs
}
def get_name
if slug == 'contents.htm'
TYPE_MAP[slug.split('/').first]
if slug.end_with?('contents.htm')
slug.split('/').first
else
slug.split('/').last.remove('.htm')
end
end
def get_type
return nil if name == 'contents'
TYPE_MAP.fetch(slug.split('/').first)
end

@ -3,7 +3,7 @@ module Docs
self.name = 'Tcl/Tk'
self.type = 'tcl_tk'
self.slug = 'tcl_tk'
self.release = '8.6'
self.release = '8.6.6'
self.base_url = 'https://www.tcl.tk/man/tcl/'
self.root_path = 'contents.htm'

Loading…
Cancel
Save