| 1234567891011121314151617181920212223242526272829303132 |
- module Docs
- class PointCloudLibrary < UrlScraper
- self.name = 'PointCloudLibrary'
- self.type = 'point_cloud_library'
- self.slug = 'point_cloud_library'
- self.base_url = 'https://pointclouds.org/documentation/'
- self.root_path = 'modules.html'
- self.links = {
- home: 'https://pointclouds.org/',
- code: 'https://github.com/PointCloudLibrary/pcl'
- }
- html_filters.push 'point_cloud_library/entries'
- # Remove the `clean_text` because Doxygen are actually creating empty
- # 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'
- def get_latest_version(opts)
- get_latest_github_release('PointCloudLibrary', 'pcl', opts)
- end
- options[:container] = '.contents'
- # Skip source code since it doesn't provide any useful docs
- options[:skip_patterns] = [/_source/]
- end
- end
|