Update Haskell documentation (8.6.1)

pull/929/head
Thibaut Courouble 6 years ago
parent 4c88173d95
commit ce2421cb1e

@ -65,6 +65,10 @@ module Docs
end
end
css('pre code').each do |node|
node.before(node.children).remove
end
doc
end
end

@ -52,7 +52,7 @@ module Docs
return [] if subpath.start_with?('users_guide')
return [] if IGNORE_ENTRIES_PATHS.include?(subpath.split('/').last)
css('#synopsis > ul > li').each_with_object [] do |node, entries|
css('#synopsis > details > ul > li').each_with_object [] do |node, entries|
link = node.at_css('a')
name = node.content.strip
name.remove! %r{\A(?:module|data|newtype|class|type family m|type)\s+}
@ -75,7 +75,7 @@ module Docs
end
def include_default_entry?
subpath.start_with?('users_guide') || at_css('#synopsis > ul > li')
subpath.start_with?('users_guide') || at_css('#synopsis > details > ul > li')
end
end
end

@ -57,7 +57,7 @@ module Docs
end
version '8' do
self.release = '8.2.1'
self.release = '8.6.1'
self.base_url = "https://downloads.haskell.org/~ghc/#{release}/docs/html/"
end

Loading…
Cancel
Save