| @@ -21,13 +21,18 @@ module Docs · 20 unmodified lines |
| 21 | # anchor such as <a id="asd"></a> to do anchor link.. and that anchor | 21 | # anchor such as <a id="asd"></a> to do anchor link.. and that anchor |
| 22 | # will be removed by clean_text | 22 | # will be removed by clean_text |
| 23 | self.text_filters = FilterStack.new | 23 | 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 | end | 28 | end |
| 29 | | 29 | |
| 30 | options[:container] = '.contents' | 30 | options[:container] = '.contents' |
| | 31 | options[:attribution] = <<-HTML |
| | 32 | © 2009–2012, Willow Garage, Inc.<br> |
| | 33 | © 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 docs | 37 | # 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_/] |