point_cloud_library: attribution

This commit is contained in:
Simon Legner 2021-12-29 20:07:30 +01:00
parent 5632820da9
commit b1fef165c4
2 changed files with 11 additions and 1 deletions

View file

@ -657,6 +657,11 @@ credits = [
'2005-2017 Sebastian Bergmann',
'CC BY',
'https://creativecommons.org/licenses/by/3.0/'
], [
'PointCloudLibrary',
'20092012, Willow Garage, Inc.<br>&copy; 2012, Open Perception, Inc.',
'BSD',
'https://raw.githubusercontent.com/PointCloudLibrary/pcl/master/LICENSE.txt'
], [
'Pony',
'2016-2020, The Pony Developers & 2014-2015, Causality Ltd.',

View file

@ -21,13 +21,18 @@ module Docs
# anchor such as <a id="asd"></a> to do anchor link.. and that anchor
# will be removed by clean_text
self.text_filters = FilterStack.new
text_filters.push 'images', 'inner_html'
text_filters.push 'images', 'inner_html', 'attribution'
def get_latest_version(opts)
get_latest_github_release('PointCloudLibrary', 'pcl', opts)
end
options[:container] = '.contents'
options[:attribution] = <<-HTML
&copy; 20092012, Willow Garage, Inc.<br>
&copy; 2012, Open Perception, Inc.<br>
Licensed under the BSD License.
HTML
# Skip source code since it doesn't provide any useful docs
options[:skip_patterns] = [/_source/, /namespace/, /h\.html/, /structsvm/, /struct_/, /classopenni/, /class_/]