diff options
Diffstat (limited to 'giscanner/doctemplates/devdocs/Gjs/_staticmethods.tmpl')
-rw-r--r-- | giscanner/doctemplates/devdocs/Gjs/_staticmethods.tmpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/giscanner/doctemplates/devdocs/Gjs/_staticmethods.tmpl b/giscanner/doctemplates/devdocs/Gjs/_staticmethods.tmpl new file mode 100644 index 00000000..dcd542e1 --- /dev/null +++ b/giscanner/doctemplates/devdocs/Gjs/_staticmethods.tmpl @@ -0,0 +1,4 @@ +<%namespace name="method" file="_method.tmpl"/> +% for m in getattr(node, 'static_methods', []) + getattr(node, 'constructors', []): + ${method.method(m, static=True)} +% endfor |