[devdocsgjs/main: 88/239] point_cloud_library: attribution
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 88/239] point_cloud_library: attribution
- Date: Fri, 8 Apr 2022 07:47:36 +0000 (UTC)
commit b1fef165c433b990ae7fac9c1b84590f4be67392
Author: Simon Legner <Simon Legner gmail com>
Date: Wed Dec 29 20:07:30 2021 +0100
point_cloud_library: attribution
assets/javascripts/templates/pages/about_tmpl.coffee | 5 +++++
lib/docs/scrapers/point_cloud_library.rb | 7 ++++++-
2 files changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee
b/assets/javascripts/templates/pages/about_tmpl.coffee
index 97a24878..f9925f53 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -657,6 +657,11 @@ credits = [
'2005-2017 Sebastian Bergmann',
'CC BY',
'https://creativecommons.org/licenses/by/3.0/'
+ ], [
+ 'PointCloudLibrary',
+ '2009–2012, Willow Garage, Inc.<br>© 2012–, Open Perception, Inc.',
+ 'BSD',
+ 'https://raw.githubusercontent.com/PointCloudLibrary/pcl/master/LICENSE.txt'
], [
'Pony',
'2016-2020, The Pony Developers & 2014-2015, Causality Ltd.',
diff --git a/lib/docs/scrapers/point_cloud_library.rb b/lib/docs/scrapers/point_cloud_library.rb
index 138c57a5..a30d1d65 100644
--- a/lib/docs/scrapers/point_cloud_library.rb
+++ b/lib/docs/scrapers/point_cloud_library.rb
@@ -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
+ © 2009–2012, Willow Garage, Inc.<br>
+ © 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_/]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]