[Bf-blender-cvs] [b6a1bf757d9] master: DocPy: Cleanup missing newline resulting in wrong html generation

Aaron Carlisle noreply at git.blender.org
Fri Aug 20 20:54:56 CEST 2021


Commit: b6a1bf757d9f0675f0fb5f21a72ff4ee31f8d6d9
Author: Aaron Carlisle
Date:   Fri Aug 20 14:54:46 2021 -0400
Branches: master
https://developer.blender.org/rBb6a1bf757d9f0675f0fb5f21a72ff4ee31f8d6d9

DocPy: Cleanup missing newline resulting in wrong html generation

===================================================================

M	source/blender/python/intern/bpy_app_icons.c

===================================================================

diff --git a/source/blender/python/intern/bpy_app_icons.c b/source/blender/python/intern/bpy_app_icons.c
index 7cca3ae4700..acd809fb8d5 100644
--- a/source/blender/python/intern/bpy_app_icons.c
+++ b/source/blender/python/intern/bpy_app_icons.c
@@ -35,7 +35,7 @@
 /* We may want to load direct from file. */
 PyDoc_STRVAR(
     bpy_app_icons_new_triangles_doc,
-    ".. function:: new_triangles(range, coords, colors)"
+    ".. function:: new_triangles(range, coords, colors)\n"
     "\n"
     "   Create a new icon from triangle geometry.\n"
     "\n"
@@ -91,7 +91,7 @@ static PyObject *bpy_app_icons_new_triangles(PyObject *UNUSED(self), PyObject *a
 }
 
 PyDoc_STRVAR(bpy_app_icons_new_triangles_from_file_doc,
-             ".. function:: new_triangles_from_file(filename)"
+             ".. function:: new_triangles_from_file(filename)\n"
              "\n"
              "   Create a new icon from triangle geometry.\n"
              "\n"
@@ -122,7 +122,7 @@ static PyObject *bpy_app_icons_new_triangles_from_file(PyObject *UNUSED(self),
 }
 
 PyDoc_STRVAR(bpy_app_icons_release_doc,
-             ".. function:: release(icon_id)"
+             ".. function:: release(icon_id)\n"
              "\n"
              "   Release the icon.\n");
 static PyObject *bpy_app_icons_release(PyObject *UNUSED(self), PyObject *args, PyObject *kw)



More information about the Bf-blender-cvs mailing list