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
657 '2005-2017 Sebastian Bergmann',657 '2005-2017 Sebastian Bergmann',
658 'CC BY',658 'CC BY',
659 'https://creativecommons.org/licenses/by/3.0/'659 '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'
660 ], [665 ], [
661 'Pony',666 'Pony',
662 '2016-2020, The Pony Developers & 2014-2015, Causality Ltd.',667 '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
21 # anchor such as <a id="asd"></a> to do anchor link.. and that anchor21 # anchor such as <a id="asd"></a> to do anchor link.. and that anchor
22 # will be removed by clean_text22 # will be removed by clean_text
23 self.text_filters = FilterStack.new23 self.text_filters = FilterStack.new
24 text_filters.push 'images', 'inner_html'24 text_filters.push 'images', 'inner_html', 'attribution'
25 25
26 def get_latest_version(opts)26 def get_latest_version(opts)
27 get_latest_github_release('PointCloudLibrary', 'pcl', opts)27 get_latest_github_release('PointCloudLibrary', 'pcl', opts)
28 end28 end
29 29
30 options[:container] = '.contents'30 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
31 36
32 # Skip source code since it doesn't provide any useful docs37 # Skip source code since it doesn't provide any useful docs
33 options[:skip_patterns] = [/_source/, /namespace/, /h\.html/, /structsvm/, /struct_/, /classopenni/, /class_/]38 options[:skip_patterns] = [/_source/, /namespace/, /h\.html/, /structsvm/, /struct_/, /classopenni/, /class_/]