astropy/astropy — pull request #187 by eteq (2012-04-01 01:30:18+00:00)
Title: Fix doc building to use astropy source

Fixing this was more subtle than I realized, but this PR now finally makes the sphinx build operate consistently. Now, ``python setup.py build_sphinx`` always uses the version of astropy in the build directory, while ``make html`` in the ``docs`` directory will use the installed version.

As part of this, a critical bug is fixed that in the past meant you *had* to have the C extensions installed via ``python setup.py develop`` or ``python setup.py build_ext --inplace`` to get the docs to build. That is no longer the case.

This closes #134 .