diff options
author | Stefan Sauer <ensonic@users.sf.net> | 2015-05-15 22:26:38 +0200 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2015-05-15 22:26:38 +0200 |
commit | 6e4ca33c7c142b490876a1e385595bf941775332 (patch) | |
tree | f108f9bfac36741086bfbdd32b93048e3c30fefc /devhelp2.xsd | |
parent | d7741e3e908f62c36539f0fe5234e9b2d4501703 (diff) | |
download | gtk-doc-6e4ca33c7c142b490876a1e385595bf941775332.tar.gz |
devhelp: update schema to match what we actually generate
Fix datatypes and add missing attributes and values.
Diffstat (limited to 'devhelp2.xsd')
-rw-r--r-- | devhelp2.xsd | 37 |
1 files changed, 23 insertions, 14 deletions
diff --git a/devhelp2.xsd b/devhelp2.xsd index 6a8815c..d56f86b 100644 --- a/devhelp2.xsd +++ b/devhelp2.xsd @@ -14,14 +14,14 @@ xsltproc -o devhelp2.xsd.html $HOME/download/xs3p-1.1.3/xs3p.xsl devhelp2.xsd <xsd:documentation> Devhelp2 files are use in the 'devhelp' documentation browser. </xsd:documentation> - </xsd:annotation> + </xsd:annotation> <xsd:simpleType name="keyword-type"> <xsd:annotation> <xsd:documentation> Known keyword types. </xsd:documentation> - </xsd:annotation> + </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:enumeration value="constant"/> <xsd:enumeration value="enum"/> @@ -33,15 +33,16 @@ xsltproc -o devhelp2.xsd.html $HOME/download/xs3p-1.1.3/xs3p.xsl devhelp2.xsd <xsd:enumeration value="typedef"/> <xsd:enumeration value="union"/> <xsd:enumeration value="variable"/> + <xsd:enumeration value=""/> </xsd:restriction> </xsd:simpleType> - + <xsd:simpleType name="language-type"> <xsd:annotation> <xsd:documentation> Known programing languages. </xsd:documentation> - </xsd:annotation> + </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:enumeration value="c"/> <xsd:enumeration value="c++"/> @@ -59,7 +60,7 @@ xsltproc -o devhelp2.xsd.html $HOME/download/xs3p-1.1.3/xs3p.xsl devhelp2.xsd <xsd:documentation> Title of the reference manual. </xsd:documentation> - </xsd:annotation> + </xsd:annotation> </xsd:attribute> <xsd:attribute name="link" type="xsd:string"> <xsd:annotation> @@ -67,35 +68,35 @@ xsltproc -o devhelp2.xsd.html $HOME/download/xs3p-1.1.3/xs3p.xsl devhelp2.xsd Entry point to the manual. Can be given as a relative path to the location of the devhelp2 file.. </xsd:documentation> - </xsd:annotation> + </xsd:annotation> </xsd:attribute> <xsd:attribute name="author" type="xsd:string"> <xsd:annotation> <xsd:documentation> Author of the document. Multiple authors are separated by ','. </xsd:documentation> - </xsd:annotation> + </xsd:annotation> </xsd:attribute> <xsd:attribute name="name" type="xsd:string"> <xsd:annotation> <xsd:documentation> Short name of the manual. </xsd:documentation> - </xsd:annotation> + </xsd:annotation> </xsd:attribute> <xsd:attribute name="version" type="xsd:integer"> <xsd:annotation> <xsd:documentation> Version of the devhelp xml specification (2). </xsd:documentation> - </xsd:annotation> + </xsd:annotation> </xsd:attribute> <xsd:attribute name="language" type="language-type"> <xsd:annotation> <xsd:documentation> Programing language this manual refers to. </xsd:documentation> - </xsd:annotation> + </xsd:annotation> </xsd:attribute> <xsd:attribute name="type" type="keyword-type"> @@ -103,21 +104,28 @@ xsltproc -o devhelp2.xsd.html $HOME/download/xs3p-1.1.3/xs3p.xsl devhelp2.xsd <xsd:documentation> Type of the keyword. </xsd:documentation> - </xsd:annotation> + </xsd:annotation> </xsd:attribute> <xsd:attribute name="since" type="xsd:string"> <xsd:annotation> <xsd:documentation> Version since that the keyword is part of the API. </xsd:documentation> - </xsd:annotation> + </xsd:annotation> </xsd:attribute> - <xsd:attribute name="deprecated" type="xsd:boolean"> + <xsd:attribute name="deprecated" type="xsd:string"> <xsd:annotation> <xsd:documentation> Marks the keyword as deprecated. </xsd:documentation> - </xsd:annotation> + </xsd:annotation> + </xsd:attribute> + <xsd:attribute name="stability" type="xsd:string"> + <xsd:annotation> + <xsd:documentation> + Document the stability status. + </xsd:documentation> + </xsd:annotation> </xsd:attribute> @@ -162,6 +170,7 @@ xsltproc -o devhelp2.xsd.html $HOME/download/xs3p-1.1.3/xs3p.xsl devhelp2.xsd <xsd:attribute ref="link" use="required"/> <xsd:attribute ref="since"/> <xsd:attribute ref="deprecated"/> + <xsd:attribute ref="stability"/> </xsd:complexType> </xsd:element> |