Update for Vulkan-Docs 1.3.282
This commit is contained in:
parent
cfebfc96b2
commit
1e7b8a6d03
14 changed files with 2003 additions and 1500 deletions
|
|
@ -300,6 +300,20 @@ class ConventionsBase(abc.ABC):
|
|||
|
||||
return self.api_prefix
|
||||
|
||||
def extension_short_description(self, elem):
|
||||
"""Return a short description of an extension for use in refpages.
|
||||
|
||||
elem is an ElementTree for the <extension> tag in the XML.
|
||||
The default behavior is to use the 'type' field of this tag, but not
|
||||
all APIs support this field."""
|
||||
|
||||
ext_type = elem.get('type')
|
||||
|
||||
if ext_type is not None:
|
||||
return f'{ext_type} extension'
|
||||
else:
|
||||
return ''
|
||||
|
||||
@property
|
||||
def write_contacts(self):
|
||||
"""Return whether contact list should be written to extension appendices"""
|
||||
|
|
@ -534,3 +548,11 @@ class ConventionsBase(abc.ABC):
|
|||
blocks."""
|
||||
|
||||
return 'c++'
|
||||
|
||||
@property
|
||||
def docgen_source_options(self):
|
||||
"""Return block options to be used in docgenerator [source] blocks,
|
||||
which are appended to the 'source' block type.
|
||||
Can be empty."""
|
||||
|
||||
return '%unbreakable'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue