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

后端 未结 1 1373
情话喂你
情话喂你 2021-01-25 09:55

I am very new to read the docs. I have a documentation folder docs in my github repo created using Sphinx in my local machine. I tried to link the docs to R

1条回答
  •  孤城傲影
    2021-01-25 10:16

    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.

    0 讨论(0)
提交回复
热议问题