Merge pull request #1694 from ardiya/pcl_improve_clean_html

Improve point_cloud_library clean_html
pull/1913/head
Simon Legner 2 years ago committed by GitHub
commit c05b0091e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,6 +5,18 @@ module Docs
@doc = at_css('.contents')
css('.dynheader.closed').remove
css('.permalink').remove
css('.memSeparator').remove
# Change div.fragment to C++ code with syntax highlight
css('div.fragment').each do |node|
node.name = 'pre'
node['data-language'] = 'cpp'
node_content = ""
node.css('div').each do |inner_node|
node_content += inner_node.text + "\n"
end
node.content = node_content
end
doc
end
end

@ -9,7 +9,7 @@ module Docs
self.initial_paths = [
"https://pointclouds.org/documentation/hierarchy.html"
]
self.release = '1.12.1'
self.release = '1.13.0'
self.links = {
home: 'https://pointclouds.org/',

Loading…
Cancel
Save