Issues

Issue #132 resolved

Autosummary templates not included in Sphinx 0.6 egg

Anonymous created an issue

The Sphinx 0.6 egg as uploaded to PyPI doesn't come with the sphinx/ext/autosummary/templates directory. Running sphinx-autogen on a file with an autosummary statement that lists a module produces an exception:

Traceback (most recent call last): File "bin/sphinx-autogen", line 17, in <module> sphinx.ext.autosummary.generate.main(argv=sys.argv+"-o doc/ doc/modules.txt".split()) File "/var/lib/python-eggs/Sphinx-0.6-py2.5.egg/sphinx/ext/autosummary/generate.py", line 234, in main generate_autosummary_docs(args, output_dir, suffix) File "/var/lib/python-eggs/Sphinx-0.6-py2.5.egg/sphinx/ext/autosummary/generate.py", line 75, in generate_autosummary_docs tmpl = env.get_template('module') File "/var/lib/python-eggs/Jinja2-2.1.1-py2.5-linux-i686.egg/jinja2/environment.py", line 499, in get_template template = self.loader.load(self, name, self.make_globals(globals)) File "/var/lib/python-eggs/Jinja2-2.1.1-py2.5-linux-i686.egg/jinja2/loaders.py", line 95, in load source, filename, uptodate = self.get_source(environment, name) File "/var/lib/python-eggs/Jinja2-2.1.1-py2.5-linux-i686.egg/jinja2/loaders.py", line 193, in get_source raise TemplateNotFound(template) jinja2.exceptions.TemplateNotFound: module

Comments (3)

  1. Log in to comment