使用 Django 标签生成 sphinx 文档
我正在尝试使用 Django 项目的阅读文档模板生成 sphinx 文档。 我使用 Django 标签记录它
例如 Download :model:`ManagementSoftware.Order` CSV
当我尝试使用命令 make html
生成文档时,我收到错误
docstring of ManagementSoftware.views.DownloadOrdersCSV:1: ERROR: Unknown interpreted text role "model".
我应该怎么办?是否有任何 sphinx 扩展可以包含这些标签?
I am trying to generate a sphinx documentation using the Read the Docs template for a Django project.
I am documenting it using the Django tags
For example Download :model:`ManagementSoftware.Order` CSV
When I try to generate the documentation with the command make html
I get the error
docstring of ManagementSoftware.views.DownloadOrdersCSV:1: ERROR: Unknown interpreted text role "model".
What should I do? Is there any sphinx extension to include those tags?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论