From 090f07f4ead458416f542391a7ff0c9ecd48aa8c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 5 Sep 2019 20:19:25 +0200 Subject: [PATCH] documentation/python: this copypaste is like a cancer. Spreads everywhere. --- documentation/python.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/documentation/python.py b/documentation/python.py index c7c74440..121e1718 100755 --- a/documentation/python.py +++ b/documentation/python.py @@ -2128,9 +2128,9 @@ def render_page(state: State, path, input_filename, env): # Find itself in the global map, save the page title and summary back there # for index - module_entry = state.name_map['.'.join(path)] - module_entry.summary = page.summary - module_entry.name = breadcrumb[-1][0] + entry = state.name_map['.'.join(path)] + entry.summary = page.summary + entry.name = breadcrumb[-1][0] if not state.config['SEARCH_DISABLED']: result = Empty() -- 2.30.2