Eluna fix doc search links

This commit is contained in:
Rochet2
2014-08-11 22:04:04 +03:00
parent 4e231b77ab
commit f59864a60e
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ def make_renderer(template_path, link_parser_factory):
root = make_root(level)
with open('build/' + output_path, 'w') as out:
out.write(template.render(static=static, root=root, **kwargs))
out.write(template.render(level=level, static=static, root=root, **kwargs))
return inner

View File

@@ -465,7 +465,7 @@
if (type === 'mod') {
output += item.path +
'::<a href="' + rootPath +
item.path.replace(/::/g, '/') + '/' +
item.path.replace(/::/g, '/') + // '/' +
name + '/index.html" class="' +
type + '">' + name + '</a>';
} else if (type === 'static' || type === 'reexport') {