summaryrefslogtreecommitdiff
path: root/giscanner/doctemplates/Python
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/doctemplates/Python')
-rw-r--r--giscanner/doctemplates/Python/constant.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/giscanner/doctemplates/Python/constant.tmpl b/giscanner/doctemplates/Python/constant.tmpl
new file mode 100644
index 00000000..96e55399
--- /dev/null
+++ b/giscanner/doctemplates/Python/constant.tmpl
@@ -0,0 +1,5 @@
+<%page args="constant"/>
+<item>
+ <title><code>${constant.parent.name}.${constant.name} = ${formatter.format_value(constant.value)}</code></title>
+ ${formatter.format(constant, constant.doc)}
+</item>