Skip to content
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

Documentation is messed up #11

Open
keflavich opened this issue Jan 18, 2017 · 3 comments
Open

Documentation is messed up #11

keflavich opened this issue Jan 18, 2017 · 3 comments

Comments

@keflavich
Copy link
Owner

Everything here has suffered from bitrot. The sphinx auto-API stuff no longer works and locally I get junk like:

loading intersphinx inventory from http://docs.h5py.org/en/latest/objects.inv...
[autosummary] generating autosummary for: fourier_tools.rst, image_registration.FITS_tools.rst, image_registration.fft_tools.rst, image_registration.rst, image_registration.tests.rst, index.rst, spectral_xcorr.rst
[automodsumm] image_registration.rst: found 13 automodsumm entries to generate
Traceback (most recent call last):
  File "/Users/adam/repos/image_registration/astropy_helpers/astropy_helpers/sphinx/ext/automodsumm.py", line 489, in generate_automodsumm_docs
    template = template_env.get_template(tmplstr % doc.objtype)
  File "/Users/adam/anaconda/envs/astropy35/lib/python3.5/site-packages/jinja2/environment.py", line 812, in get_template
    return self._load_template(name, self.make_globals(globals))
  File "/Users/adam/anaconda/envs/astropy35/lib/python3.5/site-packages/jinja2/environment.py", line 774, in _load_template
    cache_key = self.loader.get_source(self, name)[1]
  File "/Users/adam/anaconda/envs/astropy35/lib/python3.5/site-packages/Sphinx-1.3.5-py3.5.egg/sphinx/jinja2glue.py", line 159, in get_source
    raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: autosummary/function.rst

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 28, in <module>
  File "/Users/adam/anaconda/envs/astropy35/lib/python3.5/site-packages/Sphinx-1.3.5-py3.5.egg/sphinx/application.py", line 189, in __init__
    self._init_builder(self.buildername)
  File "/Users/adam/anaconda/envs/astropy35/lib/python3.5/site-packages/Sphinx-1.3.5-py3.5.egg/sphinx/application.py", line 252, in _init_builder
    self.emit('builder-inited')
  File "/Users/adam/anaconda/envs/astropy35/lib/python3.5/site-packages/Sphinx-1.3.5-py3.5.egg/sphinx/application.py", line 508, in emit
    results.append(callback(self, *args))
  File "/Users/adam/repos/image_registration/astropy_helpers/astropy_helpers/sphinx/ext/automodsumm.py", line 268, in process_automodsumm_generation
    inherited_members=app.config.automodsumm_inherited_members)
  File "/Users/adam/repos/image_registration/astropy_helpers/astropy_helpers/sphinx/ext/automodsumm.py", line 491, in generate_automodsumm_docs
    template = template_env.get_template(tmplstr % 'base')
  File "/Users/adam/anaconda/envs/astropy35/lib/python3.5/site-packages/jinja2/environment.py", line 812, in get_template
    return self._load_template(name, self.make_globals(globals))
  File "/Users/adam/anaconda/envs/astropy35/lib/python3.5/site-packages/jinja2/environment.py", line 774, in _load_template
    cache_key = self.loader.get_source(self, name)[1]
  File "/Users/adam/anaconda/envs/astropy35/lib/python3.5/site-packages/Sphinx-1.3.5-py3.5.egg/sphinx/jinja2glue.py", line 159, in get_source
    raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: autosummary/base.rst
Sphinx Documentation subprocess failed with return code 1
@keflavich
Copy link
Owner Author

Looks like this solved itself.

@keflavich
Copy link
Owner Author

Nope, I lied, the problem is still there: there's no link from the frontpage to the chi2_shift document, but there are no errors being returned either...

@keflavich keflavich reopened this Oct 2, 2017
@keflavich
Copy link
Owner Author

OK, solved by adding scipy as a requirement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant