首页 > 解决方案 > 更改字段列表的宽度

问题描述

的长度parameter1导致第一行是多行而不是单行;有没有办法可以指定字段列表指令的宽度?

:param parameter1: this is the first param..........
:returns: 

在这里试试

电流输出:

param parameter1:
    this is the first param..........
returns:    

我希望它是

param parameter1: this is the first param..........
returns:    

标签: python-sphinxrestructuredtext

解决方案


推荐阅读