【发布时间】:2012-05-23 11:18:12
【问题描述】:
我正在使用Sphinx autosummary 指令来记录一个类,但我遇到了 autosummary 仅严格显示 autosummary 表中文档字符串的第一行的问题。例如,
.. currentmodule:: logging
.. autosummary::
~Logger.manager
~Logger.root
生成一个表格,其中包含:
manager There is [under normal circumstances] just one Manager instance, which
root A root logger is not that different to any other logger, except that
我可以理解为什么这是默认设置,但是有没有办法让它显示第一句或第一段?
【问题讨论】:
标签: python python-sphinx