fixes for python api docs.

also move foreach_get/set examples into their own py example files (prefer not to have example code built into blenders binary).
This commit is contained in:
Campbell Barton
2013-09-18 05:20:43 +00:00
parent dc4cded2c2
commit b6631b8be7
11 changed files with 44 additions and 34 deletions

View File

@@ -482,6 +482,9 @@ def is_struct_seq(value):
def undocumented_message(module_name, type_name, identifier):
return "Undocumented"
"""
if str(type_name).startswith('<module'):
preloadtitle = '%s.%s' % (module_name, identifier)
else:
@@ -494,6 +497,7 @@ def undocumented_message(module_name, type_name, identifier):
"&preload=Dev:2.5/Py/API/Generating_API_Reference/Contribute/Howto-message"
"&preloadtitle=%s>`_)\n\n" % preloadtitle)
return message
"""
def range_str(val):