Fix typos found by codespell (#13992)

This commit is contained in:
Dimitri Papadopoulos Orfanos authored and GitHub committed 2025-11-24 23:07:38 +00:00
1 parent 2c3e22e3e8
commit 994a062c5f
5 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -107,7 +107,7 @@ The :mod:`sphinx.ext.autosummary` extension does this in two parts:
How to display signatures. Valid values are
- ``long`` (*default*): use a long signature. This is still cut off so that name
plus signature do not exceeed a certain length.
plus signature do not exceed a certain length.
- ``short``: Function and class signatures are displayed as ``(…)`` if they have
arguments and as ``()`` if they don't have arguments.
- ``none``: do not show signatures.
+2 -2
View File
@@ -1587,7 +1587,7 @@ Check the :confval:`latex_table_style`.
compatible with ``tabulary``. At ``8.3.0`` a technique, which was already
in use for merged cells, was extended to such cases, and the sole
"problematic" contents are code-blocks and nested tables. So tables
containing (only) cells with mutliple paragraphs, bullet or enumerated
containing (only) cells with multiple paragraphs, bullet or enumerated
lists, or line blocks, will now better fit to their contents (if not
rendered by ``longtable``). Cells with object descriptions or admonitions
will still have a tendency to induce the table to fill the full text area
@@ -1726,7 +1726,7 @@ There is this directive:
Multiple production lists with the same *production_group*
thus define rules in the same scope.
This can also be used to split the description of a long or complex grammar
accross multiple ``productionlist`` directives with the same *production_group*.
across multiple ``productionlist`` directives with the same *production_group*.
The definition can contain token names which are marked as interpreted text,
(e.g. "``sum ::= `integer` "+" `integer```"),
+1 -1
View File
@@ -693,7 +693,7 @@ class ProductionList(SphinxDirective):
@staticmethod
def separator_node(*, name: str, max_len: int) -> nodes.Text:
"""Return seperator between 'name' and 'tokens'."""
"""Return separator between 'name' and 'tokens'."""
if name:
return nodes.Text(' ::= '.rjust(max_len - len(name) + 5))
return nodes.Text(' ' * (max_len + 5))
+1 -1
View File
@@ -148,7 +148,7 @@
\prevdepth\z@\vskip\sphinxtablepost\relax}%
% B. Table with tabular or tabulary
\def\sphinxattablestart{\par
\ifvmode % guard agains being nested in a table cell
\ifvmode % guard against being nested in a table cell
\vskip\dimexpr\sphinxtablepre\relax
\fi
\spx@inframedtrue % message to sphinxheavybox
+1 -1
View File
@@ -173,7 +173,7 @@ class Table:
# types is used. The next test will have false positive from
# syntax such as >{\RaggedRight} but it will catch *{3}{J} which
# does require tabulary and would crash tabular
# It is user responsability not to use a tabulary column type for
# It is user responsibility not to use a tabulary column type for
# a column having a problematic cell.
if any(c in 'LRCJT' for c in self.colspec):
return 'tabulary'