Skip to content

Commit 460a630

Browse files
Fix various spelling errors (#11735)
1 parent efd24cf commit 460a630

File tree

14 files changed

+17
-17
lines changed

14 files changed

+17
-17
lines changed

doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Here are some of Sphinx's major features:
2121
<builtin-extensions>`, and much more functionality via :ref:`third-party
2222
extensions <third-party-extensions>`.
2323
* **Themes:** modify the look and feel of outputs via :doc:`creating themes
24-
<development/theming>`, and re-use many :ref:`third-party themes
24+
<development/theming>`, and reuse many :ref:`third-party themes
2525
<third-party-themes>`.
2626
* **Contributed extensions:** dozens of extensions :ref:`contributed by users
2727
<third-party-extensions>`; most of them installable from PyPI.

doc/latex.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ Keys that don't need to be overridden unless in special cases are:
484484

485485
.. versionchanged:: 1.8.3
486486
Original ``\maketitle`` from document class is not overwritten,
487-
hence is re-usable as part of some custom setting for this key.
487+
hence is reusable as part of some custom setting for this key.
488488

489489
.. versionadded:: 1.8.3
490490
``\sphinxbackoftitlepage`` optional macro. It can also be defined

doc/usage/domains/python.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ The following directives are provided for module and class contents:
155155
156156
.. rst:directive:: .. py:exception:: name
157157
.. py:exception:: name(parameters)
158-
.. py:exception:: name[type parmeters](parameters)
158+
.. py:exception:: name[type parameters](parameters)
159159
160160
Describes an exception class.
161161
The signature can, but need not include parentheses with constructor arguments,
@@ -192,7 +192,7 @@ The following directives are provided for module and class contents:
192192
193193
.. rst:directive:: .. py:class:: name
194194
.. py:class:: name(parameters)
195-
.. py:class:: name[type parmeters](parameters)
195+
.. py:class:: name[type parameters](parameters)
196196
197197
Describes a class.
198198
The signature can optionally include type parameters (see :pep:`695`)

doc/usage/extensions/coverage.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ should check:
6262

6363
.. confval:: coverage_statistics_to_report
6464

65-
Print a tabluar report of the coverage statistics to the coverage report.
65+
Print a tabular report of the coverage statistics to the coverage report.
6666
``True`` by default.
6767

6868
Example output:
@@ -81,7 +81,7 @@ should check:
8181

8282
.. confval:: coverage_statistics_to_stdout
8383

84-
Print a tabluar report of the coverage statistics to standard output.
84+
Print a tabular report of the coverage statistics to standard output.
8585
``False`` by default.
8686

8787
Example output:

doc/usage/quickstart.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ its :doc:`significant extensibility capabilities </development/index>`.
1818
The goal of this document is to give you a quick taste of what Sphinx is and
1919
how you might use it. When you're done here, you can check out the
2020
:doc:`installation guide </usage/installation>` followed by the intro to the
21-
default markup format used by Sphinx, :doc:`reStucturedText
21+
default markup format used by Sphinx, :doc:`reStructuredText
2222
</usage/restructuredtext/index>`.
2323

2424
For a great "introduction" to writing docs in general -- the whys and hows, see

doc/usage/restructuredtext/roles.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,5 +293,5 @@ default. They are set in the build configuration file.
293293
.. describe:: |translation progress|
294294

295295
Replaced by the translation progress of the document.
296-
This substitution is intented for use by document translators
296+
This substitution is intended for use by document translators
297297
as a marker for the translation progress of the document.

sphinx/domains/cpp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@
259259
abstract-declarator[opt]
260260
# Drop the attributes
261261
-> decl-specifier-seq abstract-declarator[opt]
262-
grammar, typedef-like: no initilizer
262+
grammar, typedef-like: no initializer
263263
decl-specifier-seq declarator
264264
Can start with a templateDeclPrefix.
265265
@@ -7071,7 +7071,7 @@ def _check_template_consistency(self, nestedName: ASTNestedName,
70717071
else:
70727072
numParams = len(templatePrefix.templates)
70737073
if numArgs + 1 < numParams:
7074-
self.fail("Too few template argument lists comapred to parameter"
7074+
self.fail("Too few template argument lists compared to parameter"
70757075
" lists. Argument lists: %d, Parameter lists: %d."
70767076
% (numArgs, numParams))
70777077
if numArgs > numParams:

sphinx/environment/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def setup(self, app: Sphinx) -> None:
299299
# initialize config
300300
self._update_config(app.config)
301301

302-
# initialie settings
302+
# initialize settings
303303
self._update_settings(app.config)
304304

305305
def _update_config(self, config: Config) -> None:

sphinx/ext/autosummary/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ def process_generate_options(app: Sphinx) -> None:
803803

804804
suffix = get_rst_suffix(app)
805805
if suffix is None:
806-
logger.warning(__('autosummary generats .rst files internally. '
806+
logger.warning(__('autosummary generates .rst files internally. '
807807
'But your source_suffix does not contain .rst. Skipped.'))
808808
return
809809

sphinx/registry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def __init__(self) -> None:
6060
#: special attrgetter for autodoc; class object -> attrgetter
6161
self.autodoc_attrgettrs: dict[type, Callable[[Any, str, Any], Any]] = {}
6262

63-
#: builders; a dict of builder name -> bulider class
63+
#: builders; a dict of builder name -> builder class
6464
self.builders: dict[str, type[Builder]] = {}
6565

6666
#: autodoc documenters; a dict of documenter name -> documenter class

0 commit comments

Comments
 (0)