mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Update Flow docs
clean up homepage, 0.117
This commit is contained in:
parent
88b62616e1
commit
18958f4cd2
2 changed files with 5 additions and 2 deletions
|
@ -14,7 +14,10 @@ module Docs
|
|||
end
|
||||
|
||||
css('a.card').each do |node|
|
||||
node.at_css('.text-primary').replace %(<br><a href="#{node['href']}">Read more</a>)
|
||||
title = node.at_css('.card-title')
|
||||
title.inner_html = %(<a href="#{node['href']}">#{title.inner_html}</a>)
|
||||
node.at_css('.text-primary').remove
|
||||
node.css('[class]').each { |node| node.delete 'class' }
|
||||
node.before(node.children).remove
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
module Docs
|
||||
class Flow < UrlScraper
|
||||
self.type = 'simple'
|
||||
self.release = '0.116.0'
|
||||
self.release = '0.117.0'
|
||||
self.base_url = 'https://flow.org/en/docs/'
|
||||
self.links = {
|
||||
home: 'https://flow.org/',
|
||||
|
|
Loading…
Reference in a new issue