I'm having trouble building the docs; using tox, it just fails more or less outright, for reasons that may have to do with the way Debian sets things up (will try to raise a separate issue), but even the nominal way using make html fails, with what at least seems to be something that would be easier to fix:
pip install .[docs]
cd docs
make html
sphinx-build -b html -d _build/doctrees . _build/html
Running Sphinx v1.8.5
Configuration error:
There is a programmable error in your configuration file:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/config.py", line 368, in eval_config_file
execfile_(filename, namespace)
File "/usr/lib/python3/dist-packages/sphinx/util/pycompat.py", line 150, in execfile_
exec_(code, _globals)
File "/home/mhvk/data/mhvk/packages/astropy/docs/conf.py", line 91, in <module>
rst_epilog += """
AttributeError: module 'astropy' has no attribute '__minimum_scipy_version__'
If I replace the {0.__minimum_scipy_version__} in
|
.. |minimum_scipy_version| replace:: {0.__minimum_scipy_version__} |
with some text,
make html does work.
I'm having trouble building the docs; using
tox, it just fails more or less outright, for reasons that may have to do with the way Debian sets things up (will try to raise a separate issue), but even the nominal way usingmake htmlfails, with what at least seems to be something that would be easier to fix:If I replace the
{0.__minimum_scipy_version__}inastropy/docs/conf.py
Line 94 in b505c4b
make htmldoes work.