docs: fix simple typo, repalce -> replace

There is a small typo in sphinxtools/postprocess.py.

Should read `replace` rather than `repalce`.
This commit is contained in:
Tim Gates
2020-12-31 08:58:38 +11:00
parent c422227c1d
commit e6c584f3fe

View File

@@ -691,7 +691,7 @@ def postProcess(folder, options):
next_line = splitted_text[index+1]
stripline = next_line.strip()
# repalce the <hr> with a new headline for the first method or first property
# replace the <hr> with a new headline for the first method or first property
if (stripline == '<dl class="staticmethod">' or stripline == '<dl class="method">' \
or stripline == '<dl class="classmethod">') and not methods_done:
line = '\n<br><h3>Methods<a class="headerlink" href="#methods" title="Permalink to this headline">¶</a></h3>\n'