Skip to content

Commit 778a299

Browse files
Fix typos found by codespell
1 parent e347e59 commit 778a299

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

doc/usage/extensions/autosummary.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ The :mod:`sphinx.ext.autosummary` extension does this in two parts:
107107
How to display signatures. Valid values are
108108
109109
- ``long`` (*default*): use a long signature. This is still cut off so that name
110-
plus signature do not exceeed a certain length.
110+
plus signature do not exceed a certain length.
111111
- ``short``: Function and class signatures are displayed as ``(…)`` if they have
112112
arguments and as ``()`` if they don't have arguments.
113113
- ``none``: do not show signatures.

doc/usage/restructuredtext/directives.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,7 +1587,7 @@ Check the :confval:`latex_table_style`.
15871587
compatible with ``tabulary``. At ``8.3.0`` a technique, which was already
15881588
in use for merged cells, was extended to such cases, and the sole
15891589
"problematic" contents are code-blocks and nested tables. So tables
1590-
containing (only) cells with mutliple paragraphs, bullet or enumerated
1590+
containing (only) cells with multiple paragraphs, bullet or enumerated
15911591
lists, or line blocks, will now better fit to their contents (if not
15921592
rendered by ``longtable``). Cells with object descriptions or admonitions
15931593
will still have a tendency to induce the table to fill the full text area
@@ -1726,7 +1726,7 @@ There is this directive:
17261726
Multiple production lists with the same *production_group*
17271727
thus define rules in the same scope.
17281728
This can also be used to split the description of a long or complex grammar
1729-
accross multiple ``productionlist`` directives with the same *production_group*.
1729+
across multiple ``productionlist`` directives with the same *production_group*.
17301730

17311731
The definition can contain token names which are marked as interpreted text,
17321732
(e.g. "``sum ::= `integer` "+" `integer```"),

sphinx/domains/std/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ def make_name_target(
693693

694694
@staticmethod
695695
def separator_node(*, name: str, max_len: int) -> nodes.Text:
696-
"""Return seperator between 'name' and 'tokens'."""
696+
"""Return separator between 'name' and 'tokens'."""
697697
if name:
698698
return nodes.Text(' ::= '.rjust(max_len - len(name) + 5))
699699
return nodes.Text(' ' * (max_len + 5))

sphinx/texinputs/sphinxlatextables.sty

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
\prevdepth\z@\vskip\sphinxtablepost\relax}%
149149
% B. Table with tabular or tabulary
150150
\def\sphinxattablestart{\par
151-
\ifvmode % guard agains being nested in a table cell
151+
\ifvmode % guard against being nested in a table cell
152152
\vskip\dimexpr\sphinxtablepre\relax
153153
\fi
154154
\spx@inframedtrue % message to sphinxheavybox

sphinx/writers/latex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def get_table_type(self) -> str:
173173
# types is used. The next test will have false positive from
174174
# syntax such as >{\RaggedRight} but it will catch *{3}{J} which
175175
# does require tabulary and would crash tabular
176-
# It is user responsability not to use a tabulary column type for
176+
# It is user responsibility not to use a tabulary column type for
177177
# a column having a problematic cell.
178178
if any(c in 'LRCJT' for c in self.colspec):
179179
return 'tabulary'

0 commit comments

Comments
 (0)