chiark
/
gitweb
/
~cjwatson
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b78a2f
)
documentation/python: this copypaste is like a cancer.
author
Vladimír Vondruš
<mosra@centrum.cz>
Thu, 5 Sep 2019 18:19:25 +0000
(20:19 +0200)
committer
Vladimír Vondruš
<mosra@centrum.cz>
Thu, 5 Sep 2019 18:19:25 +0000
(20:19 +0200)
Spreads everywhere.
documentation/python.py
patch
|
blob
|
history
diff --git
a/documentation/python.py
b/documentation/python.py
index c7c74440000af55d36b000f14eb812a784bb0ae8..121e17186fbd6fd521551f8dff9c0517738ac278 100755
(executable)
--- 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()