-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Remove doc Makefile. #5161
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
Remove doc Makefile. #5161
Conversation
`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
|
What about removing only the |
|
Indeed, |
|
😱 😱 😱 I always use 😱 😱 😱 |
|
@pllim - So you don't use Python 3 ? 😉 |
|
why does |
|
isn't this going to be an issue on RTD? If we ever want that to move over to Python 3? |
|
Hmm, there is an action item to do just that in #5135... |
|
RTD uses sphinx-build directly, so no issue with the Makefile, but it could indeed suffer from the |
|
well all |
|
@Cadair - Yes, indeed. |
|
I thought the py 3 problem was that it doesn't run the "fixers" to convert the py2 codebase to py3? More generally, using (That is to say, I'm 👍 to this change if it doesn't break anything, and the passing tests make me thing it doesn't) |
|
I don't know about a "fixers" issue, you mean with 2to3 ? |
|
Not sure if I understand... I have no problem building the latest dev docs on Python 3. What is the exact commands to reproduce the problem? |
|
@pllim : did you install astropy_helpers ? |
|
In the upper level, I did a |
|
@pllim - That doesn't install astropy_helpers, can you import it from a python shell ? |
|
Yes, I can. But I don't remember installing it... Here is some info: Python 3.5.1 |Continuum Analytics, Inc.| (default, Dec 7 2015, 11:16:01)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import astropy_helpers
>>> astropy_helpers
<module 'astropy_helpers' (namespace)>
>>> astropy_helpers.__path__
_NamespacePath(['/path/to/source/astropy/astropy_helpers']) |
|
Ah no, ok, it is specific to the develop mode ! Sorry, I didn't remember all the details of #4133 ... |
|
To explain a bit more:
So , I will close this PR as the Makefile seems useful ;-). I could try also try to make the import work in the Makefile for the develop mode, but I don't think it is worth spending time on this. |
make htmldoes not work on Python 3, and there should be only one way tobuild the docs (
setup.py build_docs) and avoid to confuse users:Ref #4133, #2532