Emend spelling errors (#13113)

Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
This commit is contained in:
Dimitri Papadopoulos Orfanos 2024-11-08 13:11:42 +01:00 committed by GitHub
parent 8117bcaae8
commit c427edb0bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

@ -295,7 +295,7 @@ def test_load_mappings_cache_revert_update(tmp_path):
app2.build()
app2.cleanup()
# switch back to old url (re-use 'old_item')
# switch back to old url (reuse 'old_item')
confoverrides3 = BASE_CONFIG | {'intersphinx_mapping': old_project.record}
app3 = SphinxTestApp('dummy', srcdir=tmp_path, confoverrides=confoverrides3)
app3.build()

View File

@ -1569,7 +1569,7 @@ def test_additional_targets_should_be_translated(app):
# [literalblock.txt]
result = (app.outdir / 'literalblock.html').read_text(encoding='utf8')
# basic literal bloc should be translated
# basic literal block should be translated
expected_expr = (
'<span class="n">THIS</span> <span class="n">IS</span>\n'
'<span class="n">LITERAL</span> <span class="n">BLOCK</span>'