mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
PyDoc: fix indentation with multi-line property descriptions
New lines were written without indentation, causing invalid RST to be generated.
This commit is contained in:
parent
1e4c35d910
commit
d5f2043ab3
1 changed files with 2 additions and 1 deletions
|
|
@ -1408,7 +1408,8 @@ def pyrna2sphinx(basepath):
|
|||
else:
|
||||
fw(" .. attribute:: %s\n\n" % prop.identifier)
|
||||
if prop.description:
|
||||
fw(" %s\n\n" % prop.description)
|
||||
write_indented_lines(" ", fw, prop.description, False)
|
||||
fw("\n")
|
||||
|
||||
# special exception, can't use generic code here for enums
|
||||
if prop.type == "enum":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue