summaryrefslogtreecommitdiff
path: root/doc/class.xsd
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2022-07-04 18:56:34 +0300
committerYuri Sizov <yuris@humnom.net>2022-07-04 20:21:39 +0300
commita9098e6147d294378bf7c62fb10c83a0d2670b33 (patch)
treeb7d87f569684700387592ca9679d16d82a0b5451 /doc/class.xsd
parentb4644e283556b499a22dada2db5cff12290440ca (diff)
Add support for documenting built-in annotations
Diffstat (limited to 'doc/class.xsd')
-rw-r--r--doc/class.xsd36
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/class.xsd b/doc/class.xsd
index 498c930d6f..e8aebd609d 100644
--- a/doc/class.xsd
+++ b/doc/class.xsd
@@ -162,6 +162,42 @@
</xs:sequence>
</xs:complexType>
</xs:element>
+ <xs:element name="annotations" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="annotation" maxOccurs="unbounded" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="return" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:sequence />
+ </xs:sequence>
+ <xs:attribute type="xs:string" name="type" />
+ <xs:attribute type="xs:string" name="enum" use="optional" />
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="argument" maxOccurs="unbounded" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:sequence />
+ </xs:sequence>
+ <xs:attribute type="xs:byte" name="index" />
+ <xs:attribute type="xs:string" name="name" />
+ <xs:attribute type="xs:string" name="type" />
+ <xs:attribute type="xs:string" name="enum" use="optional" />
+ <xs:attribute type="xs:string" name="default" use="optional" />
+ </xs:complexType>
+ </xs:element>
+ <xs:element type="xs:string" name="description" />
+ </xs:sequence>
+ <xs:attribute type="xs:string" name="name" use="optional" />
+ <xs:attribute type="xs:string" name="qualifiers" use="optional" />
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
<xs:element name="theme_items" minOccurs="0">
<xs:complexType>
<xs:sequence>