examples for autogenerated docs are now implicit and used when available.

This means adding the file "bpy.props.py" in the examples dir will automatically be used when generating docs, unused examples give warnings.
This commit is contained in:
Campbell Barton
2010-02-28 13:45:08 +00:00
parent fc1cb1670e
commit c1cd33e166
11 changed files with 36 additions and 15 deletions

View File

@@ -2129,9 +2129,7 @@ static struct PyMethodDef Vector_methods[] = {
*/
static char vector_doc[] =
"This object gives access to Vectors in Blender.\n"
"\n"
".. literalinclude:: ../examples/mathutils_vector.py\n";
"This object gives access to Vectors in Blender.";
PyTypeObject vector_Type = {
PyVarObject_HEAD_INIT(NULL, 0)