From e6c584f3fe776aa6c55fdec7334f0d1a736624b3 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Thu, 31 Dec 2020 08:58:38 +1100 Subject: [PATCH] docs: fix simple typo, repalce -> replace There is a small typo in sphinxtools/postprocess.py. Should read `replace` rather than `repalce`. --- sphinxtools/postprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinxtools/postprocess.py b/sphinxtools/postprocess.py index 9211b642..e6597025 100644 --- a/sphinxtools/postprocess.py +++ b/sphinxtools/postprocess.py @@ -691,7 +691,7 @@ def postProcess(folder, options): next_line = splitted_text[index+1] stripline = next_line.strip() - # repalce the
with a new headline for the first method or first property + # replace the
with a new headline for the first method or first property if (stripline == '
' or stripline == '
' \ or stripline == '
') and not methods_done: line = '\n

MethodsΒΆ

\n'