History

Update Rust documentation (1.1.0)

Thibaut committed 11 years ago

Commit 422d3771 parent 72c0e951 file · +3 −5Browse files

Unified · Split

lib/docs/scrapers/rust.rb+3−5
@@ -1,14 +1,13 @@
11 module Docs
22 class Rust < UrlScraper
33 self.type = 'rust'
4− self.version = '1.0.0'
4+ self.version = '1.1.0'
55 self.base_url = 'http://doc.rust-lang.org/'
66 self.root_path = 'book/index.html'
77 self.initial_paths = %w(
88 reference.html
99 collections/index.html
10− std/index.html
11− unicode/index.html)
10+ std/index.html)
1211 self.links = {
1312 home: 'http://www.rust-lang.org/',
1413 code: 'https://github.com/rust-lang/rust'
@@ -19,8 +18,7 @@ module Docs · 4 unmodified lines
1918 options[:only_patterns] = [
2019 /\Abook\//,
2120 /\Acollections\//,
22− /\Astd\//,
23− /\Aunicode\// ]
21+ /\Astd\// ]
2422
2523 options[:skip] = %w(book/README.html)
2624 options[:skip_patterns] = [/(?<!\.html)\z/]