History

point_cloud_library: attribution

Simon Legner committed 4 years ago

Commit b1fef161 parent 56328202 files · +11 −1Browse files

Unified · Split

2 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +5 −0
  2. lib/docs/scrapers/point_cloud_library.rb +6 −1
assets/javascripts/templates/pages/about_tmpl.coffee+5−0
@@ -657,6 +657,11 @@ credits = [ · 656 unmodified lines
657657 '2005-2017 Sebastian Bergmann',
658658 'CC BY',
659659 'https://creativecommons.org/licenses/by/3.0/'
660+ ], [
661+ 'PointCloudLibrary',
662+ '2009–2012, Willow Garage, Inc.<br>&copy; 2012–, Open Perception, Inc.',
663+ 'BSD',
664+ 'https://raw.githubusercontent.com/PointCloudLibrary/pcl/master/LICENSE.txt'
660665 ], [
661666 'Pony',
662667 '2016-2020, The Pony Developers & 2014-2015, Causality Ltd.',
lib/docs/scrapers/point_cloud_library.rb+6−1
@@ -21,13 +21,18 @@ module Docs · 20 unmodified lines
2121 # anchor such as <a id="asd"></a> to do anchor link.. and that anchor
2222 # will be removed by clean_text
2323 self.text_filters = FilterStack.new
24− text_filters.push 'images', 'inner_html'
24+ text_filters.push 'images', 'inner_html', 'attribution'
2525
2626 def get_latest_version(opts)
2727 get_latest_github_release('PointCloudLibrary', 'pcl', opts)
2828 end
2929
3030 options[:container] = '.contents'
31+ options[:attribution] = <<-HTML
32+ &copy; 2009–2012, Willow Garage, Inc.<br>
33+ &copy; 2012–, Open Perception, Inc.<br>
34+ Licensed under the BSD License.
35+ HTML
3136
3237 # Skip source code since it doesn't provide any useful docs
3338 options[:skip_patterns] = [/_source/, /namespace/, /h\.html/, /structsvm/, /struct_/, /classopenni/, /class_/]