【发布时间】:2013-01-16 14:53:00
【问题描述】:
我正在使用 Sphinx,非常喜欢它,但它不会获取模块概要。没有错误或任何东西,只是简单......什么都没有。这是我要自动记录的模块:
# vim: set fileencoding=utf-8 :
"""
.. module:: CONF
:synopsis: Configuration module, tells where data files are.
.. moduleauthor:: Mr Anderson <mr@matrix.com>
"""
这是 ReST 索引文件中的 Sphinx 指令:
.. automodule:: CONF
:synopsis:
我从 Sphinx 那里得到了各种其他美妙的东西,所以它对我来说通常不会坏掉。我得到的唯一可疑的东西是:SEVERE: Duplicate ID: "module-CONF"。一些谷歌搜索让我相信这个错误很“正常”?
【问题讨论】:
-
可能是另一个 docutils/Sphinx 错误? bugs.launchpad.net/openstack-ci/+bug/1091333
标签: python python-sphinx docutils