diff options
Diffstat (limited to 'giscanner/doctemplates/Python/mallard-Python-property.tmpl')
-rw-r--r-- | giscanner/doctemplates/Python/mallard-Python-property.tmpl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/giscanner/doctemplates/Python/mallard-Python-property.tmpl b/giscanner/doctemplates/Python/mallard-Python-property.tmpl new file mode 100644 index 00000000..7ef72ccb --- /dev/null +++ b/giscanner/doctemplates/Python/mallard-Python-property.tmpl @@ -0,0 +1,16 @@ +<?xml version="1.0"?> +<page id="${namespace.name}.${node.parent.name}-${node.name}" + type="topic" + style="property" + xmlns="http://projectmallard.org/1.0/" + xmlns:ui="http://projectmallard.org/experimental/ui/"> + <info> + <link type="guide" xref="${namespace.name}.${node.parent.name}" group="property"/> + <title type="link" role="topic">${node.name}</title> + </info> + <title>${namespace.name}.${node.parent.name}:${node.name}</title> +<synopsis><code mime="text/x-python"> +"${node.name}" ${formatter.format_type(node.type)} : ${formatter.format_property_flags(node)} +</code></synopsis> +${formatter.format(node, node.doc)} +</page> |