Update Rust documentation (1.53.0)

pull/1587/head
Simon Legner 4 years ago
parent 70be597a56
commit 67c4b1ccbd

@ -101,8 +101,8 @@ module Docs
node.previous_element.before(node)
end
css('#copy-path').remove
css('.sidebar').remove
css('.collapse-toggle').remove
doc

@ -9,7 +9,7 @@ module Docs
elsif slug == 'error-index'
'Compiler Errors'
else
name = at_css('h1.fqn .in-band').content.remove(/\A.+\s/)
name = at_css('h1.fqn .in-band').content.remove(/\A.+\s/).remove('⎘')
mod = slug.split('/').first
name.prepend("#{mod}::") unless name.start_with?(mod)
name

@ -3,7 +3,7 @@
module Docs
class Rust < UrlScraper
self.type = 'rust'
self.release = '1.52.1'
self.release = '1.53.0'
self.base_url = 'https://doc.rust-lang.org/'
self.root_path = 'book/index.html'
self.initial_paths = %w(

Loading…
Cancel
Save