From f59864a60ee7fe067a12c7a8a8c2b1ec423f79e3 Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Mon, 11 Aug 2014 22:04:04 +0300 Subject: [PATCH] Eluna fix doc search links --- docs/ElunaDoc/__main__.py | 2 +- docs/ElunaDoc/static/main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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') {