Autosummary templates not included in Sphinx 0.6 egg

Anonymous avatarAnonymous 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 (2)

  1. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.