Update Crystal documentation (0.20.3)

This commit is contained in:
Thibaut Courouble 2017-01-02 15:07:00 -05:00
parent af6bc87a24
commit 21b09fd4c4
2 changed files with 2 additions and 2 deletions

View file

@ -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']

View file

@ -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)