1
我有一個Google App Engine項目,我試圖用Sphinx將其文檔化。我正在嘗試爲我的許多模塊/類/函數使用autodoc功能。在Google App Engine項目上構建Sphinx Autodoc
我的獅身人面像的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。我不認爲它有可能爲我的sys.path提供appengine.api。有一些解決方法嗎?
PS。我沒有和獅身人面像結婚。我會打開epydoc或替代品。