diff options
Diffstat (limited to 'docs/gir-1.2.rnc')
-rw-r--r-- | docs/gir-1.2.rnc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/gir-1.2.rnc b/docs/gir-1.2.rnc index 57e7baf7..1f224a4a 100644 --- a/docs/gir-1.2.rnc +++ b/docs/gir-1.2.rnc @@ -19,7 +19,8 @@ grammar { (Include* & CInclude* & Package* - & Namespace*) + & Namespace* + & DocFormat*) } ## Namespace which maps metadata entries to C functionality. This a similar concept to namespace in C++, but for GObject-based C libraries @@ -71,6 +72,15 @@ grammar { empty } + DocFormat = + ## Format used for the included documentation. + element doc:format { + ## Name of the documentation format. For example, 'gi-docgen' or 'gtk-doc'. + attribute name { xsd:string }, + + empty + } + Include = ## Dependant namespace to include with the current namespace. For example, Gtk will need the namespace GLib element include { |