This commit is contained in:
Eisuke Kawashima
2021-07-08 01:29:38 +09:00
parent b09acabf00
commit 652ebf1bf5
80 changed files with 93 additions and 93 deletions

12
CHANGES
View File

@@ -55,7 +55,7 @@ Features added
* #1874: py domain: Support union types using ``|`` in info-field-list * #1874: py domain: Support union types using ``|`` in info-field-list
* #9268: py domain: :confval:`python_use_unqualified_type_names` supports type * #9268: py domain: :confval:`python_use_unqualified_type_names` supports type
field in info-field-list field in info-field-list
* #9097: Optimize the paralell build * #9097: Optimize the parallel build
* #9131: Add :confval:`nitpick_ignore_regex` to ignore nitpicky warnings using * #9131: Add :confval:`nitpick_ignore_regex` to ignore nitpicky warnings using
regular expressions regular expressions
* #9174: Add ``Sphinx.set_html_assets_policy`` to tell extensions to include * #9174: Add ``Sphinx.set_html_assets_policy`` to tell extensions to include
@@ -625,7 +625,7 @@ Bugs fixed
* #8567: autodoc: Instance attributes are incorrectly added to Parent class * #8567: autodoc: Instance attributes are incorrectly added to Parent class
* #8566: autodoc: The ``autodoc-process-docstring`` event is emitted to the * #8566: autodoc: The ``autodoc-process-docstring`` event is emitted to the
alias classes unexpectedly alias classes unexpectedly
* #8583: autodoc: Unnecessary object comparision via ``__eq__`` method * #8583: autodoc: Unnecessary object comparison via ``__eq__`` method
* #8565: linkcheck: Fix PriorityQueue crash when link tuples are not * #8565: linkcheck: Fix PriorityQueue crash when link tuples are not
comparable comparable
@@ -691,7 +691,7 @@ Bugs fixed
* #8443: autodoc: autodata directive can't create document for PEP-526 based * #8443: autodoc: autodata directive can't create document for PEP-526 based
type annotated variables type annotated variables
* #8443: autodoc: autoattribute directive can't create document for PEP-526 * #8443: autodoc: autoattribute directive can't create document for PEP-526
based uninitalized variables based uninitialized variables
* #8480: autodoc: autoattribute could not create document for __slots__ * #8480: autodoc: autoattribute could not create document for __slots__
attributes attributes
* #8503: autodoc: autoattribute could not create document for a GenericAlias as * #8503: autodoc: autoattribute could not create document for a GenericAlias as
@@ -848,7 +848,7 @@ Bugs fixed
* #8091: autodoc: AttributeError is raised on documenting an attribute on Python * #8091: autodoc: AttributeError is raised on documenting an attribute on Python
3.5.2 3.5.2
* #8099: autodoc: NameError is raised when target code uses ``TYPE_CHECKING`` * #8099: autodoc: NameError is raised when target code uses ``TYPE_CHECKING``
* C++, fix parsing of template template paramters, broken by the fix of #7944 * C++, fix parsing of template template parameters, broken by the fix of #7944
Release 3.2.0 (released Aug 08, 2020) Release 3.2.0 (released Aug 08, 2020)
===================================== =====================================
@@ -1137,7 +1137,7 @@ Bugs fixed
* #3673: autodoc: member-order="bysource" does not work for a module having * #3673: autodoc: member-order="bysource" does not work for a module having
__all__ __all__
* #7668: autodoc: wrong retann value is passed to a handler of * #7668: autodoc: wrong retann value is passed to a handler of
autodoc-proccess-signature autodoc-process-signature
* #7711: autodoc: fails with ValueError when processing numpy objects * #7711: autodoc: fails with ValueError when processing numpy objects
* #7791: autodoc: TypeError is raised on documenting singledispatch function * #7791: autodoc: TypeError is raised on documenting singledispatch function
* #7551: autosummary: a nested class is indexed as non-nested class * #7551: autosummary: a nested class is indexed as non-nested class
@@ -1343,7 +1343,7 @@ Features added
* #6417: py domain: Allow to make a style for arguments of functions and methods * #6417: py domain: Allow to make a style for arguments of functions and methods
* #7238, #7239: py domain: Emit a warning on describing a python object if the * #7238, #7239: py domain: Emit a warning on describing a python object if the
entry is already added as the same name entry is already added as the same name
* #7341: py domain: type annotations in singature are converted to cross refs * #7341: py domain: type annotations in signature are converted to cross refs
* Support priority of event handlers. For more detail, see * Support priority of event handlers. For more detail, see
:py:meth:`.Sphinx.connect()` :py:meth:`.Sphinx.connect()`
* #3077: Implement the scoping for :rst:dir:`productionlist` as indicated * #3077: Implement the scoping for :rst:dir:`productionlist` as indicated

View File

@@ -175,7 +175,7 @@ as metadata of the extension. Metadata keys currently recognized are:
.. note:: The *parallel-read-safe* extension must satisfy the following .. note:: The *parallel-read-safe* extension must satisfy the following
conditions: conditions:
* The core logic of the extension is parallely executable during * The core logic of the extension is parallelly executable during
the reading phase. the reading phase.
* It has event handlers for :event:`env-merge-info` and * It has event handlers for :event:`env-merge-info` and
:event:`env-purge-doc` events if it stores dataa to the build :event:`env-purge-doc` events if it stores dataa to the build
@@ -188,7 +188,7 @@ as metadata of the extension. Metadata keys currently recognized are:
.. note:: The *parallel-write-safe* extension must satisfy the following .. note:: The *parallel-write-safe* extension must satisfy the following
conditions: conditions:
* The core logic of the extension is parallely executable during * The core logic of the extension is parallelly executable during
the writing phase. the writing phase.

View File

@@ -708,7 +708,7 @@ Do not use quotes to enclose values, whether numerical or strings.
As the default is set to a high value, the forceful algorithm is triggered As the default is set to a high value, the forceful algorithm is triggered
only in overfull case, i.e. in presence of a string longer than full only in overfull case, i.e. in presence of a string longer than full
linewidth. Set this to ``0`` to force all input lines to be hard wrapped linewidth. Set this to ``0`` to force all input lines to be hard wrapped
at the current avaiable linewidth:: at the current available linewidth::
latex_elements = { latex_elements = {
'sphinxsetup': "verbatimforcewraps, verbatimmaxunderfull=0", 'sphinxsetup': "verbatimforcewraps, verbatimmaxunderfull=0",
@@ -778,7 +778,7 @@ Do not use quotes to enclose values, whether numerical or strings.
.. versionchanged:: 1.5 .. versionchanged:: 1.5
The breaking of long code lines was added at 1.4.2. The default The breaking of long code lines was added at 1.4.2. The default
definition of the continuation symbol was changed at 1.5 to accomodate definition of the continuation symbol was changed at 1.5 to accommodate
various font sizes (e.g. code-blocks can be in footnotes). various font sizes (e.g. code-blocks can be in footnotes).
``TitleColor`` ``TitleColor``

View File

@@ -43,7 +43,7 @@ Most domains provide a number of :dfn:`object description directives`, used to
describe specific objects provided by modules. Each directive requires one or describe specific objects provided by modules. Each directive requires one or
more signatures to provide basic information about what is being described, and more signatures to provide basic information about what is being described, and
the content should be the description. A domain will typically keep an the content should be the description. A domain will typically keep an
internal index of all entites to aid cross-referencing. Typically it will internal index of all entities to aid cross-referencing. Typically it will
also add entries in the shown general index. also add entries in the shown general index.
If you want to suppress the addition of an entry in the shown index, you can If you want to suppress the addition of an entry in the shown index, you can
give the directive option flag ``:noindexentry:``. give the directive option flag ``:noindexentry:``.

View File

@@ -2478,7 +2478,7 @@ class DefinitionParser(BaseParser):
def _parse_expression(self) -> ASTExpression: def _parse_expression(self) -> ASTExpression:
# -> assignment-expression # -> assignment-expression
# | expression "," assignment-expresion # | expression "," assignment-expression
# TODO: actually parse the second production # TODO: actually parse the second production
return self._parse_assignment_expression() return self._parse_assignment_expression()

View File

@@ -144,7 +144,7 @@ T = TypeVar('T')
simple-type-specifier -> simple-type-specifier ->
::[opt] nested-name-specifier[opt] type-name ::[opt] nested-name-specifier[opt] type-name
| ::[opt] nested-name-specifier "template" simple-template-id | ::[opt] nested-name-specifier "template" simple-template-id
| "char" | "bool" | ect. | "char" | "bool" | etc.
| decltype-specifier | decltype-specifier
| elaborated-type-specifier -> | elaborated-type-specifier ->
class-key attribute-specifier-seq[opt] ::[opt] class-key attribute-specifier-seq[opt] ::[opt]
@@ -162,7 +162,7 @@ T = TypeVar('T')
trailing-type-specifier -> trailing-type-specifier ->
rest-of-trailing rest-of-trailing
("class" | "struct" | "union" | "typename") rest-of-trailing ("class" | "struct" | "union" | "typename") rest-of-trailing
build-in -> "char" | "bool" | ect. build-in -> "char" | "bool" | etc.
decltype-specifier decltype-specifier
rest-of-trailing -> (with some simplification) rest-of-trailing -> (with some simplification)
"::"[opt] list-of-elements-separated-by-:: "::"[opt] list-of-elements-separated-by-::
@@ -198,7 +198,7 @@ T = TypeVar('T')
| "::"[opt] nested-name-specifier "*" attribute-specifier-seq[opt] | "::"[opt] nested-name-specifier "*" attribute-specifier-seq[opt]
cv-qualifier-seq[opt] cv-qualifier-seq[opt]
# function_object must use a parameters-and-qualifiers, the others may # function_object must use a parameters-and-qualifiers, the others may
# use it (e.g., function poitners) # use it (e.g., function pointers)
parameters-and-qualifiers -> parameters-and-qualifiers ->
"(" parameter-clause ")" attribute-specifier-seq[opt] "(" parameter-clause ")" attribute-specifier-seq[opt]
cv-qualifier-seq[opt] ref-qualifier[opt] cv-qualifier-seq[opt] ref-qualifier[opt]
@@ -5281,7 +5281,7 @@ class DefinitionParser(BaseParser):
if cast is not None: if cast is not None:
prefixType = "cast" prefixType = "cast"
if not self.skip_string("<"): if not self.skip_string("<"):
self.fail("Expected '<' afer '%s'." % cast) self.fail("Expected '<' after '%s'." % cast)
typ = self._parse_type(False) typ = self._parse_type(False)
self.skip_ws() self.skip_ws()
if not self.skip_string_and_ws(">"): if not self.skip_string_and_ws(">"):
@@ -5617,7 +5617,7 @@ class DefinitionParser(BaseParser):
def _parse_expression(self) -> ASTExpression: def _parse_expression(self) -> ASTExpression:
# -> assignment-expression # -> assignment-expression
# | expression "," assignment-expresion # | expression "," assignment-expression
exprs = [self._parse_assignment_expression(inTemplate=False)] exprs = [self._parse_assignment_expression(inTemplate=False)]
while True: while True:
self.skip_ws() self.skip_ws()

View File

@@ -112,7 +112,7 @@ class IndexEntries:
else: else:
# put symbols at the front of the index (0) # put symbols at the front of the index (0)
sortkey = (0, lckey) sortkey = (0, lckey)
# ensure a determinstic order *within* letters by also sorting on # ensure a deterministic order *within* letters by also sorting on
# the entry itself # the entry itself
return (sortkey, entry[0]) return (sortkey, entry[0])
newlist = sorted(new.items(), key=keyfunc) newlist = sorted(new.items(), key=keyfunc)

View File

@@ -261,8 +261,8 @@ admonitionlabels = {
'warning': _('Warning'), 'warning': _('Warning'),
} }
# Moved to sphinx.directives.other (will be overriden later) # Moved to sphinx.directives.other (will be overridden later)
versionlabels: Dict[str, str] = {} versionlabels: Dict[str, str] = {}
# Moved to sphinx.domains.python (will be overriden later) # Moved to sphinx.domains.python (will be overridden later)
pairindextypes: Dict[str, str] = {} pairindextypes: Dict[str, str] = {}

View File

@@ -422,7 +422,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -420,7 +420,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -421,7 +421,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -421,7 +421,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -421,7 +421,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -422,7 +422,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -422,7 +422,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -424,7 +424,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -424,7 +424,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -423,7 +423,7 @@ msgstr "το enumerable_node %r είναι ήδη καταχωρημένο"
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "ο συνθέτης μαθηματικών %s είναι ήδη καταχωρημένος" msgstr "ο συνθέτης μαθηματικών %s είναι ήδη καταχωρημένος"
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -421,7 +421,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -427,7 +427,7 @@ msgstr "enumerable_node %r ya esta registrado"
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "Renderizador matemático %s ya fue registrado" msgstr "Renderizador matemático %s ya fue registrado"
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -424,7 +424,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -422,7 +422,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -424,7 +424,7 @@ msgstr "بست قابل شمارش (enumerable_node) %r قبلاً ثبت شده
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "ترسیم‌گر ریاضی %s قبلاً ثبت شده" msgstr "ترسیم‌گر ریاضی %s قبلاً ثبت شده"
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -421,7 +421,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -445,7 +445,7 @@ msgstr "enumerable_node %r est déjà enregistré"
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "Le générateur de rendu mathématique %s est déjà enregistré" msgstr "Le générateur de rendu mathématique %s est déjà enregistré"
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -420,7 +420,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -421,7 +421,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -424,7 +424,7 @@ msgstr "enumerable_node %r पहले से पंजीकृत है"
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "गणित प्रस्तोता %s पहले से पंजीकृत है" msgstr "गणित प्रस्तोता %s पहले से पंजीकृत है"
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -420,7 +420,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -421,7 +421,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -426,7 +426,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -425,7 +425,7 @@ msgstr "enumerable_node %r telah terdaftar"
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "math renderer %s telah terdaftar" msgstr "math renderer %s telah terdaftar"
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -425,7 +425,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -435,7 +435,7 @@ msgstr "enumerable_node %r はすでに登録されています"
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "数式レンダラー %s はすでに登録されています" msgstr "数式レンダラー %s はすでに登録されています"
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -422,7 +422,7 @@ msgstr "enumerable_node %r이(가) 이미 등록되었습니다"
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "수식 렌더러 %s이(가) 이미 등록되었습니다" msgstr "수식 렌더러 %s이(가) 이미 등록되었습니다"
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -421,7 +421,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -420,7 +420,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -421,7 +421,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -420,7 +420,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -422,7 +422,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -426,7 +426,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -424,7 +424,7 @@ msgstr "enumerable_node %r już zarejestrowany"
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -420,7 +420,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -426,7 +426,7 @@ msgstr "enumerable_node %r já registrado"
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "renderizador matemático %s já está registrado" msgstr "renderizador matemático %s já está registrado"
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -422,7 +422,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -422,7 +422,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -426,7 +426,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -421,7 +421,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -423,7 +423,7 @@ msgstr "enumerable_node %r už je registrovaný"
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "math renderer %s už je registrovaný" msgstr "math renderer %s už je registrovaný"
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -420,7 +420,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -420,7 +420,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -421,7 +421,7 @@ msgstr "enumerable_node %r tashmë i regjistruar"
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "vizatuesi i simboleve matematikore %s është i regjistruar tashmë" msgstr "vizatuesi i simboleve matematikore %s është i regjistruar tashmë"
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -422,7 +422,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -420,7 +420,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -420,7 +420,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -420,7 +420,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -421,7 +421,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -420,7 +420,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -424,7 +424,7 @@ msgstr "enumerable_node %r zaten kayıtlı"
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "matematik işleyici %s zaten kayıtlı" msgstr "matematik işleyici %s zaten kayıtlı"
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -421,7 +421,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -420,7 +420,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -421,7 +421,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -435,7 +435,7 @@ msgstr "可数节点 %r 已注册"
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "公式渲染器 %s 已注册" msgstr "公式渲染器 %s 已注册"
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -427,7 +427,7 @@ msgstr ""
#: sphinx/registry.py:404 #: sphinx/registry.py:404
#, python-format #, python-format
msgid "math renderer %s is already registred" msgid "math renderer %s is already registered"
msgstr "" msgstr ""
#: sphinx/registry.py:417 #: sphinx/registry.py:417

View File

@@ -404,7 +404,7 @@ class SphinxComponentRegistry:
logger.debug('[app] adding html_math_renderer: %s, %r, %r', logger.debug('[app] adding html_math_renderer: %s, %r, %r',
name, inline_renderers, block_renderers) name, inline_renderers, block_renderers)
if name in self.html_inline_math_renderers: if name in self.html_inline_math_renderers:
raise ExtensionError(__('math renderer %s is already registred') % name) raise ExtensionError(__('math renderer %s is already registered') % name)
self.html_inline_math_renderers[name] = inline_renderers self.html_inline_math_renderers[name] = inline_renderers
self.html_block_math_renderers[name] = block_renderers self.html_block_math_renderers[name] = block_renderers

View File

@@ -38,7 +38,7 @@ class SearchLanguage:
.. attribute:: js_splitter_code .. attribute:: js_splitter_code
Return splitter funcion of JavaScript version. The function should be Return splitter function of JavaScript version. The function should be
named as ``splitQuery``. And it should take a string and return list of named as ``splitQuery``. And it should take a string and return list of
strings. strings.

View File

@@ -62,7 +62,7 @@ hvor | where
eller | or eller | or
hvad | what hvad | what
skal | must/shall etc. skal | must/shall etc.
selv | myself/youself/herself/ourselves etc., even selv | myself/yourself/herself/ourselves etc., even
her | here her | here
alle | all/everyone/everybody etc. alle | all/everyone/everybody etc.
vil | will (verb) vil | will (verb)

View File

@@ -300,7 +300,7 @@
% Support scopes for footnote numbering % Support scopes for footnote numbering
\newcounter{sphinxscope} \newcounter{sphinxscope}
\newcommand{\sphinxstepscope}{\stepcounter{sphinxscope}} \newcommand{\sphinxstepscope}{\stepcounter{sphinxscope}}
% Explictly numbered footnotes may be referred to, and for this to be % Explicitly numbered footnotes may be referred to, and for this to be
% clickable we need to have only one target. So we will step this at each % clickable we need to have only one target. So we will step this at each
% explicit footnote and let \thesphinxscope take it into account % explicit footnote and let \thesphinxscope take it into account
\newcounter{sphinxexplicit} \newcounter{sphinxexplicit}

View File

@@ -25,7 +25,7 @@
\PassOptionsToPackage{setpagesize=false}{hyperref} \PassOptionsToPackage{setpagesize=false}{hyperref}
\fi \fi
% These options can be overriden inside 'hyperref' key % These options can be overridden inside 'hyperref' key
% or by later use of \hypersetup. % or by later use of \hypersetup.
\PassOptionsToPackage{colorlinks,breaklinks,% \PassOptionsToPackage{colorlinks,breaklinks,%
linkcolor=InnerLinkColor,filecolor=OuterLinkColor,% linkcolor=InnerLinkColor,filecolor=OuterLinkColor,%

View File

@@ -175,7 +175,7 @@ class HTMLThemeFactory:
self.themes[name] = theme self.themes[name] = theme
def load_extra_theme(self, name: str) -> None: def load_extra_theme(self, name: str) -> None:
"""Try to load a theme having specifed name.""" """Try to load a theme having specified name."""
if name == 'alabaster': if name == 'alabaster':
self.load_alabaster_theme() self.load_alabaster_theme()
else: else:

View File

@@ -84,7 +84,7 @@ def publish_msgstr(app: "Sphinx", source: str, source_path: str, source_line: in
class PreserveTranslatableMessages(SphinxTransform): class PreserveTranslatableMessages(SphinxTransform):
""" """
Preserve original translatable messages befor translation Preserve original translatable messages before translation
""" """
default_priority = 10 # this MUST be invoked before Locale transform default_priority = 10 # this MUST be invoked before Locale transform

View File

@@ -324,7 +324,7 @@ def educate_tokens(text_tokens: Iterable[Tuple[str, str]],
for (ttype, text) in text_tokens: for (ttype, text) in text_tokens:
# skip HTML and/or XML tags as well as emtpy text tokens # skip HTML and/or XML tags as well as empty text tokens
# without updating the last character # without updating the last character
if ttype == 'tag' or not text: if ttype == 'tag' or not text:
yield text yield text

View File

@@ -11,7 +11,7 @@
Porter, 1980, An algorithm for suffix stripping, Program, Vol. 14, Porter, 1980, An algorithm for suffix stripping, Program, Vol. 14,
no. 3, pp 130-137, no. 3, pp 130-137,
only differing from it at the points maked --DEPARTURE-- below. only differing from it at the points made --DEPARTURE-- below.
See also https://tartarus.org/martin/PorterStemmer/ See also https://tartarus.org/martin/PorterStemmer/

View File

@@ -297,7 +297,7 @@ def stringify(annotation: Any) -> str:
else: else:
return '.'.join([annotation.__module__, annotation.__name__]) return '.'.join([annotation.__module__, annotation.__name__])
elif inspect.isNewType(annotation): elif inspect.isNewType(annotation):
# Could not get the module where it defiend # Could not get the module where it defined
return annotation.__name__ return annotation.__name__
elif not annotation: elif not annotation:
return repr(annotation) return repr(annotation)

View File

@@ -1225,7 +1225,7 @@ class LaTeXTranslator(SphinxTranslator):
pass pass
def depart_hlistcol(self, node: Element) -> None: def depart_hlistcol(self, node: Element) -> None:
# \columnbreak would guarantee same columns as in html ouput. But # \columnbreak would guarantee same columns as in html output. But
# some testing with long items showed that columns may be too uneven. # some testing with long items showed that columns may be too uneven.
# And in case only of short items, the automatic column breaks should # And in case only of short items, the automatic column breaks should
# match the ones pre-computed by the hlist() directive. # match the ones pre-computed by the hlist() directive.
@@ -1890,7 +1890,7 @@ class LaTeXTranslator(SphinxTranslator):
self.context[-1] += 1 self.context[-1] += 1
def visit_option_argument(self, node: Element) -> None: def visit_option_argument(self, node: Element) -> None:
"""The delimiter betweeen an option and its argument.""" """The delimiter between an option and its argument."""
self.body.append(node.get('delimiter', ' ')) self.body.append(node.get('delimiter', ' '))
def depart_option_argument(self, node: Element) -> None: def depart_option_argument(self, node: Element) -> None:

View File

@@ -1,5 +1,5 @@
""" """
Test module for napoleon PEP 526 compatiblity with google style Test module for napoleon PEP 526 compatibility with google style
""" """
module_level_var: int = 99 module_level_var: int = 99

View File

@@ -1,5 +1,5 @@
""" """
Test module for napoleon PEP 526 compatiblity with numpy style Test module for napoleon PEP 526 compatibility with numpy style
""" """
module_level_var: int = 99 module_level_var: int = 99

View File

@@ -243,7 +243,7 @@ Figures
My description paragraph of the figure. My description paragraph of the figure.
Description paragraph is wraped with legend node. Description paragraph is wrapped with legend node.
.. figure:: rimg.png .. figure:: rimg.png
:align: right :align: right

View File

@@ -19,7 +19,7 @@ class DummyTemplateLoader(BuiltinTemplateLoader):
super().__init__() super().__init__()
builder = mock.Mock() builder = mock.Mock()
builder.config.templates_path = [] builder.config.templates_path = []
builder.app.translater = None builder.app.translator = None
self.init(builder) self.init(builder)

View File

@@ -61,7 +61,7 @@ def parse_version(version):
release = RELEASE_TYPE.get(typ, typ) release = RELEASE_TYPE.get(typ, typ)
return (int(major), int(minor), int(rev), release, int(relver)) return (int(major), int(minor), int(rev), release, int(relver))
raise RuntimeError('Unknown vesion: %s' % version) raise RuntimeError('Unknown version: %s' % version)
class Skip(Exception): class Skip(Exception):