diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-17 18:32:14 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-17 18:32:14 +0400 |
commit | b278279c95c9396432a66ef50499e45389e9ec18 (patch) | |
tree | 35a454ba66936f75b818c6d84dd655327a76b97e /source/blender/python/doc/sphinx_doc_gen.py | |
parent | 08d55cbe985b97933a701848e2edaf0cd1a68641 (diff) |
document rna functions that have the no_self flag set as classmethods
Diffstat (limited to 'source/blender/python/doc/sphinx_doc_gen.py')
-rw-r--r-- | source/blender/python/doc/sphinx_doc_gen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/doc/sphinx_doc_gen.py b/source/blender/python/doc/sphinx_doc_gen.py index 3beb17f194e..06d1a9021b8 100644 --- a/source/blender/python/doc/sphinx_doc_gen.py +++ b/source/blender/python/doc/sphinx_doc_gen.py @@ -594,7 +594,7 @@ def rna2sphinx(BASEPATH): for func in struct.functions: args_str = ", ".join([prop.get_arg_default(force=False) for prop in func.args]) - fw(" .. method:: %s(%s)\n\n" % (func.identifier, args_str)) + fw(" .. %s:: %s(%s)\n\n" % ("classmethod" if func.is_classmethod else "method", func.identifier, args_str)) fw(" %s\n\n" % func.description) for prop in func.args: |