Fix module formatter indexing

This commit is contained in:
Michael DeHaan 2012-10-03 23:31:50 -04:00
parent e170d7304b
commit 761330b125
43 changed files with 45 additions and 43 deletions

View file

@ -262,7 +262,7 @@ def main():
template = env.get_template('rst.j2')
outputname = "%s.rst"
includecmt = ".. Generated by module_formatter\n"
includefmt = ".. include:: %s.rst\n"
includefmt = ".. include:: modules/%s.rst\n"
if args.type == 'json':
env.filters['jpfunc'] = json_ify
outputname = "%s.json"