Return API or specification name for citations in ref pages.ref pages should link to for spectype is the spec this refpage is for: 'api' is the Vulkan API Specification. Defaults to 'api'. If an unrecognized spectype is given, returns None.
(self, spectype='api')
| 145 | return '.adoc' |
| 146 | |
| 147 | def api_name(self, spectype='api'): |
| 148 | """Return API or specification name for citations in ref pages.ref |
| 149 | pages should link to for |
| 150 | |
| 151 | spectype is the spec this refpage is for: 'api' is the Vulkan API |
| 152 | Specification. Defaults to 'api'. If an unrecognized spectype is |
| 153 | given, returns None. |
| 154 | """ |
| 155 | if spectype == 'api' or spectype is None: |
| 156 | return 'Vulkan' |
| 157 | else: |
| 158 | return None |
| 159 | |
| 160 | @property |
| 161 | def api_prefix(self): |
no outgoing calls
no test coverage detected