sphinx-contrib / napoleon

Other
149 stars 48 forks source link

Build failed- Could not import extension sphinxcontrib.napoleon in readthedocs? #26

Closed aakriti0fnu closed 4 years ago

aakriti0fnu commented 4 years ago

I was using you wonderful sphinx extension and was able to generate documentation for my project locally:

https://imgur.com/5t1uguh

but, later after pushing my code to github, and importing to readthedocs, the build process failed with an error:

Extension error:
Could not import extension sphinxcontrib.napoleon (exception: No module named 'sphinxcontrib.napoleon')

https://imgur.com/Nn1jx1w https://readthedocs.org/projects/dl4sci-school-2020/builds/11558213/ Do you know how to fix it? I'm asking you since I found that you have also, hosted an example using your extension here

aakriti0fnu commented 4 years ago

I was using you wonderful sphinx extension and was able to generate documentation for my project locally:

https://imgur.com/5t1uguh

but, later after pushing my code to github, and importing to readthedocs, the build process failed with an error:

Extension error:
Could not import extension sphinxcontrib.napoleon (exception: No module named 'sphinxcontrib.napoleon')

https://imgur.com/Nn1jx1w https://readthedocs.org/projects/dl4sci-school-2020/builds/11558213/ Do you know how to fix it? I'm asking you since I found that you have also, hosted an example using your extension here

fixed it! https://github.com/readthedocs/readthedocs.org/issues/7341#issuecomment-666832139