diff options
author | Jon Leech <[email protected]> | 2022-09-01 02:48:05 -0700 |
---|---|---|
committer | Jon Leech <[email protected]> | 2022-09-01 04:46:04 -0700 |
commit | 9f4c61a31435a7a90a314fc68aeb386c92a09c0f (patch) | |
tree | a93881006a9e05e3ff76cd38e9cce903d00c04f9 /registry/vkconventions.py | |
parent | 715673702f5b18ffb8e5832e67cf731468d32ac6 (diff) | |
download | Vulkan-Headers-9f4c61a31435a7a90a314fc68aeb386c92a09c0f.tar.gz Vulkan-Headers-9f4c61a31435a7a90a314fc68aeb386c92a09c0f.zip |
Update for Vulkan-Docs 1.3.226v1.3.226
Diffstat (limited to 'registry/vkconventions.py')
-rw-r--r-- | registry/vkconventions.py | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/registry/vkconventions.py b/registry/vkconventions.py index 395e007..c8ee937 100644 --- a/registry/vkconventions.py +++ b/registry/vkconventions.py @@ -123,7 +123,7 @@ class VulkanConventions(ConventionsBase): @property def file_suffix(self): """Return suffix of generated Asciidoctor files""" - return '.txt' + return '.adoc' def api_name(self, spectype='api'): """Return API or specification name for citations in ref pages.ref @@ -202,11 +202,6 @@ class VulkanConventions(ConventionsBase): return 'extendingvulkan-compatibility-specialuse' @property - def extra_refpage_headers(self): - """Return any extra text to add to refpage headers.""" - return 'include::{config}/attribs.txt[]' - - @property def extension_index_prefixes(self): """Return a list of extension prefixes used to group extension refpages.""" return ['VK_KHR', 'VK_EXT', 'VK'] @@ -269,3 +264,14 @@ class VulkanConventions(ConventionsBase): cause Vk*FlagBits values with bit 31 set to result in a 64 bit enumerated type, so disallows such flags.""" return bitpos >= 0 and bitpos < 31 + + @property + def extra_refpage_headers(self): + """Return any extra text to add to refpage headers.""" + return 'include::{config}/attribs.adoc[]' + + @property + def extra_refpage_body(self): + """Return any extra text (following the title) for generated + reference pages.""" + return 'include::{generated}/specattribs.adoc[]' |