Update versions and filter

pull/968/head
Jasper van Merle 6 years ago
parent b7141a4c77
commit d5bcd6fffa

@ -57,6 +57,11 @@ module Docs
node.parent.after(node)
end
css('.signature').each do |node|
non_text_children = node.xpath('node()[not(self::text())]')
non_text_children.to_a.reverse.each { |child| node.parent.add_next_sibling(child) }
end
css('pre').each do |node|
node['data-language'] = 'elixir'
node.content = node.content

@ -33,8 +33,21 @@ module Docs
"https://elixir-lang.org/getting-started/introduction.html" ]
end
version '1.9' do
self.release = '1.9.1'
self.base_urls = [
"https://hexdocs.pm/elixir/#{release}/",
"https://hexdocs.pm/eex/#{release}/",
"https://hexdocs.pm/ex_unit/#{release}/",
"https://hexdocs.pm/iex/#{release}/",
"https://hexdocs.pm/logger/#{release}/",
"https://hexdocs.pm/mix/#{release}/",
'https://elixir-lang.org/getting-started/'
]
end
version '1.8' do
self.release = '1.8.1'
self.release = '1.8.2'
self.base_urls = [
"https://hexdocs.pm/elixir/#{release}/",
"https://hexdocs.pm/eex/#{release}/",
@ -60,7 +73,7 @@ module Docs
end
version '1.6' do
self.release = '1.6.5'
self.release = '1.6.6'
self.base_urls = [
"https://hexdocs.pm/elixir/#{release}/",
"https://hexdocs.pm/eex/#{release}/",

Loading…
Cancel
Save