【发布时间】:2019-06-28 08:56:51
【问题描述】:
我正在记录一个 Djagno 2.2 应用程序。
Django documentation 状态链接到设置为
Add :mod:`django.contrib.auth` to your :setting:`INSTALLED_APPS`...
在我的文档中,声明是
The length is defined in the :setting:`URL_ID_LENGTH`
使用 Sphinx
生成文档时make html
给出警告
:docstring of app.models.Class.function:4: WARNING: Unknown interpreted text role "setting".
我已将 sphinx.ext.intersphinx 添加到 Sphinx 的 conf.py。
【问题讨论】:
标签: django python-sphinx