mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Update npm documentation (4.0.2)
This commit is contained in:
parent
e6674f75f9
commit
cbbe0756fe
2 changed files with 6 additions and 1 deletions
|
@ -17,6 +17,11 @@ module Docs
|
|||
node.inner_html = node.inner_html.gsub(/<\/div>(?!\n|\z)/, "</div>\n")
|
||||
end
|
||||
|
||||
css('h1 + h1.subtitle').each do |node|
|
||||
node.name = 'p'
|
||||
node.inner_html += '.'
|
||||
end
|
||||
|
||||
css('pre').each do |node|
|
||||
node.content = node.content
|
||||
end
|
||||
|
|
|
@ -2,7 +2,7 @@ module Docs
|
|||
class Npm < UrlScraper
|
||||
self.name = 'npm'
|
||||
self.type = 'npm'
|
||||
self.release = '3.10.2'
|
||||
self.release = '4.0.2'
|
||||
self.base_url = 'https://docs.npmjs.com/'
|
||||
self.force_gzip = true
|
||||
self.links = {
|
||||
|
|
Loading…
Reference in a new issue