mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Update Rust documentation (1.80.0)
This commit is contained in:
parent
7ff958a491
commit
febe65d6ab
3 changed files with 4 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
||||||
em.stab, span.stab { @extend %label; }
|
em.stab, span.stab { @extend %label; }
|
||||||
em.stab.unstable, span.stab.unstable { @extend %label-orange; }
|
em.stab.unstable, span.stab.unstable { @extend %label-orange; }
|
||||||
.out-of-band { float: right; }
|
.out-of-band { float: right; }
|
||||||
.since, .srclink {
|
.since, .src, .rightside {
|
||||||
float: right;
|
float: right;
|
||||||
margin-left: .5rem;
|
margin-left: .5rem;
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,6 +30,8 @@ module Docs
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
css('.doc-anchor').remove
|
||||||
|
|
||||||
# Fix notable trait sections
|
# Fix notable trait sections
|
||||||
css('.method, .rust.trait').each do |node|
|
css('.method, .rust.trait').each do |node|
|
||||||
traitSection = node.at_css('.notable-traits')
|
traitSection = node.at_css('.notable-traits')
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
module Docs
|
module Docs
|
||||||
class Rust < UrlScraper
|
class Rust < UrlScraper
|
||||||
self.type = 'rust'
|
self.type = 'rust'
|
||||||
self.release = '1.79.0'
|
self.release = '1.80.0'
|
||||||
self.base_url = 'https://doc.rust-lang.org/'
|
self.base_url = 'https://doc.rust-lang.org/'
|
||||||
self.root_path = 'book/index.html'
|
self.root_path = 'book/index.html'
|
||||||
self.initial_paths = %w(
|
self.initial_paths = %w(
|
||||||
|
|
Loading…
Reference in a new issue