mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Eluna fix doc search links
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user