Commit 37b72611 authored by Victor Poughon's avatar Victor Poughon
Browse files

DOC: render see also as line block

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -354,7 +354,7 @@ def render_see_also(app): ...@@ -354,7 +354,7 @@ def render_see_also(app):
if see_also is None or len(see_also) < 2: if see_also is None or len(see_also) < 2:
return "" return ""
else: else:
return rst_section("See also", "-") + see_also return rst_section("See also", "-") + "| " + see_also.replace("\n", "\n| ") # use line blocks for see also
def multireplace(string, replacements): def multireplace(string, replacements):
"multiple string replace (from https://stackoverflow.com/a/6117124/5815110)" "multiple string replace (from https://stackoverflow.com/a/6117124/5815110)"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment