Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension Error building docs #33

Closed
LuckyMD opened this issue Oct 9, 2018 · 2 comments
Closed

Extension Error building docs #33

LuckyMD opened this issue Oct 9, 2018 · 2 comments

Comments

@LuckyMD
Copy link

LuckyMD commented Oct 9, 2018

So I just loaded sphinx v1.8.1 and tried to build the docs using make html, and I got the following error:

Extension error:
Could not import extension sphinx_autodoc_typehints (exception: No module named 'sphinx_autodoc_typehints')
make: *** [Makefile:20: html] Error 2
@Hoeze
Copy link
Contributor

Hoeze commented Oct 9, 2018

You are probably missing some sphinx packages:
pip3 install sphinx-autodoc-typehints sphinx_rtd_theme

@LuckyMD
Copy link
Author

LuckyMD commented Oct 9, 2018

Thanks... I just looked at the error again, and noticed the older error I had pasted on here also included an autocomplete error for when I was trying to look for sphinx-* packages ;).

It now builds, but it might be relevant for you that I'm getting two warnings though:

/home/icb/malte.luecken/github_packages/diffxpy/diffxpy/testing/base.py:docstring of diffxpy.api.test.two_sample:10: WARNING: Unexpected indentation.
/home/icb/malte.luecken/github_packages/diffxpy/diffxpy/testing/base.py:docstring of diffxpy.api.test.two_sample:16: WARNING: Block quote ends without a blank line; unexpected unindent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants