1
0

vulkan.rb 766 B

123456789101112131415161718192021222324
  1. module Docs
  2. class Vulkan < UrlScraper
  3. self.name = 'Vulkan'
  4. self.type = 'vulkan'
  5. self.release = '1.0.59'
  6. self.base_url = 'https://www.khronos.org/registry/vulkan/specs/1.0/'
  7. self.root_path = 'apispec.html'
  8. self.links = {
  9. home: 'https://www.khronos.org/vulkan/'
  10. }
  11. html_filters.push 'vulkan/entries', 'vulkan/clean_html', 'title'
  12. options[:skip_links] = true
  13. options[:container] = '#content'
  14. options[:root_title] = 'Vulkan API Reference'
  15. options[:attribution] = <<-HTML
  16. &copy; 2014&ndash;2017 Khronos Group Inc.<br>
  17. Licensed under the Creative Commons Attribution 4.0 International License.<br>
  18. Vulkan and the Vulkan logo are registered trademarks of the Khronos Group Inc.
  19. HTML
  20. end
  21. end