-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Sphinx errors on Travis CI #1541
Comments
Does it happen local for anyone? |
I think what's happening here is that Travis is doing an inplace build, so, from the root of the Pillow directory you can import PIL and have it work. We then cd into the docs directory and try to import PIL, and since we aren't in the package root, it fails. The best case would probably be to install into a virtualenv and build against that. Alternately, we could monkey around with the import path for sphinx to get it to recognize where Pillow is. |
We could also move the documentation out of Pillow, if anyone is in to that idea... that would make it "clean" (but also create more work in the process, which I probably don't mind if there is interest in doing it that way.) |
I'd like to keep the docs in the same repo for management and pr purposes. If we get new features from someone, I'd like to keep it as easy as possible to add documentation as well. |
Cool, fine with me. |
From my understanding, this has been resolved by #1655 |
It's not causing builds to fail, but
pushd docs; make html; make linkcheck; popd
results in errors in the log:https://travis-ci.org/python-pillow/Pillow/jobs/91335318#L2493
cc @aclark4life
The text was updated successfully, but these errors were encountered: