RTD: Read the docs only import links and not the contents in it

那年仲夏 提交于 2019-12-02 06:45:31

You need to tell RTD to install your package. See RTD FAQ My project isn’t building with autodoc.

If you look at your RTD build history, and expand the third bar, you will see the import errors.

To fix it:

  1. Configure the RTD Admin to use a virtual environment and install your package, using a requirements.txt file.
  2. Create a requirements.txt file and push it to your repo, specifying your project's requirements, itself included.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!