Skip to content

Commit c427edb

Browse files
Emend spelling errors (#13113)
Co-authored-by: Adam Turner <[email protected]>
1 parent 8117bca commit c427edb

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

sphinx/texinputs/sphinxlatexadmonitions.sty

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
% sphinxlatexshadowbox.sty, and handles both "with icon" and "without
3333
% icon" situations).
3434
%
35-
% The sphinxlightbox environment is kept for backward compatiblity, for user
35+
% The sphinxlightbox environment is kept for backward compatibility, for user
3636
% custom code which used it via custom definitions done in preamble or via
3737
% raw latex directive.
3838
% MEMO: here is for example how sphinxnote was formerly defined:

sphinx/util/_pathlib.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Instances of _StrPath should not be constructed except in Sphinx itself.
44
Consumers of Sphinx APIs should prefer using ``pathlib.Path`` objects
55
where possible. _StrPath objects can be treated as equivalent to ``Path``,
6-
save that ``_StrPath.replace`` is overriden with ``str.replace``.
6+
save that ``_StrPath.replace`` is overridden with ``str.replace``.
77
88
To continue treating path-like objects as strings, use ``os.fspath``,
99
or explicit string coercion.

tests/test_extensions/test_ext_intersphinx_cache.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def test_load_mappings_cache_revert_update(tmp_path):
295295
app2.build()
296296
app2.cleanup()
297297

298-
# switch back to old url (re-use 'old_item')
298+
# switch back to old url (reuse 'old_item')
299299
confoverrides3 = BASE_CONFIG | {'intersphinx_mapping': old_project.record}
300300
app3 = SphinxTestApp('dummy', srcdir=tmp_path, confoverrides=confoverrides3)
301301
app3.build()

tests/test_intl/test_intl.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1569,7 +1569,7 @@ def test_additional_targets_should_be_translated(app):
15691569
# [literalblock.txt]
15701570
result = (app.outdir / 'literalblock.html').read_text(encoding='utf8')
15711571

1572-
# basic literal bloc should be translated
1572+
# basic literal block should be translated
15731573
expected_expr = (
15741574
'<span class="n">THIS</span> <span class="n">IS</span>\n'
15751575
'<span class="n">LITERAL</span> <span class="n">BLOCK</span>'

0 commit comments

Comments
 (0)