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

Unable to generate HTML document file #514

Closed
Aakarshak1 opened this issue Jan 13, 2018 · 2 comments · Fixed by #546
Closed

Unable to generate HTML document file #514

Aakarshak1 opened this issue Jan 13, 2018 · 2 comments · Fixed by #546

Comments

@Aakarshak1
Copy link

I tried to generate html file using given instruction here :
https://github.com/coala/documentation
and got error

Exception occurred: File "conf.py", line 20, in <module> from coalib.misc.Constants import VERSION ImportError: No module named coalib.misc.Constants The full traceback has been saved in /tmp/sphinx-err-_10BnE.log, if you want to report the issue to the developers. Please also report this if it was a user error, so that a better error message can be provided next time. A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks! Makefile:56: recipe for target 'html' failed make: *** [html] Error 1
OS - linux ubuntu 16.04
any suggestion?

@CaptainDredge
Copy link

I think extensions (or modules to document with autodoc) are in another directory.You can add those directories to sys.path in conf.py

@hizkifw
Copy link
Contributor

hizkifw commented Apr 6, 2018

I'm able to reproduce the problem on a python2 environment. The requirements get installed to python3, but make html defaults to using python2.

hizkifw added a commit to HizkiFW-Archive/documentation that referenced this issue Apr 6, 2018
This adds virtualenv to the build procedure to make sure that the
documentation gets built with the correct python version.

Closes coala#514
hizkifw added a commit to HizkiFW-Archive/documentation that referenced this issue Apr 6, 2018
This adds virtualenv to the build procedure to make sure that the
documentation gets built with the correct python version.

Closes coala#514
hizkifw added a commit to HizkiFW-Archive/documentation that referenced this issue Apr 6, 2018
This adds virtualenv to the build procedure to make sure that the
documentation gets built with the correct python version.

Closes coala#514
hizkifw added a commit to HizkiFW-Archive/documentation that referenced this issue Apr 6, 2018
This adds virtualenv to the build procedure to make sure that the
documentation gets built with the correct python version.

Closes coala#514
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

5 participants