mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Update Crystal documentation (0.20.0)
This commit is contained in:
parent
d87c0baa5c
commit
d05cc5838d
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
module Docs
|
||||
class Crystal < UrlScraper
|
||||
self.type = 'crystal'
|
||||
self.release = '0.19.2'
|
||||
self.release = '0.20.0'
|
||||
self.base_url = 'https://crystal-lang.org/'
|
||||
self.root_path = "api/#{release}/index.html"
|
||||
self.initial_paths = %w(docs/index.html)
|
||||
|
@ -13,6 +13,7 @@ module Docs
|
|||
html_filters.push 'crystal/entries', 'crystal/clean_html'
|
||||
|
||||
options[:only_patterns] = [/\Adocs\//, /\Aapi\/#{release}\//]
|
||||
options[:skip_patterns] = [/debug/i]
|
||||
|
||||
options[:replace_paths] = {
|
||||
"api/#{release}/" => "api/#{release}/index.html",
|
||||
|
|
Loading…
Reference in a new issue