Skip to content

Commit dbd7068

Browse files
committed
fix spelling
1 parent a0755e8 commit dbd7068

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

docs/changelog.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ See the [Contributing Guide](contributing.md) for details.
1414

1515
### Changed
1616

17-
* Footnotes are now ordered by the occurrence of their references in the document.
18-
A new config option for `footnotes`, `USE_DEFINITION_ORDER`, has been added to support
19-
restoring the previous behavior of ordering footnotes by the occurrence of definitions.
17+
* Footnotes are now ordered by the occurrence of their references in the
18+
document. A new configuration option for the footnotes extension,
19+
`USE_DEFINITION_ORDER`, has been added to support restoring the previous
20+
behavior of ordering footnotes by the occurrence of definitions.
2021

2122
### Fixed
2223

docs/extensions/footnotes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,11 @@ The following options are provided to configure the output:
106106
The text string used to set the footnote separator. Defaults to `:`.
107107

108108
* **`USE_DEFINITION_ORDER`**:
109-
Whether to order footnotes by the occurence of footnote definitions
109+
Whether to order footnotes by the occurrence of footnote definitions
110110
in the document. Defaults to `False`.
111111

112112
Introduced in version 3.9.0, this option allows footnotes to be ordered
113-
by the occurence of their definitions in the document, rather than by the
113+
by the occurrence of their definitions in the document, rather than by the
114114
order of their references in the text. This was the behavior of
115115
previous versions of the extension.
116116

tests/test_syntax/extensions/test_footnotes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ def test_footnote_order_tricky(self):
402402
)
403403

404404
def test_footnote_order_by_definition(self):
405-
"""Test that footnotes occur in order of definition occurence when so configured."""
405+
"""Test that footnotes occur in order of definition occurrence when so configured."""
406406

407407
self.assertMarkdownRenders(
408408
self.dedent(

0 commit comments

Comments
 (0)