History

Update Crystal documentation (0.20.3)

Thibaut Courouble committed 9 years ago

Commit 21b09fd1 parent af6bc872 files · +2 −2Browse files

Unified · Split

2 files
  1. lib/docs/filters/crystal/clean_html.rb +1 −1
  2. lib/docs/scrapers/crystal.rb +1 −1
lib/docs/filters/crystal/clean_html.rb+1−1
@@ -7,7 +7,7 @@ module Docs · 6 unmodified lines
77 end
88
99 def book
10− @doc = at_css('.page-inner > section')
10+ @doc = at_css('.page-inner section')
1111
1212 css('pre > code').each do |node|
1313 node.parent['data-language'] = node['class'][/lang-(\w+)/, 1] if node['class']
lib/docs/scrapers/crystal.rb+1−1
@@ -1,7 +1,7 @@
11 module Docs
22 class Crystal < UrlScraper
33 self.type = 'crystal'
4− self.release = '0.20.0'
4+ self.release = '0.20.3'
55 self.base_url = 'https://crystal-lang.org/'
66 self.root_path = "api/#{release}/index.html"
77 self.initial_paths = %w(docs/index.html)