|
|
|
@ -2,11 +2,11 @@ module Docs
|
|
|
|
|
class Vulkan < UrlScraper
|
|
|
|
|
self.name = 'Vulkan'
|
|
|
|
|
self.type = 'simple'
|
|
|
|
|
self.release = '1.0.59'
|
|
|
|
|
self.base_url = 'https://www.khronos.org/registry/vulkan/specs/1.0/'
|
|
|
|
|
self.root_path = 'apispec.html'
|
|
|
|
|
self.release = '1.3.289'
|
|
|
|
|
self.base_url = 'https://registry.khronos.org/vulkan/specs/1.3/html/'
|
|
|
|
|
self.root_path = 'vkspec.html'
|
|
|
|
|
self.links = {
|
|
|
|
|
home: 'https://www.khronos.org/vulkan/'
|
|
|
|
|
home: 'https://registry.khronos.org/vulkan'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html_filters.push 'vulkan/entries', 'vulkan/clean_html', 'title'
|
|
|
|
@ -16,7 +16,7 @@ module Docs
|
|
|
|
|
options[:root_title] = 'Vulkan API Reference'
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
|
© 2014–2017 Khronos Group Inc.<br>
|
|
|
|
|
© 2024 Khronos Group Inc.<br>
|
|
|
|
|
Licensed under the Creative Commons Attribution 4.0 International License.<br>
|
|
|
|
|
Vulkan and the Vulkan logo are registered trademarks of the Khronos Group Inc.
|
|
|
|
|
HTML
|
|
|
|
|