Skip to content

Commit 9c54513

Browse files
authored
Merge pull request #200 from kianmeng/fix-typos
docs: fix typos
2 parents 34aaa66 + 0e197f6 commit 9c54513

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

jupyter_sphinx/ast.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class JupyterCell(Directive):
103103
If provided, the specified lines will be highlighted.
104104
raises : comma separated list of exception types
105105
If provided, a comma-separated list of exception type names that
106-
the cell may raise. If one of the listed execption types is raised
106+
the cell may raise. If one of the listed exception types is raised
107107
then the traceback is printed in place of the cell output. If an
108108
exception of another type is raised then we raise a RuntimeError
109109
when executing.
@@ -438,7 +438,7 @@ def cell_output_to_nodes(outputs, write_stderr, out_dir,
438438
# Adds a "stderr" class that can be customized by the user for both
439439
# the container and the literal_block.
440440
#
441-
# Not setting "rawsource" disables Pygment hightlighting, which
441+
# Not setting "rawsource" disables Pygment highlighting, which
442442
# would otherwise add a <div class="highlight">.
443443

444444
literal = literal_node(

jupyter_sphinx/execute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def apply(self):
168168
raises_provided = node.attributes["raises"] is not None
169169
if (
170170
raises_provided and not allowed_errors
171-
): # empty 'raises': supress all errors
171+
): # empty 'raises': suppress all errors
172172
pass
173173
elif errors and not any(e["ename"] in allowed_errors for e in errors):
174174
raise ExtensionError(

jupyter_sphinx/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def strip_latex_delimiters(source):
5757

5858

5959
def default_notebook_names(basename):
60-
"""Return an interator yielding notebook names based off 'basename'"""
60+
"""Return an iterator yielding notebook names based off 'basename'"""
6161
yield basename
6262
for i in count(1):
6363
yield "_".join((basename, str(i)))

0 commit comments

Comments
 (0)