mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Update Crystal documentation (0.20.3)
This commit is contained in:
parent
af6bc87a24
commit
21b09fd4c4
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue