diff --git a/docs/ElunaDoc/__main__.py b/docs/ElunaDoc/__main__.py index 0627155..bdebe2d 100644 --- a/docs/ElunaDoc/__main__.py +++ b/docs/ElunaDoc/__main__.py @@ -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 diff --git a/docs/ElunaDoc/static/main.js b/docs/ElunaDoc/static/main.js index b6f3f9d..1e85037 100644 --- a/docs/ElunaDoc/static/main.js +++ b/docs/ElunaDoc/static/main.js @@ -465,7 +465,7 @@ if (type === 'mod') { output += item.path + '::' + name + ''; } else if (type === 'static' || type === 'reexport') {