Skip to content

Commit

Permalink
docs: fix simple typo, repalce -> replace
Browse files Browse the repository at this point in the history
There is a small typo in sphinxtools/postprocess.py.

Should read `replace` rather than `repalce`.
  • Loading branch information
timgates42 committed Dec 30, 2020
1 parent c422227 commit e6c584f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinxtools/postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit e6c584f

Please sign in to comment.