Update Crystal documentation (0.20.3)

pull/565/head
Thibaut Courouble 8 years ago
parent af6bc87a24
commit 21b09fd4c4

@ -7,7 +7,7 @@ module Docs
end
def book
@doc = at_css('.page-inner > section')
@doc = at_css('.page-inner section')
css('pre > code').each do |node|
node.parent['data-language'] = node['class'][/lang-(\w+)/, 1] if node['class']

@ -1,7 +1,7 @@
module Docs
class Crystal < UrlScraper
self.type = 'crystal'
self.release = '0.20.0'
self.release = '0.20.3'
self.base_url = 'https://crystal-lang.org/'
self.root_path = "api/#{release}/index.html"
self.initial_paths = %w(docs/index.html)

Loading…
Cancel
Save