aboutsummaryrefslogtreecommitdiffhomepage
path: root/registry/spec_tools/conventions.py
diff options
context:
space:
mode:
Diffstat (limited to 'registry/spec_tools/conventions.py')
-rw-r--r--registry/spec_tools/conventions.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/registry/spec_tools/conventions.py b/registry/spec_tools/conventions.py
index faca3a2..00d2b81 100644
--- a/registry/spec_tools/conventions.py
+++ b/registry/spec_tools/conventions.py
@@ -452,3 +452,10 @@ class ConventionsBase(abc.ABC):
"""Return True if name is an API version name."""
return API_VERSION_NAME_RE.match(name) is not None
+
+ @property
+ def docgen_language(self):
+ """Return the language to be used in docgenerator [source]
+ blocks."""
+
+ return 'c++'