Skip to content

Commit e1fc3cd

Browse files
committed
docs: fix appended return value docs
1 parent 4f0f0b5 commit e1fc3cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/source/conf.py

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ def output_func(docs, func):
2424
is_variable_buffer_ret = 'unsigned char *bytes_out, size_t len, size_t *written' in func
2525
for l in docs:
2626
ret.extend(get_doc_lines(l))
27+
if ret[-1] != '':
28+
ret.append('')
2729
if is_normal_ret:
2830
if is_variable_buffer_ret:
2931
ret.append(' :return: See :ref:`variable-length-output-buffers`')

0 commit comments

Comments
 (0)