考虑this build error: 我看到如下行:ImportError: No module named swisseph和invalid signature for automodule (u'jyotisha\n :members:')。我的setup.py确实包括pyswisseph作为依赖项。什么是一个很好的解决方案?我的local sphinx build看起来不错。
我已经了解到,可以通过多个文件by using the include command将部分/章节等文档保存为模块形式。 这种方法唯一的问题是,它有效地将所有包含的文件连接成一个大文件,这意味着它们不再被Sphinx Read The Docs theme视为单独的页面。 由于这一结果,文档有用户需要向下滚动,而不是previous/next按钮导航短的网页很长页面。我希望我的文档具有后一种结构,
想象一下以下情形:您有一个名为'foo'的python包依赖于'bar'。包'bar'本身依赖于另一个python包,让我们来形容,这取决于一个C库,其中cannot be installed on readthedocs.io。因此,'bar'在conf.py文件中被 class Mock(MagicMock):
@classmethod
def __getattr__(cl