Python 3.x 为什么sphinx apidoc在这个travis/tox构建中找不到包?

Python 3.x 为什么sphinx apidoc在这个travis/tox构建中找不到包?,python-3.x,travis-ci,python-sphinx,Python 3.x,Travis Ci,Python Sphinx,特拉维斯建筑: conf.py: tox.ini:签出[testenv:doc8]Sphinx找不到您的Python包并导入它。相应地调整sys.path: 如果该值不起作用,您可能需要将/he附加到该值。哇,如果我错误计算了..的数量,我的数学有多差。。必修的。谢谢,这解决了它,现在所有的链接都通过make linkcheck进行验证。。 sys.path.insert(0, os.path.join(__location__, '../../src'))

特拉维斯建筑:

conf.py:


tox.ini:签出[testenv:doc8]

Sphinx找不到您的Python包并导入它。相应地调整sys.path:


如果该值不起作用,您可能需要将/he附加到该值。

哇,如果我错误计算了..的数量,我的数学有多差。。必修的。谢谢,这解决了它,现在所有的链接都通过make linkcheck进行验证。。
sys.path.insert(0, os.path.join(__location__, '../../src'))