update for missing docs & dont include operator classes in sphinx docs.

This commit is contained in:
2010-02-16 15:01:34 +00:00
parent 56b8e37864
commit 768f20d537
3 changed files with 28 additions and 3 deletions

View File

@@ -447,6 +447,9 @@ def rna2sphinx(BASEPATH):
for struct in structs.values():
# TODO, rna_info should filter these out!
if "_OT_" in struct.identifier:
continue
write_struct(struct)
# oeprators

View File

@@ -39,9 +39,16 @@
#include "../generic/Geometry.h"
#include "../generic/BGL.h"
#include "../generic/IDProp.h"
/* todo, make nice syntax for sphinx */
static char bpy_home_paths_doc[] = "home_paths(subfolder), return 3 paths to blender home directories (system, local, user), strings will be empty when not found.";
static char bpy_home_paths_doc[] =
".. function:: home_paths(subfolder)\n"
"\n"
" return 3 paths to blender home directories.\n"
"\n"
" :arg subfolder: The name of a subfolder to find within the blenders home directory.\n"
" :type subfolder: string\n"
" :return: (system, local, user) strings will be empty when not found.\n"
" :rtype: tuple of strigs\n";
PyObject *bpy_home_paths(PyObject *self, PyObject *args)
{