mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
point_cloud_library: attribution
This commit is contained in:
parent
5632820da9
commit
b1fef165c4
2 changed files with 11 additions and 1 deletions
|
@ -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.',
|
||||
|
|
|
@ -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_/]
|
||||
|
|
Loading…
Reference in a new issue