From b1c0d1f00eb4425a36b8bf9272173146e5abed3f Mon Sep 17 00:00:00 2001 From: gibsondan Date: Mon, 25 Oct 2021 10:17:01 -0500 Subject: [PATCH 1/6] Closes #9733: Fix for logging handler flushing warnings in the middle of the build Summary: My project was mysteriously dropping warnings (see https://github.com/sphinx-doc/sphinx/issues/9733 for detailed repro) and I realized that it's becaues it imports libraries like airflow or mlflow that set up loggers automatically when they are imported. This causes this handler to flush even though shouldFlush is set to always return False. A simple workaround is to override flush to be a no-op. Test Plan: Repeat repro steps from #9733 - project now always includes warnings --- sphinx/util/logging.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sphinx/util/logging.py b/sphinx/util/logging.py index e18d82469..d4d843e58 100644 --- a/sphinx/util/logging.py +++ b/sphinx/util/logging.py @@ -171,6 +171,11 @@ class MemoryHandler(logging.handlers.BufferingHandler): def shouldFlush(self, record: logging.LogRecord) -> bool: return False # never flush + def flush(self) -> None: + # suppress any flushes triggered by importing packages that flush + # all handlers at initialization time + pass + def flushTo(self, logger: logging.Logger) -> None: self.acquire() try: From 3c5b31b50d48fce2e2b7d2f950321e608d5bae00 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Sat, 30 Oct 2021 02:01:38 +0900 Subject: [PATCH 2/6] Fix #9757: autodoc_inherit_docstrings does not effect to overriden classmethods --- CHANGES | 2 ++ sphinx/util/inspect.py | 4 +++- tests/test_util_inspect.py | 19 +++++++++++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 4c11f90f7..8bf822c0d 100644 --- a/CHANGES +++ b/CHANGES @@ -64,6 +64,8 @@ Bugs fixed * #9755: autodoc: memory addresses are shown for aliases * #9752: autodoc: Failed to detect type annotation for slots attribute * #9756: autodoc: Crashed if classmethod does not have __func__ attribute +* #9757: autodoc: :confval:`autodoc_inherit_docstrings` does not effect to + overriden classmethods * #9630: autosummary: Failed to build summary table if :confval:`primary_domain` is not 'py' * #9670: html: Fix download file with special characters diff --git a/sphinx/util/inspect.py b/sphinx/util/inspect.py index 6a89d20e0..7e45fe322 100644 --- a/sphinx/util/inspect.py +++ b/sphinx/util/inspect.py @@ -866,7 +866,9 @@ def getdoc(obj: Any, attrgetter: Callable = safe_getattr, for basecls in getmro(cls): meth = basecls.__dict__.get(name) if meth and hasattr(meth, '__func__'): - return getdoc(meth.__func__) + doc = getdoc(meth.__func__) + if doc is not None or not allow_inherited: + return doc doc = attrgetter(obj, '__doc__', None) if ispartial(obj) and doc == obj.__class__.__doc__: diff --git a/tests/test_util_inspect.py b/tests/test_util_inspect.py index 49a987159..0b9dcc15d 100644 --- a/tests/test_util_inspect.py +++ b/tests/test_util_inspect.py @@ -677,6 +677,25 @@ def test_unpartial(): assert inspect.unpartial(func3) is func1 +def test_getdoc_inherited_classmethod(): + class Foo: + @classmethod + def meth(self): + """ + docstring + indented text + """ + + class Bar(Foo): + @classmethod + def meth(self): + # inherited classmethod + pass + + assert inspect.getdoc(Bar.meth, getattr, False, Bar, "meth") is None + assert inspect.getdoc(Bar.meth, getattr, True, Bar, "meth") == Foo.meth.__doc__ + + def test_getdoc_inherited_decorated_method(): class Foo: def meth(self): From 52787deb32305fad40569758e5d17180d729862a Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Sat, 30 Oct 2021 16:40:54 +0900 Subject: [PATCH 3/6] Fix #9775: py domain: Literal typehint was converted to a cross reference --- CHANGES | 2 ++ sphinx/domains/python.py | 6 +++++- tests/test_domain_py.py | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 4c11f90f7..1965ea3bd 100644 --- a/CHANGES +++ b/CHANGES @@ -76,6 +76,8 @@ Bugs fixed * #9678: linkcheck: file extension was shown twice in warnings * #9697: py domain: An index entry with parens was registered for ``py:method`` directive with ``:property:`` option +* #9775: py domain: Literal typehint was converted to a cross reference when + :confval:`autodoc_typehints='description'` * #9708: needs_extension failed to check double-digit version correctly * #9688: Fix :rst:dir:`code`` does not recognize ``:class:`` option diff --git a/sphinx/domains/python.py b/sphinx/domains/python.py index 9bb9a1e72..fd6a78892 100644 --- a/sphinx/domains/python.py +++ b/sphinx/domains/python.py @@ -353,17 +353,21 @@ class PyXrefMixin: split_contnode = bool(contnode and contnode.astext() == target) + in_literal = False results = [] for sub_target in filter(None, sub_targets): if split_contnode: contnode = nodes.Text(sub_target) - if delims_re.match(sub_target): + if in_literal or delims_re.match(sub_target): results.append(contnode or innernode(sub_target, sub_target)) else: results.append(self.make_xref(rolename, domain, sub_target, innernode, contnode, env, inliner, location)) + if sub_target in ('Literal', 'typing.Literal'): + in_literal = True + return results diff --git a/tests/test_domain_py.py b/tests/test_domain_py.py index 5ba63d0e3..e34218dfa 100644 --- a/tests/test_domain_py.py +++ b/tests/test_domain_py.py @@ -1110,6 +1110,42 @@ def test_info_field_list_piped_type(app): **{"py:module": "example", "py:class": "Class"}) +def test_info_field_list_Literal(app): + text = (".. py:module:: example\n" + ".. py:class:: Class\n" + "\n" + " :param age: blah blah\n" + " :type age: Literal['foo', 'bar', 'baz']\n") + doctree = restructuredtext.parse(app, text) + + assert_node(doctree, + (nodes.target, + addnodes.index, + addnodes.index, + [desc, ([desc_signature, ([desc_annotation, ("class", desc_sig_space)], + [desc_addname, "example."], + [desc_name, "Class"])], + [desc_content, nodes.field_list, nodes.field, (nodes.field_name, + nodes.field_body)])])) + assert_node(doctree[3][1][0][0][1], + ([nodes.paragraph, ([addnodes.literal_strong, "age"], + " (", + [pending_xref, addnodes.literal_emphasis, "Literal"], + [addnodes.literal_emphasis, "["], + [addnodes.literal_emphasis, "'foo'"], + [addnodes.literal_emphasis, ", "], + [addnodes.literal_emphasis, "'bar'"], + [addnodes.literal_emphasis, ", "], + [addnodes.literal_emphasis, "'baz'"], + [addnodes.literal_emphasis, "]"], + ")", + " -- ", + "blah blah")],)) + assert_node(doctree[3][1][0][0][1][0][2], pending_xref, + refdomain="py", reftype="class", reftarget="Literal", + **{"py:module": "example", "py:class": "Class"}) + + def test_info_field_list_var(app): text = (".. py:class:: Class\n" "\n" From 65647014e6a052a40950271b70a366edd493c9b5 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Sun, 31 Oct 2021 01:18:52 +0900 Subject: [PATCH 4/6] Update CHANGES for PR #9772 --- CHANGES | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGES b/CHANGES index 8bf822c0d..4848e29e7 100644 --- a/CHANGES +++ b/CHANGES @@ -80,6 +80,8 @@ Bugs fixed directive with ``:property:`` option * #9708: needs_extension failed to check double-digit version correctly * #9688: Fix :rst:dir:`code`` does not recognize ``:class:`` option +* #9733: Fix for logging handler flushing warnings in the middle of the docs + build Testing -------- From 3f3de7d29abefe4c87e03f527a8d5b9e136d3645 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Sun, 31 Oct 2021 01:33:16 +0900 Subject: [PATCH 5/6] Support docutils-0.18: Consume generator of Element.traverse() The last fix in i18n module was incorrect because it compares the "already consumed" generators. It should compares the lists of nodes. --- sphinx/transforms/i18n.py | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/sphinx/transforms/i18n.py b/sphinx/transforms/i18n.py index d0bc8af5d..8ef7987f9 100644 --- a/sphinx/transforms/i18n.py +++ b/sphinx/transforms/i18n.py @@ -296,9 +296,9 @@ class Locale(SphinxTransform): lst.append(new) is_autofootnote_ref = NodeMatcher(nodes.footnote_reference, auto=Any) - old_foot_refs: List[nodes.footnote_reference] = node.traverse(is_autofootnote_ref) - new_foot_refs: List[nodes.footnote_reference] = patch.traverse(is_autofootnote_ref) - if len(list(old_foot_refs)) != len(list(new_foot_refs)): + old_foot_refs: List[nodes.footnote_reference] = list(node.traverse(is_autofootnote_ref)) # NOQA + new_foot_refs: List[nodes.footnote_reference] = list(patch.traverse(is_autofootnote_ref)) # NOQA + if len(old_foot_refs) != len(new_foot_refs): old_foot_ref_rawsources = [ref.rawsource for ref in old_foot_refs] new_foot_ref_rawsources = [ref.rawsource for ref in new_foot_refs] logger.warning(__('inconsistent footnote references in translated message.' + @@ -339,9 +339,9 @@ class Locale(SphinxTransform): # * use translated refname for section refname. # * inline reference "`Python <...>`_" has no 'refname'. is_refnamed_ref = NodeMatcher(nodes.reference, refname=Any) - old_refs: List[nodes.reference] = node.traverse(is_refnamed_ref) - new_refs: List[nodes.reference] = patch.traverse(is_refnamed_ref) - if len(list(old_refs)) != len(list(new_refs)): + old_refs: List[nodes.reference] = list(node.traverse(is_refnamed_ref)) + new_refs: List[nodes.reference] = list(patch.traverse(is_refnamed_ref)) + if len(old_refs) != len(new_refs): old_ref_rawsources = [ref.rawsource for ref in old_refs] new_ref_rawsources = [ref.rawsource for ref in new_refs] logger.warning(__('inconsistent references in translated message.' + @@ -366,10 +366,10 @@ class Locale(SphinxTransform): # refnamed footnote should use original 'ids'. is_refnamed_footnote_ref = NodeMatcher(nodes.footnote_reference, refname=Any) - old_foot_refs = node.traverse(is_refnamed_footnote_ref) - new_foot_refs = patch.traverse(is_refnamed_footnote_ref) + old_foot_refs = list(node.traverse(is_refnamed_footnote_ref)) + new_foot_refs = list(patch.traverse(is_refnamed_footnote_ref)) refname_ids_map: Dict[str, List[str]] = {} - if len(list(old_foot_refs)) != len(list(new_foot_refs)): + if len(old_foot_refs) != len(new_foot_refs): old_foot_ref_rawsources = [ref.rawsource for ref in old_foot_refs] new_foot_ref_rawsources = [ref.rawsource for ref in new_foot_refs] logger.warning(__('inconsistent footnote references in translated message.' + @@ -385,10 +385,10 @@ class Locale(SphinxTransform): # citation should use original 'ids'. is_citation_ref = NodeMatcher(nodes.citation_reference, refname=Any) - old_cite_refs: List[nodes.citation_reference] = node.traverse(is_citation_ref) - new_cite_refs: List[nodes.citation_reference] = patch.traverse(is_citation_ref) + old_cite_refs: List[nodes.citation_reference] = list(node.traverse(is_citation_ref)) # NOQA + new_cite_refs: List[nodes.citation_reference] = list(patch.traverse(is_citation_ref)) # NOQA refname_ids_map = {} - if len(list(old_cite_refs)) != len(list(new_cite_refs)): + if len(old_cite_refs) != len(new_cite_refs): old_cite_ref_rawsources = [ref.rawsource for ref in old_cite_refs] new_cite_ref_rawsources = [ref.rawsource for ref in new_cite_refs] logger.warning(__('inconsistent citation references in translated message.' + @@ -405,10 +405,10 @@ class Locale(SphinxTransform): # Original pending_xref['reftarget'] contain not-translated # target name, new pending_xref must use original one. # This code restricts to change ref-targets in the translation. - old_xrefs = node.traverse(addnodes.pending_xref) - new_xrefs = patch.traverse(addnodes.pending_xref) + old_xrefs = list(node.traverse(addnodes.pending_xref)) + new_xrefs = list(patch.traverse(addnodes.pending_xref)) xref_reftarget_map = {} - if len(list(old_xrefs)) != len(list(new_xrefs)): + if len(old_xrefs) != len(new_xrefs): old_xref_rawsources = [xref.rawsource for xref in old_xrefs] new_xref_rawsources = [xref.rawsource for xref in new_xrefs] logger.warning(__('inconsistent term references in translated message.' + From 0f8715e5c9f37e9952f6010ba5f707aaeac95f9a Mon Sep 17 00:00:00 2001 From: tk0miya Date: Sun, 31 Oct 2021 00:10:50 +0000 Subject: [PATCH 6/6] Update message catalogs --- sphinx/locale/ca/LC_MESSAGES/sphinx.mo | Bin 5661 -> 5661 bytes sphinx/locale/ca/LC_MESSAGES/sphinx.po | 8 ++++---- sphinx/locale/el/LC_MESSAGES/sphinx.mo | Bin 82688 -> 82688 bytes sphinx/locale/el/LC_MESSAGES/sphinx.po | 8 ++++---- sphinx/locale/et/LC_MESSAGES/sphinx.mo | Bin 33998 -> 33998 bytes sphinx/locale/et/LC_MESSAGES/sphinx.po | 8 ++++---- sphinx/locale/hr/LC_MESSAGES/sphinx.mo | Bin 17382 -> 17382 bytes sphinx/locale/hr/LC_MESSAGES/sphinx.po | 8 ++++---- sphinx/locale/hu/LC_MESSAGES/sphinx.mo | Bin 11774 -> 11774 bytes sphinx/locale/hu/LC_MESSAGES/sphinx.po | 8 ++++---- sphinx/locale/pl/LC_MESSAGES/sphinx.mo | Bin 29929 -> 29929 bytes sphinx/locale/pl/LC_MESSAGES/sphinx.po | 8 ++++---- sphinx/locale/sk/LC_MESSAGES/sphinx.mo | Bin 68932 -> 68932 bytes sphinx/locale/sk/LC_MESSAGES/sphinx.po | 8 ++++---- sphinx/locale/sl/LC_MESSAGES/sphinx.mo | Bin 5488 -> 5488 bytes sphinx/locale/sl/LC_MESSAGES/sphinx.po | 8 ++++---- sphinx/locale/sphinx.pot | 8 ++++---- sphinx/locale/sq/LC_MESSAGES/sphinx.mo | Bin 78906 -> 78906 bytes sphinx/locale/sq/LC_MESSAGES/sphinx.po | 8 ++++---- sphinx/locale/sr_RS/LC_MESSAGES/sphinx.mo | Bin 588 -> 588 bytes sphinx/locale/sr_RS/LC_MESSAGES/sphinx.po | 8 ++++---- sphinx/locale/tr/LC_MESSAGES/sphinx.mo | Bin 58646 -> 58646 bytes sphinx/locale/tr/LC_MESSAGES/sphinx.po | 8 ++++---- sphinx/locale/yue/LC_MESSAGES/sphinx.mo | Bin 496 -> 496 bytes sphinx/locale/yue/LC_MESSAGES/sphinx.po | 8 ++++---- 25 files changed, 52 insertions(+), 52 deletions(-) diff --git a/sphinx/locale/ca/LC_MESSAGES/sphinx.mo b/sphinx/locale/ca/LC_MESSAGES/sphinx.mo index 9e223914678ac3d0bc951b824399580d70f0f2d6..4330d14c507d8e8f1e8a16706d4d2500b38b0f4c 100644 GIT binary patch delta 21 ccmbQMGgoKBVqOkoLj?l^D?@|Lt9gq!085YtUjP6A delta 21 ccmbQMGgoKBVqOj-Qw2jaD--k0t9gq!08BCla{vGU diff --git a/sphinx/locale/ca/LC_MESSAGES/sphinx.po b/sphinx/locale/ca/LC_MESSAGES/sphinx.po index 407f06ee8..ee7764ac6 100644 --- a/sphinx/locale/ca/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/ca/LC_MESSAGES/sphinx.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-10-25 16:47+0000\n" +"POT-Creation-Date: 2021-10-31 00:10+0000\n" "PO-Revision-Date: 2021-10-10 00:10+0000\n" "Last-Translator: Komiya Takeshi \n" "Language-Team: Catalan (http://www.transifex.com/sphinx-doc/sphinx-1/language/ca/)\n" @@ -2867,7 +2867,7 @@ msgid "" msgstr "" #: sphinx/ext/autodoc/__init__.py:1304 sphinx/ext/autodoc/__init__.py:1378 -#: sphinx/ext/autodoc/__init__.py:2735 +#: sphinx/ext/autodoc/__init__.py:2743 #, python-format msgid "Failed to get a function signature for %s: %s" msgstr "" @@ -2898,12 +2898,12 @@ msgstr "" msgid "Failed to get a method signature for %s: %s" msgstr "" -#: sphinx/ext/autodoc/__init__.py:2349 +#: sphinx/ext/autodoc/__init__.py:2348 #, python-format msgid "Invalid __slots__ found on %s. Ignored." msgstr "" -#: sphinx/ext/autodoc/__init__.py:2778 +#: sphinx/ext/autodoc/__init__.py:2786 msgid "" "autodoc_member_order now accepts \"alphabetical\" instead of \"alphabetic\"." " Please update your setting." diff --git a/sphinx/locale/el/LC_MESSAGES/sphinx.mo b/sphinx/locale/el/LC_MESSAGES/sphinx.mo index ecfe239e2246cd2acac04926bece552b4f6da74a..b1818f164b7e608cb45c8f2583e8307e94ae28f0 100644 GIT binary patch delta 23 ecmZo@V{K?--JsCKVQi>iU|?lvuvw$&#sL6Vy$9t0 delta 23 ecmZo@V{K?--JsCKVPvXcXl7+%zFDK`#sL6WUkCXB diff --git a/sphinx/locale/el/LC_MESSAGES/sphinx.po b/sphinx/locale/el/LC_MESSAGES/sphinx.po index 7d413baab..91b3ddadb 100644 --- a/sphinx/locale/el/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/el/LC_MESSAGES/sphinx.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-10-25 16:47+0000\n" +"POT-Creation-Date: 2021-10-31 00:10+0000\n" "PO-Revision-Date: 2021-10-10 00:10+0000\n" "Last-Translator: Komiya Takeshi \n" "Language-Team: Greek (http://www.transifex.com/sphinx-doc/sphinx-1/language/el/)\n" @@ -2869,7 +2869,7 @@ msgid "" msgstr "" #: sphinx/ext/autodoc/__init__.py:1304 sphinx/ext/autodoc/__init__.py:1378 -#: sphinx/ext/autodoc/__init__.py:2735 +#: sphinx/ext/autodoc/__init__.py:2743 #, python-format msgid "Failed to get a function signature for %s: %s" msgstr "" @@ -2900,12 +2900,12 @@ msgstr "" msgid "Failed to get a method signature for %s: %s" msgstr "" -#: sphinx/ext/autodoc/__init__.py:2349 +#: sphinx/ext/autodoc/__init__.py:2348 #, python-format msgid "Invalid __slots__ found on %s. Ignored." msgstr "" -#: sphinx/ext/autodoc/__init__.py:2778 +#: sphinx/ext/autodoc/__init__.py:2786 msgid "" "autodoc_member_order now accepts \"alphabetical\" instead of \"alphabetic\"." " Please update your setting." diff --git a/sphinx/locale/et/LC_MESSAGES/sphinx.mo b/sphinx/locale/et/LC_MESSAGES/sphinx.mo index 6be71bb04129dcf7f7656632a64e62001f13070a..1c6bb42574fd233a2bdc01d4c1a67a2733bcb020 100644 GIT binary patch delta 23 ecmX@t$#kxhX+xS1hq0l8fq|8w!R9=l1PcIV5eK0F delta 23 ecmX@t$#kxhX+xS1hmom*p_!G5`Q|*I1PcIVvj?>R diff --git a/sphinx/locale/et/LC_MESSAGES/sphinx.po b/sphinx/locale/et/LC_MESSAGES/sphinx.po index 415c298a8..f3b9e75fb 100644 --- a/sphinx/locale/et/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/et/LC_MESSAGES/sphinx.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-10-25 16:47+0000\n" +"POT-Creation-Date: 2021-10-31 00:10+0000\n" "PO-Revision-Date: 2021-10-10 00:10+0000\n" "Last-Translator: Komiya Takeshi \n" "Language-Team: Estonian (http://www.transifex.com/sphinx-doc/sphinx-1/language/et/)\n" @@ -2870,7 +2870,7 @@ msgid "" msgstr "" #: sphinx/ext/autodoc/__init__.py:1304 sphinx/ext/autodoc/__init__.py:1378 -#: sphinx/ext/autodoc/__init__.py:2735 +#: sphinx/ext/autodoc/__init__.py:2743 #, python-format msgid "Failed to get a function signature for %s: %s" msgstr "" @@ -2901,12 +2901,12 @@ msgstr "" msgid "Failed to get a method signature for %s: %s" msgstr "" -#: sphinx/ext/autodoc/__init__.py:2349 +#: sphinx/ext/autodoc/__init__.py:2348 #, python-format msgid "Invalid __slots__ found on %s. Ignored." msgstr "" -#: sphinx/ext/autodoc/__init__.py:2778 +#: sphinx/ext/autodoc/__init__.py:2786 msgid "" "autodoc_member_order now accepts \"alphabetical\" instead of \"alphabetic\"." " Please update your setting." diff --git a/sphinx/locale/hr/LC_MESSAGES/sphinx.mo b/sphinx/locale/hr/LC_MESSAGES/sphinx.mo index 52c2453c1e8f0b841741338793d1fdcb087d4bcf..5ecb9cee59b1a18eb436a42e6abd2d2354bdbdd2 100644 GIT binary patch delta 23 ecmaFX&iJgIaf7Y~hq0l8fq|8w!Dds9jnV*ODF;OW delta 23 ecmaFX&iJgIaf7Y~hmom*p_!G5`DRm%jnV*O%LiEi diff --git a/sphinx/locale/hr/LC_MESSAGES/sphinx.po b/sphinx/locale/hr/LC_MESSAGES/sphinx.po index eeec09de2..3292cd9aa 100644 --- a/sphinx/locale/hr/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/hr/LC_MESSAGES/sphinx.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-10-25 16:47+0000\n" +"POT-Creation-Date: 2021-10-31 00:10+0000\n" "PO-Revision-Date: 2021-10-10 00:10+0000\n" "Last-Translator: Komiya Takeshi \n" "Language-Team: Croatian (http://www.transifex.com/sphinx-doc/sphinx-1/language/hr/)\n" @@ -2867,7 +2867,7 @@ msgid "" msgstr "" #: sphinx/ext/autodoc/__init__.py:1304 sphinx/ext/autodoc/__init__.py:1378 -#: sphinx/ext/autodoc/__init__.py:2735 +#: sphinx/ext/autodoc/__init__.py:2743 #, python-format msgid "Failed to get a function signature for %s: %s" msgstr "" @@ -2898,12 +2898,12 @@ msgstr "" msgid "Failed to get a method signature for %s: %s" msgstr "" -#: sphinx/ext/autodoc/__init__.py:2349 +#: sphinx/ext/autodoc/__init__.py:2348 #, python-format msgid "Invalid __slots__ found on %s. Ignored." msgstr "" -#: sphinx/ext/autodoc/__init__.py:2778 +#: sphinx/ext/autodoc/__init__.py:2786 msgid "" "autodoc_member_order now accepts \"alphabetical\" instead of \"alphabetic\"." " Please update your setting." diff --git a/sphinx/locale/hu/LC_MESSAGES/sphinx.mo b/sphinx/locale/hu/LC_MESSAGES/sphinx.mo index c6eed34f997eea21788264e48771a3dd8dcde76f..b79fde0fd376c1b61937c2e7ed72ff56b747a5ca 100644 GIT binary patch delta 21 ccmewt{V#gMekl%PLj?l^D?@|L$ED1L0c2qZp#T5? delta 21 ccmewt{V#gMekl$kQw2jaD--k0$ED1L0c8URwEzGB diff --git a/sphinx/locale/hu/LC_MESSAGES/sphinx.po b/sphinx/locale/hu/LC_MESSAGES/sphinx.po index a7aad89c8..979870f64 100644 --- a/sphinx/locale/hu/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/hu/LC_MESSAGES/sphinx.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-10-25 16:47+0000\n" +"POT-Creation-Date: 2021-10-31 00:10+0000\n" "PO-Revision-Date: 2021-10-10 00:10+0000\n" "Last-Translator: Komiya Takeshi \n" "Language-Team: Hungarian (http://www.transifex.com/sphinx-doc/sphinx-1/language/hu/)\n" @@ -2872,7 +2872,7 @@ msgid "" msgstr "" #: sphinx/ext/autodoc/__init__.py:1304 sphinx/ext/autodoc/__init__.py:1378 -#: sphinx/ext/autodoc/__init__.py:2735 +#: sphinx/ext/autodoc/__init__.py:2743 #, python-format msgid "Failed to get a function signature for %s: %s" msgstr "" @@ -2903,12 +2903,12 @@ msgstr "" msgid "Failed to get a method signature for %s: %s" msgstr "" -#: sphinx/ext/autodoc/__init__.py:2349 +#: sphinx/ext/autodoc/__init__.py:2348 #, python-format msgid "Invalid __slots__ found on %s. Ignored." msgstr "" -#: sphinx/ext/autodoc/__init__.py:2778 +#: sphinx/ext/autodoc/__init__.py:2786 msgid "" "autodoc_member_order now accepts \"alphabetical\" instead of \"alphabetic\"." " Please update your setting." diff --git a/sphinx/locale/pl/LC_MESSAGES/sphinx.mo b/sphinx/locale/pl/LC_MESSAGES/sphinx.mo index 64bff6699868dc1d1cdc422a9ff623f760a03caa..211236fd60f1aea10dc81407575eb52115688574 100644 GIT binary patch delta 23 fcmaF)lJVtB#tn*29L9zU1_oA!2AegV4j2Idb9D$& delta 23 fcmaF)lJVtB#tn*297d)JhGteK=9@L04j2IdbQcI^ diff --git a/sphinx/locale/pl/LC_MESSAGES/sphinx.po b/sphinx/locale/pl/LC_MESSAGES/sphinx.po index 4ba930cc1..f6338072e 100644 --- a/sphinx/locale/pl/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/pl/LC_MESSAGES/sphinx.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-10-25 16:47+0000\n" +"POT-Creation-Date: 2021-10-31 00:10+0000\n" "PO-Revision-Date: 2021-10-10 00:10+0000\n" "Last-Translator: Komiya Takeshi \n" "Language-Team: Polish (http://www.transifex.com/sphinx-doc/sphinx-1/language/pl/)\n" @@ -2870,7 +2870,7 @@ msgid "" msgstr "" #: sphinx/ext/autodoc/__init__.py:1304 sphinx/ext/autodoc/__init__.py:1378 -#: sphinx/ext/autodoc/__init__.py:2735 +#: sphinx/ext/autodoc/__init__.py:2743 #, python-format msgid "Failed to get a function signature for %s: %s" msgstr "" @@ -2901,12 +2901,12 @@ msgstr "" msgid "Failed to get a method signature for %s: %s" msgstr "" -#: sphinx/ext/autodoc/__init__.py:2349 +#: sphinx/ext/autodoc/__init__.py:2348 #, python-format msgid "Invalid __slots__ found on %s. Ignored." msgstr "" -#: sphinx/ext/autodoc/__init__.py:2778 +#: sphinx/ext/autodoc/__init__.py:2786 msgid "" "autodoc_member_order now accepts \"alphabetical\" instead of \"alphabetic\"." " Please update your setting." diff --git a/sphinx/locale/sk/LC_MESSAGES/sphinx.mo b/sphinx/locale/sk/LC_MESSAGES/sphinx.mo index 1a09a1ad3980af06641c55c419cf1d0ea9f87363..50f8968e75701ac4cc09fb2b8ea6066c67e805e8 100644 GIT binary patch delta 23 fcmX>yi{;2HmJPqAa2OjZ7#LU?8f<2o>Qn&$a}fxR delta 23 fcmX>yi{;2HmJPqAa2S~?7@Ap`m~Up9>Qn&$bF&Dd diff --git a/sphinx/locale/sk/LC_MESSAGES/sphinx.po b/sphinx/locale/sk/LC_MESSAGES/sphinx.po index 6e3b76407..00f5401e4 100644 --- a/sphinx/locale/sk/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/sk/LC_MESSAGES/sphinx.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-10-25 16:47+0000\n" +"POT-Creation-Date: 2021-10-31 00:10+0000\n" "PO-Revision-Date: 2021-10-10 00:10+0000\n" "Last-Translator: Komiya Takeshi \n" "Language-Team: Slovak (http://www.transifex.com/sphinx-doc/sphinx-1/language/sk/)\n" @@ -2869,7 +2869,7 @@ msgid "" msgstr "chýbajúci atribút spomenutý vo voľbe :members: : modul %s, atribút %s" #: sphinx/ext/autodoc/__init__.py:1304 sphinx/ext/autodoc/__init__.py:1378 -#: sphinx/ext/autodoc/__init__.py:2735 +#: sphinx/ext/autodoc/__init__.py:2743 #, python-format msgid "Failed to get a function signature for %s: %s" msgstr "" @@ -2900,12 +2900,12 @@ msgstr "alias pre TypeVar(%s)" msgid "Failed to get a method signature for %s: %s" msgstr "" -#: sphinx/ext/autodoc/__init__.py:2349 +#: sphinx/ext/autodoc/__init__.py:2348 #, python-format msgid "Invalid __slots__ found on %s. Ignored." msgstr "Neplatné __slots__ nájdené v %s. Ignorované." -#: sphinx/ext/autodoc/__init__.py:2778 +#: sphinx/ext/autodoc/__init__.py:2786 msgid "" "autodoc_member_order now accepts \"alphabetical\" instead of \"alphabetic\"." " Please update your setting." diff --git a/sphinx/locale/sl/LC_MESSAGES/sphinx.mo b/sphinx/locale/sl/LC_MESSAGES/sphinx.mo index 16c4ca4795b290cc2f3b780e8cd2cfa4c53319bc..c6b6d4c24acdf36eaca5a60f9b9f949b18c2034f 100644 GIT binary patch delta 21 ccmeyM^+9WcIWLE?p@M;dm7&3AdtO5h08dH<=l}o! delta 21 ccmeyM^+9WcIWLEise+-Im5KRgdtO5h08i`%`~Uy| diff --git a/sphinx/locale/sl/LC_MESSAGES/sphinx.po b/sphinx/locale/sl/LC_MESSAGES/sphinx.po index 09e1129a0..0ebe83c10 100644 --- a/sphinx/locale/sl/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/sl/LC_MESSAGES/sphinx.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-10-25 16:47+0000\n" +"POT-Creation-Date: 2021-10-31 00:10+0000\n" "PO-Revision-Date: 2021-10-10 00:10+0000\n" "Last-Translator: Komiya Takeshi \n" "Language-Team: Slovenian (http://www.transifex.com/sphinx-doc/sphinx-1/language/sl/)\n" @@ -2866,7 +2866,7 @@ msgid "" msgstr "" #: sphinx/ext/autodoc/__init__.py:1304 sphinx/ext/autodoc/__init__.py:1378 -#: sphinx/ext/autodoc/__init__.py:2735 +#: sphinx/ext/autodoc/__init__.py:2743 #, python-format msgid "Failed to get a function signature for %s: %s" msgstr "" @@ -2897,12 +2897,12 @@ msgstr "" msgid "Failed to get a method signature for %s: %s" msgstr "" -#: sphinx/ext/autodoc/__init__.py:2349 +#: sphinx/ext/autodoc/__init__.py:2348 #, python-format msgid "Invalid __slots__ found on %s. Ignored." msgstr "" -#: sphinx/ext/autodoc/__init__.py:2778 +#: sphinx/ext/autodoc/__init__.py:2786 msgid "" "autodoc_member_order now accepts \"alphabetical\" instead of \"alphabetic\"." " Please update your setting." diff --git a/sphinx/locale/sphinx.pot b/sphinx/locale/sphinx.pot index 94c26f6bc..eb6ac784b 100644 --- a/sphinx/locale/sphinx.pot +++ b/sphinx/locale/sphinx.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx 4.3.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-10-25 16:47+0000\n" +"POT-Creation-Date: 2021-10-31 00:10+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -2884,7 +2884,7 @@ msgid "missing attribute mentioned in :members: option: module %s, attribute %s" msgstr "" #: sphinx/ext/autodoc/__init__.py:1304 sphinx/ext/autodoc/__init__.py:1378 -#: sphinx/ext/autodoc/__init__.py:2735 +#: sphinx/ext/autodoc/__init__.py:2743 #, python-format msgid "Failed to get a function signature for %s: %s" msgstr "" @@ -2915,12 +2915,12 @@ msgstr "" msgid "Failed to get a method signature for %s: %s" msgstr "" -#: sphinx/ext/autodoc/__init__.py:2349 +#: sphinx/ext/autodoc/__init__.py:2348 #, python-format msgid "Invalid __slots__ found on %s. Ignored." msgstr "" -#: sphinx/ext/autodoc/__init__.py:2778 +#: sphinx/ext/autodoc/__init__.py:2786 msgid "" "autodoc_member_order now accepts \"alphabetical\" instead of " "\"alphabetic\". Please update your setting." diff --git a/sphinx/locale/sq/LC_MESSAGES/sphinx.mo b/sphinx/locale/sq/LC_MESSAGES/sphinx.mo index 51486fd4a756d4b150a17f773a0cb8b47758edb2..eca45a5e863a6cc0f669dea1b77147439c7cfc42 100644 GIT binary patch delta 23 fcmdn>f@RkWmJRzBa~K;c7#LU?8f-qcxMTtVez*z+ delta 23 fcmdn>f@RkWmJRzBa~PQ_7@Ap`m~TF|xMTtVe_9F| diff --git a/sphinx/locale/sq/LC_MESSAGES/sphinx.po b/sphinx/locale/sq/LC_MESSAGES/sphinx.po index 67ad6ed1d..4f7c11bd7 100644 --- a/sphinx/locale/sq/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/sq/LC_MESSAGES/sphinx.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-10-25 16:47+0000\n" +"POT-Creation-Date: 2021-10-31 00:10+0000\n" "PO-Revision-Date: 2021-10-10 00:10+0000\n" "Last-Translator: Komiya Takeshi \n" "Language-Team: Albanian (http://www.transifex.com/sphinx-doc/sphinx-1/language/sq/)\n" @@ -2867,7 +2867,7 @@ msgid "" msgstr "u përmend atribut që mungon në :members: mundësi: modul %s, atributi %s" #: sphinx/ext/autodoc/__init__.py:1304 sphinx/ext/autodoc/__init__.py:1378 -#: sphinx/ext/autodoc/__init__.py:2735 +#: sphinx/ext/autodoc/__init__.py:2743 #, python-format msgid "Failed to get a function signature for %s: %s" msgstr "S’u arrit të merret një nënshkrim funksioni për %s: %s" @@ -2898,12 +2898,12 @@ msgstr "alias për TypeVar(%s)" msgid "Failed to get a method signature for %s: %s" msgstr "S’u arrit të merre një nënshkrim metode për %s: %s" -#: sphinx/ext/autodoc/__init__.py:2349 +#: sphinx/ext/autodoc/__init__.py:2348 #, python-format msgid "Invalid __slots__ found on %s. Ignored." msgstr "U gjet __slots__ i pavlefshëm në %s. U shpërfill." -#: sphinx/ext/autodoc/__init__.py:2778 +#: sphinx/ext/autodoc/__init__.py:2786 msgid "" "autodoc_member_order now accepts \"alphabetical\" instead of \"alphabetic\"." " Please update your setting." diff --git a/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.mo b/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.mo index cb17b429cfe9dc42e06fa7a6ba3b89187ecd5b08..14dff456ee4a0de846d24f7cd0d7edec158367c6 100644 GIT binary patch delta 19 acmX@Za)xC>2Zyntf`NgRp~1!pdl&&g8wNfA delta 19 acmX@Za)xC>2ZxcVf}xp}iTTC}dl&&gsRmL2 diff --git a/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.po b/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.po index c69fc1351..9707e5dbe 100644 --- a/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-10-25 16:47+0000\n" +"POT-Creation-Date: 2021-10-31 00:10+0000\n" "PO-Revision-Date: 2021-10-10 00:10+0000\n" "Last-Translator: Komiya Takeshi \n" "Language-Team: Serbian (Serbia) (http://www.transifex.com/sphinx-doc/sphinx-1/language/sr_RS/)\n" @@ -2866,7 +2866,7 @@ msgid "" msgstr "" #: sphinx/ext/autodoc/__init__.py:1304 sphinx/ext/autodoc/__init__.py:1378 -#: sphinx/ext/autodoc/__init__.py:2735 +#: sphinx/ext/autodoc/__init__.py:2743 #, python-format msgid "Failed to get a function signature for %s: %s" msgstr "" @@ -2897,12 +2897,12 @@ msgstr "" msgid "Failed to get a method signature for %s: %s" msgstr "" -#: sphinx/ext/autodoc/__init__.py:2349 +#: sphinx/ext/autodoc/__init__.py:2348 #, python-format msgid "Invalid __slots__ found on %s. Ignored." msgstr "" -#: sphinx/ext/autodoc/__init__.py:2778 +#: sphinx/ext/autodoc/__init__.py:2786 msgid "" "autodoc_member_order now accepts \"alphabetical\" instead of \"alphabetic\"." " Please update your setting." diff --git a/sphinx/locale/tr/LC_MESSAGES/sphinx.mo b/sphinx/locale/tr/LC_MESSAGES/sphinx.mo index 65366b33d312707086b2b418e74797386b5036f8..de9059a7424084f01814100852a793c3012890cb 100644 GIT binary patch delta 23 ecmbPsih0^8<_$cx9L9zU1_oA!2Af4{nKA%k7Y8)} delta 23 ecmbPsih0^8<_$cx97d)JhGteK=9@)onKA%kxd%xA diff --git a/sphinx/locale/tr/LC_MESSAGES/sphinx.po b/sphinx/locale/tr/LC_MESSAGES/sphinx.po index 5fc22ea17..86d03a182 100644 --- a/sphinx/locale/tr/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/tr/LC_MESSAGES/sphinx.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-10-25 16:47+0000\n" +"POT-Creation-Date: 2021-10-31 00:10+0000\n" "PO-Revision-Date: 2021-10-10 00:10+0000\n" "Last-Translator: Komiya Takeshi \n" "Language-Team: Turkish (http://www.transifex.com/sphinx-doc/sphinx-1/language/tr/)\n" @@ -2870,7 +2870,7 @@ msgid "" msgstr "" #: sphinx/ext/autodoc/__init__.py:1304 sphinx/ext/autodoc/__init__.py:1378 -#: sphinx/ext/autodoc/__init__.py:2735 +#: sphinx/ext/autodoc/__init__.py:2743 #, python-format msgid "Failed to get a function signature for %s: %s" msgstr "" @@ -2901,12 +2901,12 @@ msgstr "" msgid "Failed to get a method signature for %s: %s" msgstr "" -#: sphinx/ext/autodoc/__init__.py:2349 +#: sphinx/ext/autodoc/__init__.py:2348 #, python-format msgid "Invalid __slots__ found on %s. Ignored." msgstr "" -#: sphinx/ext/autodoc/__init__.py:2778 +#: sphinx/ext/autodoc/__init__.py:2786 msgid "" "autodoc_member_order now accepts \"alphabetical\" instead of \"alphabetic\"." " Please update your setting." diff --git a/sphinx/locale/yue/LC_MESSAGES/sphinx.mo b/sphinx/locale/yue/LC_MESSAGES/sphinx.mo index be69bc98842c8b673e9dc7f8bfb27ee24941986b..7e3c4d89dd064c7f9472bac56e042cce5cdda1de 100644 GIT binary patch delta 19 acmeys{DFBw2Zyntf`NgRp~1!p35)\n" "Language-Team: Cantonese (http://www.transifex.com/sphinx-doc/sphinx-1/language/yue/)\n" @@ -2866,7 +2866,7 @@ msgid "" msgstr "" #: sphinx/ext/autodoc/__init__.py:1304 sphinx/ext/autodoc/__init__.py:1378 -#: sphinx/ext/autodoc/__init__.py:2735 +#: sphinx/ext/autodoc/__init__.py:2743 #, python-format msgid "Failed to get a function signature for %s: %s" msgstr "" @@ -2897,12 +2897,12 @@ msgstr "" msgid "Failed to get a method signature for %s: %s" msgstr "" -#: sphinx/ext/autodoc/__init__.py:2349 +#: sphinx/ext/autodoc/__init__.py:2348 #, python-format msgid "Invalid __slots__ found on %s. Ignored." msgstr "" -#: sphinx/ext/autodoc/__init__.py:2778 +#: sphinx/ext/autodoc/__init__.py:2786 msgid "" "autodoc_member_order now accepts \"alphabetical\" instead of \"alphabetic\"." " Please update your setting."