Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emend spelling errors #13113

Merged
merged 2 commits into from
Nov 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sphinx/texinputs/sphinxlatexadmonitions.sty
Original file line number Diff line number Diff line change
@@ -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:
2 changes: 1 addition & 1 deletion sphinx/util/_pathlib.py
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion tests/test_extensions/test_ext_intersphinx_cache.py
Original file line number Diff line number Diff line change
@@ -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()
2 changes: 1 addition & 1 deletion tests/test_intl/test_intl.py
Original file line number Diff line number Diff line change
@@ -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>'