我有一个 Google App Engine 项目,我正在尝试用 Sphinx 记录它。我正在尝试对我的许多模块/类/功能使用自动文档功能。
我的 Sphinx reST 标记:
.. automodule:: urls
:members: Urls
当我运行时make html
,我收到错误:
WARNING: autodoc can't import/find module 'urls', it reported error: "No module >named appengine.api", please check your spelling and sys.path
该文件urls
导入webapp2,我相信它会反过来尝试导入 appengine.api。我认为它不可能提供appengine.api
给我的sys.path
. 有一些解决方法吗?
PS。我没有和斯芬克斯结婚。我愿意接受 epydoc 或替代方案。