mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Emend spelling errors (#13113)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
This commit is contained in:
parent
8117bcaae8
commit
c427edb0bd
@ -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:
|
||||
|
@ -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.
|
||||
|
@ -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()
|
||||
|
@ -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>'
|
||||
|
Loading…
Reference in New Issue
Block a user