-
-
Notifications
You must be signed in to change notification settings - Fork 2k
astropy_helpers not found in "cd docs; make html" #2532
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
Conversation
|
That's not always guaranteed to work. A better approach would be to do something with the |
|
Readthedocs needs this to work, although as a plan B we can simply add astropy-helpers to the |
|
That might be more straightforward for now. |
|
Now that we've gone ahead and included |
|
Another option would be to install astropy-helpers from the submodule using |
…side the docs/ directory without having explicitly installed astropy_helpers first. For general cases, such as building the docs on rtd, it remains preferable to simply install astropy_helpers first.
|
Went ahead and pushed the |
|
Works nicely for me. Travis failures are unrelated. Thanks @embray! |
astropy_helpers not found in "cd docs; make html"
`make html` does not work on Python 3, and there should be only one way to
build the docs (`setup.py build_docs`) and avoid to confuse users:
Exception occurred:
File "conf.py", line 43, in <module>
from astropy_helpers.sphinx.conf import *
ImportError: No module named 'astropy_helpers.sphinx'
Ref astropy#4133, astropy#2532
After updating to use astropy-helpers, it is no longer possible to do:
The result of this is:
One patch that fixes this case is inserting the following into
docs/conf.py: