From 26ca57893d5e787b948b365ebeb3a444a3763302 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Thu, 4 Aug 2022 16:48:24 +0100 Subject: [PATCH 01/26] Fix small typo in extension hello world tutorial --- doc/development/tutorials/helloworld.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/development/tutorials/helloworld.rst b/doc/development/tutorials/helloworld.rst index 2273330f1..3e6e78eb9 100644 --- a/doc/development/tutorials/helloworld.rst +++ b/doc/development/tutorials/helloworld.rst @@ -105,7 +105,7 @@ Sphinx. :linenos: :lines: 12- -The simplest thing you can do it call the :meth:`~Sphinx.add_directive` method, +The simplest thing you can do is call the :meth:`~Sphinx.add_directive` method, which is what we've done here. For this particular call, the first argument is the name of the directive itself as used in a reST file. In this case, we would use ``helloworld``. For example: From 712501b6b9f6fbd94091332502ab2e24bde39708 Mon Sep 17 00:00:00 2001 From: tk0miya Date: Sun, 7 Aug 2022 00:25:14 +0000 Subject: [PATCH 02/26] Update message catalogs --- sphinx/locale/ar/LC_MESSAGES/sphinx.mo | Bin 7947 -> 7947 bytes sphinx/locale/ar/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/bg/LC_MESSAGES/sphinx.mo | Bin 492 -> 492 bytes sphinx/locale/bg/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/bn/LC_MESSAGES/sphinx.mo | Bin 7976 -> 7976 bytes sphinx/locale/bn/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/ca/LC_MESSAGES/sphinx.mo | Bin 5587 -> 5587 bytes sphinx/locale/ca/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/cak/LC_MESSAGES/sphinx.mo | Bin 2424 -> 2424 bytes sphinx/locale/cak/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/cs/LC_MESSAGES/sphinx.mo | Bin 8265 -> 8265 bytes sphinx/locale/cs/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/da/LC_MESSAGES/sphinx.mo | Bin 13160 -> 13160 bytes sphinx/locale/da/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/de/LC_MESSAGES/sphinx.mo | Bin 11216 -> 11216 bytes sphinx/locale/de/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/en_FR/LC_MESSAGES/sphinx.mo | Bin 462 -> 462 bytes sphinx/locale/en_FR/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/en_GB/LC_MESSAGES/sphinx.mo | Bin 14119 -> 14119 bytes sphinx/locale/en_GB/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/en_HK/LC_MESSAGES/sphinx.mo | Bin 508 -> 508 bytes sphinx/locale/en_HK/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/eo/LC_MESSAGES/sphinx.mo | Bin 1864 -> 1864 bytes sphinx/locale/eo/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/es/LC_MESSAGES/sphinx.mo | Bin 83320 -> 83320 bytes sphinx/locale/es/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/et/LC_MESSAGES/sphinx.mo | Bin 33773 -> 33773 bytes sphinx/locale/et/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/fa/LC_MESSAGES/sphinx.mo | Bin 99682 -> 99682 bytes sphinx/locale/fa/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/fi/LC_MESSAGES/sphinx.mo | Bin 2912 -> 2912 bytes sphinx/locale/fi/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/fr_FR/LC_MESSAGES/sphinx.mo | Bin 555 -> 555 bytes sphinx/locale/fr_FR/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/he/LC_MESSAGES/sphinx.mo | Bin 4947 -> 4947 bytes sphinx/locale/he/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/hi/LC_MESSAGES/sphinx.mo | Bin 98870 -> 98870 bytes sphinx/locale/hi/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/hi_IN/LC_MESSAGES/sphinx.mo | Bin 502 -> 502 bytes sphinx/locale/hi_IN/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/hr/LC_MESSAGES/sphinx.mo | Bin 17189 -> 17189 bytes sphinx/locale/hr/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/hu/LC_MESSAGES/sphinx.mo | Bin 11533 -> 11533 bytes sphinx/locale/hu/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/it/LC_MESSAGES/sphinx.mo | Bin 10819 -> 10819 bytes sphinx/locale/it/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/ko/LC_MESSAGES/sphinx.mo | Bin 85235 -> 85235 bytes sphinx/locale/ko/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/lt/LC_MESSAGES/sphinx.mo | Bin 7104 -> 7104 bytes sphinx/locale/lt/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/lv/LC_MESSAGES/sphinx.mo | Bin 6786 -> 6786 bytes sphinx/locale/lv/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/mk/LC_MESSAGES/sphinx.mo | Bin 2011 -> 2011 bytes sphinx/locale/mk/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/ne/LC_MESSAGES/sphinx.mo | Bin 8869 -> 8869 bytes sphinx/locale/ne/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/nl/LC_MESSAGES/sphinx.mo | Bin 19426 -> 19426 bytes sphinx/locale/nl/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/pl/LC_MESSAGES/sphinx.mo | Bin 29952 -> 29952 bytes sphinx/locale/pl/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/pt/LC_MESSAGES/sphinx.mo | Bin 544 -> 544 bytes sphinx/locale/pt/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/pt_BR/LC_MESSAGES/sphinx.mo | Bin 81410 -> 81410 bytes sphinx/locale/pt_BR/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/pt_PT/LC_MESSAGES/sphinx.mo | Bin 8035 -> 8035 bytes sphinx/locale/pt_PT/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/ro/LC_MESSAGES/sphinx.mo | Bin 8822 -> 8822 bytes sphinx/locale/ro/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/ru/LC_MESSAGES/sphinx.mo | Bin 16427 -> 16427 bytes sphinx/locale/ru/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/si/LC_MESSAGES/sphinx.mo | Bin 3602 -> 3602 bytes sphinx/locale/si/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/sk/LC_MESSAGES/sphinx.mo | Bin 68247 -> 68247 bytes sphinx/locale/sk/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/sl/LC_MESSAGES/sphinx.mo | Bin 5417 -> 5417 bytes sphinx/locale/sl/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/sphinx.pot | 30 +++++++++--------- sphinx/locale/sr@latin/LC_MESSAGES/sphinx.mo | Bin 584 -> 584 bytes sphinx/locale/sr@latin/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/sr_RS/LC_MESSAGES/sphinx.mo | Bin 579 -> 579 bytes sphinx/locale/sr_RS/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/sv/LC_MESSAGES/sphinx.mo | Bin 6754 -> 6754 bytes sphinx/locale/sv/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/ta/LC_MESSAGES/sphinx.mo | Bin 647 -> 647 bytes sphinx/locale/ta/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/te/LC_MESSAGES/sphinx.mo | Bin 489 -> 489 bytes sphinx/locale/te/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/tr/LC_MESSAGES/sphinx.mo | Bin 58341 -> 58341 bytes sphinx/locale/tr/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/uk_UA/LC_MESSAGES/sphinx.mo | Bin 6693 -> 6693 bytes sphinx/locale/uk_UA/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/ur/LC_MESSAGES/sphinx.mo | Bin 487 -> 487 bytes sphinx/locale/ur/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/vi/LC_MESSAGES/sphinx.mo | Bin 5971 -> 5971 bytes sphinx/locale/vi/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/yue/LC_MESSAGES/sphinx.mo | Bin 487 -> 487 bytes sphinx/locale/yue/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/zh_CN/LC_MESSAGES/sphinx.mo | Bin 76829 -> 76829 bytes sphinx/locale/zh_CN/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/zh_HK/LC_MESSAGES/sphinx.mo | Bin 501 -> 501 bytes sphinx/locale/zh_HK/LC_MESSAGES/sphinx.po | 30 +++++++++--------- .../locale/zh_TW.Big5/LC_MESSAGES/sphinx.mo | Bin 516 -> 516 bytes .../locale/zh_TW.Big5/LC_MESSAGES/sphinx.po | 30 +++++++++--------- sphinx/locale/zh_TW/LC_MESSAGES/sphinx.mo | Bin 76311 -> 76311 bytes sphinx/locale/zh_TW/LC_MESSAGES/sphinx.po | 30 +++++++++--------- 105 files changed, 795 insertions(+), 795 deletions(-) diff --git a/sphinx/locale/ar/LC_MESSAGES/sphinx.mo b/sphinx/locale/ar/LC_MESSAGES/sphinx.mo index 450e3418999f5b856fa9c378b9c5ef2d44631345..8f98aea2d45383c5dd82a4b88bc8cafdd97a14f6 100644 GIT binary patch delta 23 ecmeCS>$cmVAi!mzYhbQmU|?lrvRO;uAs+xuW(Gw7 delta 23 ecmeCS>$cmVAi!m=Yiy`sU|?lrxLHf!As+xuBnCbJ diff --git a/sphinx/locale/ar/LC_MESSAGES/sphinx.po b/sphinx/locale/ar/LC_MESSAGES/sphinx.po index 4e608ceca..4c7f05933 100644 --- a/sphinx/locale/ar/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/ar/LC_MESSAGES/sphinx.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Abdullah ahmed , 2020\n" "Language-Team: Arabic (http://www.transifex.com/sphinx-doc/sphinx-1/language/ar/)\n" @@ -1884,7 +1884,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "" @@ -3100,58 +3100,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "مثال" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "أمثلة" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "ملاحظات" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "مراجع" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/bg/LC_MESSAGES/sphinx.mo b/sphinx/locale/bg/LC_MESSAGES/sphinx.mo index ad35e7b4ec4ea1b87e9d5f8405eee56657e95c6c..94e3c369e4d282f347b0005058ccaa909477ffd4 100644 GIT binary patch delta 21 ccmaFE{Dyf#8<&Nyfw_W#ft8WT#tAWu08d5+i2wiq delta 21 ccmaFE{Dyf#8<)ARv7v&2ft8Wr#tAWu08a}Bf&c&j diff --git a/sphinx/locale/bg/LC_MESSAGES/sphinx.po b/sphinx/locale/bg/LC_MESSAGES/sphinx.po index cbdcd95dd..dcc801dd4 100644 --- a/sphinx/locale/bg/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/bg/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Bulgarian (http://www.transifex.com/sphinx-doc/sphinx-1/language/bg/)\n" @@ -1882,7 +1882,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "" @@ -3098,58 +3098,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/bn/LC_MESSAGES/sphinx.mo b/sphinx/locale/bn/LC_MESSAGES/sphinx.mo index 0a152b483da365e5a32cb0bffc75b50ea6414c53..94c664cf6cff75e300f09b5093506f839c58f00f 100644 GIT binary patch delta 23 ecmZ2sx592iH!qiku7SCNfq|8g$>yoNlLY}W delta 23 ecmZ2sx592iH!qjDuCbwlfq|8g;pVBllLY}, 2009\n" "Language-Team: Bengali (http://www.transifex.com/sphinx-doc/sphinx-1/language/bn/)\n" @@ -1883,7 +1883,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "প্যারামিটার" @@ -3099,58 +3099,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/ca/LC_MESSAGES/sphinx.mo b/sphinx/locale/ca/LC_MESSAGES/sphinx.mo index cbe5b6db79ba508f845264ed74a54c89982246f8..dcede0b918c1bdb1b66ac8e6d81d08ca7686f730 100644 GIT binary patch delta 23 ecmcbteOY@$884TGu7SCNfq|8g$>s*$U=9FWt_HyX delta 23 ecmcbteOY@$884T)uCbwlfq|8g;pPV3U=9FWYzDdj diff --git a/sphinx/locale/ca/LC_MESSAGES/sphinx.po b/sphinx/locale/ca/LC_MESSAGES/sphinx.po index f396559ad..1367dae86 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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FIRST AUTHOR , 2009\n" "Language-Team: Catalan (http://www.transifex.com/sphinx-doc/sphinx-1/language/ca/)\n" @@ -1883,7 +1883,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Paràmetres" @@ -3099,58 +3099,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/cak/LC_MESSAGES/sphinx.mo b/sphinx/locale/cak/LC_MESSAGES/sphinx.mo index 989a4bd3d2386c1c770b23b1ecb751149cd540be..e82b6bad7cdf0d332bcc5577872eeca287a8eeff 100644 GIT binary patch delta 23 ecmew%^h0PvF)Npau7SCNfq|8g$>v(t-^>7CSqEkS delta 23 ecmew%^h0PvF)Nq3uCbwlfq|8g;pSS_-^>7C7YAPe diff --git a/sphinx/locale/cak/LC_MESSAGES/sphinx.po b/sphinx/locale/cak/LC_MESSAGES/sphinx.po index 8b07c31f4..fee0ac6b5 100644 --- a/sphinx/locale/cak/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/cak/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Julien Malard , 2019\n" "Language-Team: Kaqchikel (http://www.transifex.com/sphinx-doc/sphinx-1/language/cak/)\n" @@ -1883,7 +1883,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Jalajöj" @@ -3099,58 +3099,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "Tz'etb'äl" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "Tz'etb'äl" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "Jalajöj chïk" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/cs/LC_MESSAGES/sphinx.mo b/sphinx/locale/cs/LC_MESSAGES/sphinx.mo index 767a37eac4c296c5700b5816d3939e73c3bea66a..18790b2d7e0852f2868647f8796e3f7262bbbde6 100644 GIT binary patch delta 23 fcmX@+W4H&8 delta 23 fcmX@+V|E9K diff --git a/sphinx/locale/cs/LC_MESSAGES/sphinx.po b/sphinx/locale/cs/LC_MESSAGES/sphinx.po index 48b0da073..eb9a534f7 100644 --- a/sphinx/locale/cs/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/cs/LC_MESSAGES/sphinx.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Vilibald W. , 2014-2015\n" "Language-Team: Czech (http://www.transifex.com/sphinx-doc/sphinx-1/language/cs/)\n" @@ -1884,7 +1884,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parametry" @@ -3100,58 +3100,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/da/LC_MESSAGES/sphinx.mo b/sphinx/locale/da/LC_MESSAGES/sphinx.mo index f180098eef93149c80a688b25a7380ccb41071ec..82daaf04733f129539c206c3b61b156a36f9a377 100644 GIT binary patch delta 23 fcmaEn_9AV=c6lxfT?2Ck0|P4~lg$U^mkR>`aj6Jq delta 23 fcmaEn_9AV=c6lyyU1LK90|P4~!_5cfmkR>`ac2l$ diff --git a/sphinx/locale/da/LC_MESSAGES/sphinx.po b/sphinx/locale/da/LC_MESSAGES/sphinx.po index 1245ac694..fbd327a9b 100644 --- a/sphinx/locale/da/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/da/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Komiya Takeshi , 2021\n" "Language-Team: Danish (http://www.transifex.com/sphinx-doc/sphinx-1/language/da/)\n" @@ -1886,7 +1886,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parametre" @@ -3102,58 +3102,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "Nøgleordsargumenter" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "Eksempler" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "Andre parametre" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "Referencer" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/de/LC_MESSAGES/sphinx.mo b/sphinx/locale/de/LC_MESSAGES/sphinx.mo index c0d8f429a4f7fc6349fb80b8bcca09bd9477b0fc..b180ea6f21000491fd8e971921684bb4ba194b1d 100644 GIT binary patch delta 23 ecmcZ*ej$8=wiK6zu7SCNfq|8g$!1fj*@6IGjRxod delta 23 ecmcZ*ej$8=wiK7SuCbwlfq|8g;bv2**@6IGO9tTp diff --git a/sphinx/locale/de/LC_MESSAGES/sphinx.po b/sphinx/locale/de/LC_MESSAGES/sphinx.po index a8d826d90..f356712c2 100644 --- a/sphinx/locale/de/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/de/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Jean-François B. , 2018\n" "Language-Team: German (http://www.transifex.com/sphinx-doc/sphinx-1/language/de/)\n" @@ -1886,7 +1886,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parameter" @@ -3102,58 +3102,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/en_FR/LC_MESSAGES/sphinx.mo b/sphinx/locale/en_FR/LC_MESSAGES/sphinx.mo index c4dfd8e3e879c75c686e4173332d402bea34694b..f36e0e68bf996952b0a38d718addf6509d7564f0 100644 GIT binary patch delta 21 ccmX@de2#fS8<&Nyfw_W#ft8WT#tC+e07_a0F8}}l delta 21 ccmX@de2#fS8<)ARv7v&2ft8Wr#tC+e07@SQC;$Ke diff --git a/sphinx/locale/en_FR/LC_MESSAGES/sphinx.po b/sphinx/locale/en_FR/LC_MESSAGES/sphinx.po index 53f88416d..7bb0dc6f4 100644 --- a/sphinx/locale/en_FR/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/en_FR/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: English (France) (http://www.transifex.com/sphinx-doc/sphinx-1/language/en_FR/)\n" @@ -1882,7 +1882,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "" @@ -3098,58 +3098,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/en_GB/LC_MESSAGES/sphinx.mo b/sphinx/locale/en_GB/LC_MESSAGES/sphinx.mo index 89a71e439f01a6276afb02a5065943775b0343e8..984ab81a4b03b005533203a7a58358db7dde5a3c 100644 GIT binary patch delta 23 ecmZ3Uw>)pdRXHvTT?2Ck0|P4~lg;<#JR|^Vln2xR delta 23 ecmZ3Uw>)pdRXHwmU1LK90|P4~!_D{QJR|^VQU}cd diff --git a/sphinx/locale/en_GB/LC_MESSAGES/sphinx.po b/sphinx/locale/en_GB/LC_MESSAGES/sphinx.po index 74545816b..426b4bf96 100644 --- a/sphinx/locale/en_GB/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/en_GB/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Adam Turner, 2022\n" "Language-Team: English (United Kingdom) (http://www.transifex.com/sphinx-doc/sphinx-1/language/en_GB/)\n" @@ -1883,7 +1883,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "" @@ -3099,58 +3099,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/en_HK/LC_MESSAGES/sphinx.mo b/sphinx/locale/en_HK/LC_MESSAGES/sphinx.mo index 60eeb43ccbfbb6c702600a1b82966ea4af1fb6ea..c4e0fb31d8db66d7e03cd2e72f36e33e62a9b62a 100644 GIT binary patch delta 21 ccmeyv{D*l$8<&Nyfw_W#ft8WT#tAu$08!=!xc~qF delta 21 ccmeyv{D*l$8<)ARv7v&2ft8Wr#tAu$08y(3vH$=8 diff --git a/sphinx/locale/en_HK/LC_MESSAGES/sphinx.po b/sphinx/locale/en_HK/LC_MESSAGES/sphinx.po index 180521b6e..9374ed315 100644 --- a/sphinx/locale/en_HK/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/en_HK/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: English (Hong Kong) (http://www.transifex.com/sphinx-doc/sphinx-1/language/en_HK/)\n" @@ -1882,7 +1882,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "" @@ -3098,58 +3098,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/eo/LC_MESSAGES/sphinx.mo b/sphinx/locale/eo/LC_MESSAGES/sphinx.mo index fffce3efc0653e68a2ec7c083f08f99980153d99..6f2180fdc98a7997e7e24d118eebaceb2e76c9d4 100644 GIT binary patch delta 23 ecmX@XcY<$&0SlLfu7SCNfq|8g$!04SK4t(;!3Bu` delta 23 ecmX@XcY<$&0SlM8uCbwlfq|8g;btoqK4t(;e+7a7 diff --git a/sphinx/locale/eo/LC_MESSAGES/sphinx.po b/sphinx/locale/eo/LC_MESSAGES/sphinx.po index 25da4dfdb..c13a83548 100644 --- a/sphinx/locale/eo/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/eo/LC_MESSAGES/sphinx.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Tatsuro YOKOTA , 2021\n" "Language-Team: Esperanto (http://www.transifex.com/sphinx-doc/sphinx-1/language/eo/)\n" @@ -1884,7 +1884,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parametroj" @@ -3100,58 +3100,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "Avertoj" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/es/LC_MESSAGES/sphinx.mo b/sphinx/locale/es/LC_MESSAGES/sphinx.mo index f9193988bce7799accd6aa47497b715dfbb72980..0a7b9c71dd0bd74b78200d26c019e90d6d6d6ada 100644 GIT binary patch delta 25 hcmey-#rmU*b;Id3To$?p<_ZP|Rz@b9udZ1<0|1Qa3Y!1` delta 25 hcmey-#rmU*b;Id3T;{sQh6)A-Rz`-KudZ1<0|1Pt3X}i< diff --git a/sphinx/locale/es/LC_MESSAGES/sphinx.po b/sphinx/locale/es/LC_MESSAGES/sphinx.po index 0cc9ab8d8..4123110e0 100644 --- a/sphinx/locale/es/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/es/LC_MESSAGES/sphinx.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Komiya Takeshi , 2016,2021\n" "Language-Team: Spanish (http://www.transifex.com/sphinx-doc/sphinx-1/language/es/)\n" @@ -1890,7 +1890,7 @@ msgid "%s (C %s)" msgstr "%s (C %s)" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parámetros" @@ -3106,58 +3106,58 @@ msgid "" "%(default)s)" msgstr "documentar exactamente los miembros en module __all__ attribute. (por defecto: %(default)s)" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "Argumentos de palabras clave" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "Ejemplo" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "Ejemplos" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "Notas" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "Otros parámetros" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "Recibe" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "Referencias" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "Avisos" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "Campos" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "conjunto de valores no válidos (falta la llave de cierre): %s" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "conjunto de valor no válido (falta llave de apertura): %s" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "literal de cadena con formato incorrecto (falta la comilla de cierre): %s" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "literal de cadena con formato incorrecto (falta la comilla de apertura): %s" diff --git a/sphinx/locale/et/LC_MESSAGES/sphinx.mo b/sphinx/locale/et/LC_MESSAGES/sphinx.mo index 59f961e9968bbe23127a3a28e2c632bca6228a0d..02ffbcb91fd3257f441a87126806f5696bc23186 100644 GIT binary patch delta 25 hcmaFc&h)mOX~Pq5E(=`)a|HtfD, 2013-2022\n" "Language-Team: Estonian (http://www.transifex.com/sphinx-doc/sphinx-1/language/et/)\n" @@ -1886,7 +1886,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parameetrid" @@ -3102,58 +3102,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "Võtmesõnadega argumendid" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "Näide" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "Näited" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "Märkused" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/fa/LC_MESSAGES/sphinx.mo b/sphinx/locale/fa/LC_MESSAGES/sphinx.mo index 4818aaeabfa52a970b445557c8f65834ac9718e3..0d70baf889e93a18588785e73210351327e48e2d 100644 GIT binary patch delta 25 hcmaFV#rCL+ZNr46To$?p<_ZP|Rz@b9XDvN(9{_{>3RwUE delta 25 hcmaFV#rCL+ZNr46T;{sQh6)A-Rz`-KXDvN(9{_{93Q_<7 diff --git a/sphinx/locale/fa/LC_MESSAGES/sphinx.po b/sphinx/locale/fa/LC_MESSAGES/sphinx.po index ceac9becd..7366329c0 100644 --- a/sphinx/locale/fa/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/fa/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Hadi F , 2020-2021\n" "Language-Team: Persian (http://www.transifex.com/sphinx-doc/sphinx-1/language/fa/)\n" @@ -1886,7 +1886,7 @@ msgid "%s (C %s)" msgstr "%s (C %s)" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "پارامترها" @@ -3102,58 +3102,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "نشانوندهای کلیدی" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "مثال" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "نمونه‎ها" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "یادداشت‌ها" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "مؤلّفه‌های دیگر" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "دریافت‌ها" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "منابع" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "هشدارها" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "فرآورده" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "مقدار نامعتبر تعیین شده (بدون کمانک انتهایی): %s" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "مقدار نامعتبر تعیین شده (بدون کمانک ابتدایی): %s" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "رشته‌متن ادبی ناقص (بدون علامت نقل‌قول انتهایی): %s" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "رشته‌متن ادبی ناقص (بدون علامت نقل‌قول ابتدایی): %s" diff --git a/sphinx/locale/fi/LC_MESSAGES/sphinx.mo b/sphinx/locale/fi/LC_MESSAGES/sphinx.mo index bcef749f4751c0d0b2b8f1dec6f4614f64aca84f..e8d1c76fc10070652c8325d88b50f1dacb4e73ad 100644 GIT binary patch delta 23 ecmaDL_CRdIDK;((T?2Ck0|P4~lg(GydRPErk_UhQ delta 23 ecmaDL_CRdIDK;*1U1LK90|P4~!_8ONdRPErPzQMc diff --git a/sphinx/locale/fi/LC_MESSAGES/sphinx.po b/sphinx/locale/fi/LC_MESSAGES/sphinx.po index 5e968662e..7a23d85ea 100644 --- a/sphinx/locale/fi/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/fi/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FIRST AUTHOR , 2009\n" "Language-Team: Finnish (http://www.transifex.com/sphinx-doc/sphinx-1/language/fi/)\n" @@ -1883,7 +1883,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "" @@ -3099,58 +3099,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/fr_FR/LC_MESSAGES/sphinx.mo b/sphinx/locale/fr_FR/LC_MESSAGES/sphinx.mo index f188a904434d0d8c962946b12fcaae477450485d..9daa3cb4ce040eca64bf2e5e2b7dc20175f0ced0 100644 GIT binary patch delta 21 ccmZ3@vYKT=8<&Nyfw_W#ft8WT#tE|-0Y$z>% diff --git a/sphinx/locale/fr_FR/LC_MESSAGES/sphinx.po b/sphinx/locale/fr_FR/LC_MESSAGES/sphinx.po index 7a0c9f013..b14d6d99b 100644 --- a/sphinx/locale/fr_FR/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/fr_FR/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: French (France) (http://www.transifex.com/sphinx-doc/sphinx-1/language/fr_FR/)\n" @@ -1882,7 +1882,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "" @@ -3098,58 +3098,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/he/LC_MESSAGES/sphinx.mo b/sphinx/locale/he/LC_MESSAGES/sphinx.mo index 1eb73dbd501cb9955325fbad1cea67f2b5dbf321..f91166d94216252c283f1e35f0530b5f194ba817 100644 GIT binary patch delta 23 fcmcbtc3Ex1bS^FnT?2Ck0|P4~lg$gcHgNy|Uo;0& delta 23 fcmcbtc3Ex1bS^G)U1LK90|P4~!_5o1HgNy|Uh)S^ diff --git a/sphinx/locale/he/LC_MESSAGES/sphinx.po b/sphinx/locale/he/LC_MESSAGES/sphinx.po index 8756257a9..565a0de1e 100644 --- a/sphinx/locale/he/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/he/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FIRST AUTHOR , 2011\n" "Language-Team: Hebrew (http://www.transifex.com/sphinx-doc/sphinx-1/language/he/)\n" @@ -1883,7 +1883,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "פרמטרים" @@ -3099,58 +3099,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/hi/LC_MESSAGES/sphinx.mo b/sphinx/locale/hi/LC_MESSAGES/sphinx.mo index c13e7213fdf7168f0c2d02b8cb3d4d7a3e580fb9..e7e9e84dcc4b4efdec198bd4f0336771ab657f84 100644 GIT binary patch delta 25 gcmdni!nUo2Z9{qomxZo@xq^X#m66Hj!j7Xq0d*w_fB*mh delta 25 gcmdni!nUo2Z9{qom$|O7p@M;dm674*!j7Xq0d(UDc>n+a diff --git a/sphinx/locale/hi/LC_MESSAGES/sphinx.po b/sphinx/locale/hi/LC_MESSAGES/sphinx.po index 59425404f..a3ea658fa 100644 --- a/sphinx/locale/hi/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/hi/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Sumanjali Damarla , 2020\n" "Language-Team: Hindi (http://www.transifex.com/sphinx-doc/sphinx-1/language/hi/)\n" @@ -1886,7 +1886,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "मापदण्ड" @@ -3102,58 +3102,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "मुख्य शब्दों के चर-पद" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "उदाहरण" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "कुछ उदाहरण" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "टिप्पणियाँ" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "अन्य मापदण्ड" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "सन्दर्भ" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "चेतावनी देता है" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "मिलता है" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/hi_IN/LC_MESSAGES/sphinx.mo b/sphinx/locale/hi_IN/LC_MESSAGES/sphinx.mo index 544128fdc022d2b3a824e1b130c8a49908c80cfe..e7b5c3d86aca5904fb94e3be84c30d331d593d39 100644 GIT binary patch delta 21 ccmeyy{Ec}+8<&Nyfw_W#ft8WT#tCVR08r`%rvLx| delta 21 ccmeyy{Ec}+8<)ARv7v&2ft8Wr#tCVR08p<6pa1{> diff --git a/sphinx/locale/hi_IN/LC_MESSAGES/sphinx.po b/sphinx/locale/hi_IN/LC_MESSAGES/sphinx.po index a1074832b..edb377ea5 100644 --- a/sphinx/locale/hi_IN/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/hi_IN/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Hindi (India) (http://www.transifex.com/sphinx-doc/sphinx-1/language/hi_IN/)\n" @@ -1882,7 +1882,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "" @@ -3098,58 +3098,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/hr/LC_MESSAGES/sphinx.mo b/sphinx/locale/hr/LC_MESSAGES/sphinx.mo index e961aac666d0c57907162760fd7cff9c5d08e4f4..619e3f136b2768196f79523449d044385da43955 100644 GIT binary patch delta 25 gcmZ45#<;YNal>YHE(=`)a|HtfDYHE^}RDLj?l^D;M1& diff --git a/sphinx/locale/hr/LC_MESSAGES/sphinx.po b/sphinx/locale/hr/LC_MESSAGES/sphinx.po index 447a3254a..31ebe2ac5 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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Mario Šarić, 2015-2020\n" "Language-Team: Croatian (http://www.transifex.com/sphinx-doc/sphinx-1/language/hr/)\n" @@ -1883,7 +1883,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parametri" @@ -3099,58 +3099,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "Argumenti" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "Primjeri" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/hu/LC_MESSAGES/sphinx.mo b/sphinx/locale/hu/LC_MESSAGES/sphinx.mo index 45ba10830ba5496a3984a2c6938858398bc90c3e..52251d0965e0020d2d99a2c8a8a939f86707d6d8 100644 GIT binary patch delta 23 ecmeB;>W$jqD#c}?YhbQmU|?lrve{p1pAZ063I@Oc delta 23 ecmeB;>W$jqD#c~4Yiy`sU|?lrxY=K7pAZ05$OgFp diff --git a/sphinx/locale/hu/LC_MESSAGES/sphinx.po b/sphinx/locale/hu/LC_MESSAGES/sphinx.po index 0a9dfba91..af49f001c 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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Balázs Úr, 2020\n" "Language-Team: Hungarian (http://www.transifex.com/sphinx-doc/sphinx-1/language/hu/)\n" @@ -1888,7 +1888,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Paraméterek" @@ -3104,58 +3104,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/it/LC_MESSAGES/sphinx.mo b/sphinx/locale/it/LC_MESSAGES/sphinx.mo index 6438ce1c182de8e4062b40d42df8a460348ec503..7188d1fe8eb3a23553cee29e8cf5d834b2e3b321 100644 GIT binary patch delta 23 ecmX>cayVo|h9sATu7SCNfq|8g$>t)-ivj>)Xa{uw delta 23 ecmX>cayVo|h9sA{uCbwlfq|8g;pQUAivj>)CI@Z+ diff --git a/sphinx/locale/it/LC_MESSAGES/sphinx.po b/sphinx/locale/it/LC_MESSAGES/sphinx.po index 36cc4f788..18b2ff9e7 100644 --- a/sphinx/locale/it/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/it/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Antonari Palmio, 2022\n" "Language-Team: Italian (http://www.transifex.com/sphinx-doc/sphinx-1/language/it/)\n" @@ -1888,7 +1888,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parametri" @@ -3104,58 +3104,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "Argomenti parole chiave" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "Esempi" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/ko/LC_MESSAGES/sphinx.mo b/sphinx/locale/ko/LC_MESSAGES/sphinx.mo index 8b038341a88481e51944b454e5601efee331641a..d79e0ac3036138bb663211846d654871d5e3604d 100644 GIT binary patch delta 25 hcmex7llAjV)(tLexh!-I%oPj_tc*-H`>kC%9{__U39JAB delta 25 hcmex7llAjV)(tLexy*Hq4HXOwtc(md`>kC%9{_^n38er4 diff --git a/sphinx/locale/ko/LC_MESSAGES/sphinx.po b/sphinx/locale/ko/LC_MESSAGES/sphinx.po index d72c6da0e..a7c5fa84e 100644 --- a/sphinx/locale/ko/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/ko/LC_MESSAGES/sphinx.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: YT H , 2019-2022\n" "Language-Team: Korean (http://www.transifex.com/sphinx-doc/sphinx-1/language/ko/)\n" @@ -1884,7 +1884,7 @@ msgid "%s (C %s)" msgstr "%s (C %s)" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "매개변수" @@ -3100,58 +3100,58 @@ msgid "" "%(default)s)" msgstr "모듈 __all__ 속성의 구성원만 정확히 문서화합니다. (기본값: %(default)s)" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "키워드 매개변수" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "예제" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "예제" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "참고" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "기타 매개변수" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "수신" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "참조" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "경고" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "생성" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "잘못된 값 세트 (닫는 중괄호 누락): %s" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "잘못된 값 세트 (여는 중괄호 누락): %s" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "잘못된 문자열 리터럴 (닫는 따옴표 누락): %s" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "잘못된 문자열 리터럴 (여는 따옴표 누락): %s" diff --git a/sphinx/locale/lt/LC_MESSAGES/sphinx.mo b/sphinx/locale/lt/LC_MESSAGES/sphinx.mo index d3ab089aa8c94485202f40aa1c5f44b7aa6df7f2..58f22dba404967235fe5479ed4135bc2fc7dd372 100644 GIT binary patch delta 23 ecmX?Le!zUgWC1P, 2010\n" "Language-Team: Lithuanian (http://www.transifex.com/sphinx-doc/sphinx-1/language/lt/)\n" @@ -1883,7 +1883,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parametrai" @@ -3099,58 +3099,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/lv/LC_MESSAGES/sphinx.mo b/sphinx/locale/lv/LC_MESSAGES/sphinx.mo index 6030f03bdaa9634e5b3c49ac71decdd1ca857ddb..153a2d12ea122d4f79f56b36d028d7cf4655a782 100644 GIT binary patch delta 23 ecmZoNZ8F_pFTiD?YhbQmU|?lrve{F>k_!M!wgs~Q delta 23 ecmZoNZ8F_pFTiE4Yiy`sU|?lrxY<*{k_!M!bOo#c diff --git a/sphinx/locale/lv/LC_MESSAGES/sphinx.po b/sphinx/locale/lv/LC_MESSAGES/sphinx.po index 7af7bfd5a..5ca04e58f 100644 --- a/sphinx/locale/lv/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/lv/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Latvian (http://www.transifex.com/sphinx-doc/sphinx-1/language/lv/)\n" @@ -1882,7 +1882,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parametri" @@ -3098,58 +3098,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/mk/LC_MESSAGES/sphinx.mo b/sphinx/locale/mk/LC_MESSAGES/sphinx.mo index 14ebff421fa7ed1f0367c2c0744f967f90526a04..395fa926e84cb3cf40be970a6a9a82e4771a93f6 100644 GIT binary patch delta 23 fcmcc3f17{9b!ILLT?2Ck0|P4~lg$sAe=!39Voe9> delta 23 fcmcc3f17{9b!IMeU1LK90|P4~!_5zwe=!39Vhac2 diff --git a/sphinx/locale/mk/LC_MESSAGES/sphinx.po b/sphinx/locale/mk/LC_MESSAGES/sphinx.po index 41864ca95..8eb36df2b 100644 --- a/sphinx/locale/mk/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/mk/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Vasil Vangelovski , 2013\n" "Language-Team: Macedonian (http://www.transifex.com/sphinx-doc/sphinx-1/language/mk/)\n" @@ -1883,7 +1883,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Параметри" @@ -3099,58 +3099,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/ne/LC_MESSAGES/sphinx.mo b/sphinx/locale/ne/LC_MESSAGES/sphinx.mo index 6c944a5ee9e0fcfdf6122a5a91795f43e178685c..d85ffdd0fb417e0c6505181b446627a824ba97f5 100644 GIT binary patch delta 23 ecmZ4Ly3}>UOaU$nT?2Ck0|P4~lg*0-n1ldZum+w0 delta 23 ecmZ4Ly3}>UOaU%)U1LK90|P4~!_A8Yn1ldZZU&bC diff --git a/sphinx/locale/ne/LC_MESSAGES/sphinx.po b/sphinx/locale/ne/LC_MESSAGES/sphinx.po index 1322696cf..a3303e69d 100644 --- a/sphinx/locale/ne/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/ne/LC_MESSAGES/sphinx.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Komiya Takeshi , 2016\n" "Language-Team: Nepali (http://www.transifex.com/sphinx-doc/sphinx-1/language/ne/)\n" @@ -1884,7 +1884,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parameters" @@ -3100,58 +3100,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/nl/LC_MESSAGES/sphinx.mo b/sphinx/locale/nl/LC_MESSAGES/sphinx.mo index 77c7f5ca788a9285c7882b949a416b74738b7a26..726b8e66715da034bc1aca1ccffef60303896691 100644 GIT binary patch delta 25 hcmaDfo$=9h#tmn+xh!-I%oPj_tc*-HU)SbV004gM2y*}c delta 25 hcmaDfo$=9h#tmn+xy*Hq4HXOwtc(mdU)SbV004ff2y6fV diff --git a/sphinx/locale/nl/LC_MESSAGES/sphinx.po b/sphinx/locale/nl/LC_MESSAGES/sphinx.po index 059b72b64..9beb70a22 100644 --- a/sphinx/locale/nl/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/nl/LC_MESSAGES/sphinx.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Komiya Takeshi , 2021\n" "Language-Team: Dutch (http://www.transifex.com/sphinx-doc/sphinx-1/language/nl/)\n" @@ -1889,7 +1889,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parameters" @@ -3105,58 +3105,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "Sleutelwoordargumenten" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "Verwijzingen" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/pl/LC_MESSAGES/sphinx.mo b/sphinx/locale/pl/LC_MESSAGES/sphinx.mo index 2d0f78a643685d5a04098a233dfd7837b177b75c..1b9a0a749c7d3153f04ee9c252e95a3d6d067c19 100644 GIT binary patch delta 25 gcmZp8#n|wQaf5~vmxZo@xq^X#m66G2Bd2pl0C2kq4gdfE delta 25 gcmZp8#n|wQaf5~vm$|O7p@M;dm673QBd2pl0C0H-2LJ#7 diff --git a/sphinx/locale/pl/LC_MESSAGES/sphinx.po b/sphinx/locale/pl/LC_MESSAGES/sphinx.po index 681b88d78..53c5efa73 100644 --- a/sphinx/locale/pl/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/pl/LC_MESSAGES/sphinx.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Maciej Olko , 2022\n" "Language-Team: Polish (http://www.transifex.com/sphinx-doc/sphinx-1/language/pl/)\n" @@ -1887,7 +1887,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parametry" @@ -3103,58 +3103,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "Argumenty Nazwane" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "Przykład" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "Przykłady" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "Uwagi" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "Pozostałe parametry" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/pt/LC_MESSAGES/sphinx.mo b/sphinx/locale/pt/LC_MESSAGES/sphinx.mo index 342be563262063465ef6e69b58172345757ca3e5..d43d4e97df43b63f915d065249f8e2b476e7dea7 100644 GIT binary patch delta 21 ccmZ3$vVdhm8<&Nyfw_W#ft8WT#t9P`0Ymf#CjbBd delta 21 ccmZ3$vVdhm8<)ARv7v&2ft8Wr#t9P`0YkY4AOHXW diff --git a/sphinx/locale/pt/LC_MESSAGES/sphinx.po b/sphinx/locale/pt/LC_MESSAGES/sphinx.po index e481c1e81..8ee73eb5b 100644 --- a/sphinx/locale/pt/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/pt/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Portuguese (http://www.transifex.com/sphinx-doc/sphinx-1/language/pt/)\n" @@ -1882,7 +1882,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "" @@ -3098,58 +3098,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/pt_BR/LC_MESSAGES/sphinx.mo b/sphinx/locale/pt_BR/LC_MESSAGES/sphinx.mo index 01823b3f5e7c2e4ebd82e5a06f0ded03e8f65b1d..26bd1548f6ee23b4c84c8faa747b06ce73d29191 100644 GIT binary patch delta 25 hcmZqr!_xGJWrNRZE(=`)a|HtfD, 2019-2022\n" "Language-Team: Portuguese (Brazil) (http://www.transifex.com/sphinx-doc/sphinx-1/language/pt_BR/)\n" @@ -1888,7 +1888,7 @@ msgid "%s (C %s)" msgstr "%s (C %s)" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parâmetros" @@ -3104,58 +3104,58 @@ msgid "" "%(default)s)" msgstr "documenta exatamente os membros no módulo atributo __all__. (padrão: %(default)s)" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "Argumentos de Palavras-chave" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "Exemplo" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "Exemplos" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "Notas" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "Outros Parâmetros" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "Recebe" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "Referências" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "Avisos" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "Yields" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "valor inválido definido (faltando chave de fechamento): %s" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "valor inválido definido (faltando chave de abertura): %s" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "string literal malformada (faltando aspas de fechamento): %s" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "string literal malformada (faltando aspas de abertura): %s" diff --git a/sphinx/locale/pt_PT/LC_MESSAGES/sphinx.mo b/sphinx/locale/pt_PT/LC_MESSAGES/sphinx.mo index 4aafd222d79b72259dd74c1708954c5a69ac6319..536b14f179ec4b0eba1e798baf3e333f0601ce23 100644 GIT binary patch delta 23 ecmaEC_t, 2016\n" "Language-Team: Portuguese (Portugal) (http://www.transifex.com/sphinx-doc/sphinx-1/language/pt_PT/)\n" @@ -1884,7 +1884,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parâmetros" @@ -3100,58 +3100,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/ro/LC_MESSAGES/sphinx.mo b/sphinx/locale/ro/LC_MESSAGES/sphinx.mo index c75901d45b4c1024f5c8228f338ba13fa41b10fe..7dd835f37dd15d5ce60d3f2a47a5b997143627eb 100644 GIT binary patch delta 23 fcmez7^37$#F%d2cT?2Ck0|P4~lg$@Imhl1rZsQ0) delta 23 fcmez7^37$#F%d3vU1LK90|P4~!_5~&mhl1rZlMS` diff --git a/sphinx/locale/ro/LC_MESSAGES/sphinx.po b/sphinx/locale/ro/LC_MESSAGES/sphinx.po index 43134869c..6cf0a4dd6 100644 --- a/sphinx/locale/ro/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/ro/LC_MESSAGES/sphinx.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Razvan Stefanescu , 2015-2017\n" "Language-Team: Romanian (http://www.transifex.com/sphinx-doc/sphinx-1/language/ro/)\n" @@ -1884,7 +1884,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parametrii" @@ -3100,58 +3100,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/ru/LC_MESSAGES/sphinx.mo b/sphinx/locale/ru/LC_MESSAGES/sphinx.mo index 1d85b366d10a17439c9405698b3692981529e08c..178284d9adc2f742df28fa296a80e969931aaa53 100644 GIT binary patch delta 25 gcmZ48z__}Bal?K&E(=`)a|HtfD, 2022\n" "Language-Team: Russian (http://www.transifex.com/sphinx-doc/sphinx-1/language/ru/)\n" @@ -1889,7 +1889,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Параметры" @@ -3105,58 +3105,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "Именованные аргументы" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "Пример" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "Примеры" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "Заметки" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "Другие параметры" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "Предупрждения" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/si/LC_MESSAGES/sphinx.mo b/sphinx/locale/si/LC_MESSAGES/sphinx.mo index 4fd575e2fcbbd5a9b71db44c75ed5cc9906400ac..7d61441439d79275b180790fb8451e48774a80de 100644 GIT binary patch delta 23 ecmbOvGf8H{UN$ZZT?2Ck0|P4~lg-E3yx9R%i3XSe delta 23 ecmbOvGf8H{UN$asU1LK90|P4~!_CLpyx9R%M+T7q diff --git a/sphinx/locale/si/LC_MESSAGES/sphinx.po b/sphinx/locale/si/LC_MESSAGES/sphinx.po index 94505b31e..7fd076b55 100644 --- a/sphinx/locale/si/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/si/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: callkalpa , 2013\n" "Language-Team: Sinhala (http://www.transifex.com/sphinx-doc/sphinx-1/language/si/)\n" @@ -1883,7 +1883,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "පරාමිතීන්" @@ -3099,58 +3099,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/sk/LC_MESSAGES/sphinx.mo b/sphinx/locale/sk/LC_MESSAGES/sphinx.mo index 6d60a4ef667a3955eaa6f5d694c30bfddfa547e8..ea1c8697fe873e9310f5777ca62f945e0d7bfaa6 100644 GIT binary patch delta 25 hcmbO}m1X)=mJJ<~xh!-I%oPj_tc*-HPnyhH4ghn@2zCGf delta 25 hcmbO}m1X)=mJJ<~xy*Hq4HXOwtc(mdPnyhH4ghnB2yXxY diff --git a/sphinx/locale/sk/LC_MESSAGES/sphinx.po b/sphinx/locale/sk/LC_MESSAGES/sphinx.po index caa2f6193..a425e23e0 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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Slavko , 2013-2019,2021\n" "Language-Team: Slovak (http://www.transifex.com/sphinx-doc/sphinx-1/language/sk/)\n" @@ -1885,7 +1885,7 @@ msgid "%s (C %s)" msgstr "%s (C %s)" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parametre" @@ -3101,58 +3101,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "Argumenty kľúčových slov" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "Príklad" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "Príklady" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "Poznámky" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "Ostatné parametre" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "Varovania" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "neplatná hodnota množiny (chýba koncová zátvorka): %s" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "neplatná hodnota množiny (chýba začiatočná zátvorka): %s" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "neplatná textová konštanta (chýba koncová úvodzovka): %s" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "neplatná textová konštanta (chýba začiatočná úvodzovka): %s" diff --git a/sphinx/locale/sl/LC_MESSAGES/sphinx.mo b/sphinx/locale/sl/LC_MESSAGES/sphinx.mo index 227f25f3ac861ba2fa2992d9915d904528438636..939681c313f7d9bb08a9bf3716898d09f9ad2af7 100644 GIT binary patch delta 23 ecmZ3fwNh&X7cZBEu7SCNfq|8g$z~B=Q4Ro0hy_&u delta 23 ecmZ3fwNh&X7cZB&uCbwlfq|8g;bswDQ4Ro0Mg>j) diff --git a/sphinx/locale/sl/LC_MESSAGES/sphinx.po b/sphinx/locale/sl/LC_MESSAGES/sphinx.po index 342ae8771..510ff859e 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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Slovenian (http://www.transifex.com/sphinx-doc/sphinx-1/language/sl/)\n" @@ -1882,7 +1882,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parametri" @@ -3098,58 +3098,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/sphinx.pot b/sphinx/locale/sphinx.pot index 7fccf7d90..f7bebe1f4 100644 --- a/sphinx/locale/sphinx.pot +++ b/sphinx/locale/sphinx.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx 5.2.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1900,7 +1900,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "" @@ -3121,58 +3121,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/sr@latin/LC_MESSAGES/sphinx.mo b/sphinx/locale/sr@latin/LC_MESSAGES/sphinx.mo index 2b1a09edccaf4f9d3b486d1661b653b5fd4c5fc4..d70f15dab98120ffb48aa52fa4206daeff4865ad 100644 GIT binary patch delta 21 ccmX@Xa)M<-8<&Nyfw_W#ft8WT#tAzZ0ZN1hp8x;= delta 21 ccmX@Xa)M<-8<)ARv7v&2ft8Wr#tAzZ0ZK^*m;e9( diff --git a/sphinx/locale/sr@latin/LC_MESSAGES/sphinx.po b/sphinx/locale/sr@latin/LC_MESSAGES/sphinx.po index 4bc4c21cf..7ab6d4640 100644 --- a/sphinx/locale/sr@latin/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/sr@latin/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Serbian (Latin) (http://www.transifex.com/sphinx-doc/sphinx-1/language/sr@latin/)\n" @@ -1882,7 +1882,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "" @@ -3098,58 +3098,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.mo b/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.mo index 7f8032d969d7cf763efd5e09a8921cef83e01971..c60ac2706e9b38f84ae830f336876cd2273882f0 100644 GIT binary patch delta 21 ccmX@ia+qa88<&Nyfw_W#ft8WT#tEAl0ZFn3kN^Mx delta 21 ccmX@ia+qa88<)ARv7v&2ft8Wr#tEAl0ZDfTi2wiq diff --git a/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.po b/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.po index e5ba914df..8bd67ef37 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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Serbian (Serbia) (http://www.transifex.com/sphinx-doc/sphinx-1/language/sr_RS/)\n" @@ -1882,7 +1882,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "" @@ -3098,58 +3098,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/sv/LC_MESSAGES/sphinx.mo b/sphinx/locale/sv/LC_MESSAGES/sphinx.mo index 2bf5ffb686013c71852d91b6598111cd3944745e..959e9915cbd4bbd92ab5e777cf44169a3211cc64 100644 GIT binary patch delta 23 ecmaE4^2lVv838T}T?2Ck0|P4~lg-xzdN=`S&j;NA delta 23 ecmaE4^2lVv838VHU1LK90|P4~!_C(OdN=`SjR)2M diff --git a/sphinx/locale/sv/LC_MESSAGES/sphinx.po b/sphinx/locale/sv/LC_MESSAGES/sphinx.po index 81ac77325..2af92d2e4 100644 --- a/sphinx/locale/sv/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/sv/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Swedish (http://www.transifex.com/sphinx-doc/sphinx-1/language/sv/)\n" @@ -1882,7 +1882,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parametrar" @@ -3098,58 +3098,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/ta/LC_MESSAGES/sphinx.mo b/sphinx/locale/ta/LC_MESSAGES/sphinx.mo index b6fa154e54ff89a18e2c6e2b497b77390ba9b0f4..9fb510df17239ac7a357564c5082f564105044fa 100644 GIT binary patch delta 21 ccmZo?ZD*aZh08+Mz+Az=z{<#E, 2019\n" "Language-Team: Tamil (http://www.transifex.com/sphinx-doc/sphinx-1/language/ta/)\n" @@ -1883,7 +1883,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "" @@ -3099,58 +3099,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/te/LC_MESSAGES/sphinx.mo b/sphinx/locale/te/LC_MESSAGES/sphinx.mo index 76b3dc226869f5818362be9e8a8a9597eddeec41..5c800ee574ea73108abf98bb43dd62b9b9a6ba16 100644 GIT binary patch delta 21 ccmaFK{E~S>8<&Nyfw_W#ft8WT#tD&(08YpTfB*mh delta 21 ccmaFK{E~S>8<)ARv7v&2ft8Wr#tD&(08Whtc>n+a diff --git a/sphinx/locale/te/LC_MESSAGES/sphinx.po b/sphinx/locale/te/LC_MESSAGES/sphinx.po index 1b30761bd..6b1ede436 100644 --- a/sphinx/locale/te/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/te/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Telugu (http://www.transifex.com/sphinx-doc/sphinx-1/language/te/)\n" @@ -1882,7 +1882,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "" @@ -3098,58 +3098,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/tr/LC_MESSAGES/sphinx.mo b/sphinx/locale/tr/LC_MESSAGES/sphinx.mo index 38cdbfaebc0870728c622b19b93da682fec75ba9..7f3b63c6770d9d0897ca63d94370b4f506f2f203 100644 GIT binary patch delta 25 gcmaEQocZZ-<_+03To$?p<_ZP|Rz@b9OKS?!0f#sVX8-^I delta 25 gcmaEQocZZ-<_+03T;{sQh6)A-Rz`-KOKS?!0fzPoU;qFB diff --git a/sphinx/locale/tr/LC_MESSAGES/sphinx.po b/sphinx/locale/tr/LC_MESSAGES/sphinx.po index f3687976f..f3e95b467 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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: BouRock, 2020\n" "Language-Team: Turkish (http://www.transifex.com/sphinx-doc/sphinx-1/language/tr/)\n" @@ -1886,7 +1886,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parametreler" @@ -3102,58 +3102,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "Örnek" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "Örnekler" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "Notlar" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "Diğer Parametreler" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "Kaynaklar" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "Uyarılar" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "Getiriler" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/uk_UA/LC_MESSAGES/sphinx.mo b/sphinx/locale/uk_UA/LC_MESSAGES/sphinx.mo index 1f968fe4086256b860175da1172ca52c5c7bda13..4821ebbbf7296fc2591629462b85f543dfad2d0a 100644 GIT binary patch delta 23 ecmZ2#veab5K^`s(T?2Ck0|P4~lg+1jqIdyZu?H6b delta 23 ecmZ2#veab5K^`u1U1LK90|P4~!_B98qIdyZZwC+n diff --git a/sphinx/locale/uk_UA/LC_MESSAGES/sphinx.po b/sphinx/locale/uk_UA/LC_MESSAGES/sphinx.po index 247a86cdb..4265a4333 100644 --- a/sphinx/locale/uk_UA/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/uk_UA/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Petro Sasnyk , 2009\n" "Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/sphinx-doc/sphinx-1/language/uk_UA/)\n" @@ -1883,7 +1883,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Параметри" @@ -3099,58 +3099,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/ur/LC_MESSAGES/sphinx.mo b/sphinx/locale/ur/LC_MESSAGES/sphinx.mo index ba9554510b79cd17c76596d54718c0c26eaeb89f..b51e6084b49689c1d2d28e9a2f620110f6a1f17b 100644 GIT binary patch delta 21 ccmaFP{G5408<&Nyfw_W#ft8WT#tGq!08VrUdH?_b delta 21 ccmaFP{G5408<)ARv7v&2ft8Wr#tGq!08Tjua{vGU diff --git a/sphinx/locale/ur/LC_MESSAGES/sphinx.po b/sphinx/locale/ur/LC_MESSAGES/sphinx.po index c8fa9b65e..5e580016e 100644 --- a/sphinx/locale/ur/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/ur/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Urdu (http://www.transifex.com/sphinx-doc/sphinx-1/language/ur/)\n" @@ -1882,7 +1882,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "" @@ -3098,58 +3098,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/vi/LC_MESSAGES/sphinx.mo b/sphinx/locale/vi/LC_MESSAGES/sphinx.mo index 871f767f42718f5c7e815288c609e45fcece1fad..fd4536db563f439f0db02da60fc7015fa77d0a9c 100644 GIT binary patch delta 23 fcmcbtcUf=4d|oaKT?2Ck0|P4~lg%r6S8)OWVPOYx delta 23 fcmcbtcUf=4d|obdU1LK90|P4~!_6ysS8)OWVIK!- diff --git a/sphinx/locale/vi/LC_MESSAGES/sphinx.po b/sphinx/locale/vi/LC_MESSAGES/sphinx.po index 75b1b2d2f..b0de2608a 100644 --- a/sphinx/locale/vi/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/vi/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Hoat Le Van , 2014\n" "Language-Team: Vietnamese (http://www.transifex.com/sphinx-doc/sphinx-1/language/vi/)\n" @@ -1883,7 +1883,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Tham số" @@ -3099,58 +3099,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "Các ví dụ" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/yue/LC_MESSAGES/sphinx.mo b/sphinx/locale/yue/LC_MESSAGES/sphinx.mo index 253ea1d24c5592d4f8bf31a377258ffd511fc10c..8c3bfa773cb9429f44a91985879f97df532a1dc4 100644 GIT binary patch delta 21 ccmaFP{G5408<&Nyfw_W#ft8WT#tGq!08VrUdH?_b delta 21 ccmaFP{G5408<)ARv7v&2ft8Wr#tGq!08Tjua{vGU diff --git a/sphinx/locale/yue/LC_MESSAGES/sphinx.po b/sphinx/locale/yue/LC_MESSAGES/sphinx.po index 4571a5d28..2bd41fe00 100644 --- a/sphinx/locale/yue/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/yue/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Cantonese (http://www.transifex.com/sphinx-doc/sphinx-1/language/yue/)\n" @@ -1882,7 +1882,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "" @@ -3098,58 +3098,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/zh_CN/LC_MESSAGES/sphinx.mo b/sphinx/locale/zh_CN/LC_MESSAGES/sphinx.mo index d7159bf4dad848be1773a9c27a861f0040e13bf2..4da4015c0f677fbf050810d7a1782a3526c03c14 100644 GIT binary patch delta 25 hcmbPxgJtdwmJKdzxh!-I%oPj_tc*-H`>j1+2LOI|355Uv delta 25 hcmbPxgJtdwmJKdzxy*Hq4HXOwtc(md`>j1+2LOIG34Q, 2013,2018,2020,2022\n" "Language-Team: Chinese (China) (http://www.transifex.com/sphinx-doc/sphinx-1/language/zh_CN/)\n" @@ -1899,7 +1899,7 @@ msgid "%s (C %s)" msgstr "%s(C %s)" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "参数" @@ -3115,58 +3115,58 @@ msgid "" "%(default)s)" msgstr "仅生成模块中 __all__ 属性成员的文档。(默认值:%(default)s)" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "关键字参数" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "示例" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "示例" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "备注" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "其他参数" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "接受" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "引用" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "警告" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "生成器" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "无效的值集合(缺少右括号):%s" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "无效的值集合(缺少左括号):%s" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "异常的字符串字面量(缺少右引号):%s" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "异常的字符串字面量(缺少左引号):%s" diff --git a/sphinx/locale/zh_HK/LC_MESSAGES/sphinx.mo b/sphinx/locale/zh_HK/LC_MESSAGES/sphinx.mo index aa2d5c168bf68cc2ed018dcb3866be925c5038c3..b61ccf3b6f756a381dac7c02c987b16db7b74315 100644 GIT binary patch delta 21 ccmey${FQk^8<&Nyfw_W#ft8WT#tEs608qdNqyPW_ delta 21 ccmey${FQk^8<)ARv7v&2ft8Wr#tEs608oVnod5s; diff --git a/sphinx/locale/zh_HK/LC_MESSAGES/sphinx.po b/sphinx/locale/zh_HK/LC_MESSAGES/sphinx.po index bf2407221..df3e8690d 100644 --- a/sphinx/locale/zh_HK/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/zh_HK/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Chinese (Hong Kong) (http://www.transifex.com/sphinx-doc/sphinx-1/language/zh_HK/)\n" @@ -1882,7 +1882,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "" @@ -3098,58 +3098,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/zh_TW.Big5/LC_MESSAGES/sphinx.mo b/sphinx/locale/zh_TW.Big5/LC_MESSAGES/sphinx.mo index 670c0c912791533b80ecd02d499afb1c7bb1b436..3b66f60c3fcdfb01f6d66638e3940af24ca70869 100644 GIT binary patch delta 21 ccmZo+XoaY6|r06$y>(*OVf delta 21 ccmZo+XuaY6|r06!rG%m4rY diff --git a/sphinx/locale/zh_TW.Big5/LC_MESSAGES/sphinx.po b/sphinx/locale/zh_TW.Big5/LC_MESSAGES/sphinx.po index cb15409b2..9e0f31c43 100644 --- a/sphinx/locale/zh_TW.Big5/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/zh_TW.Big5/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Chinese (Taiwan) (Big5) (http://www.transifex.com/sphinx-doc/sphinx-1/language/zh_TW.Big5/)\n" @@ -1882,7 +1882,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "" @@ -3098,58 +3098,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/zh_TW/LC_MESSAGES/sphinx.mo b/sphinx/locale/zh_TW/LC_MESSAGES/sphinx.mo index 70e53675e12f2f1dde51c8293d40c2e2dd13b093..bd9b19301cdb962b305d0d02b00b65799087601c 100644 GIT binary patch delta 25 hcmbP!g=P8`mJQu&xh!-I%oPj_tc*-HPhHzo0|0_239tYF delta 25 hcmbP!g=P8`mJQu&xy*Hq4HXOwtc(mdPhHzo0|0^L38?@8 diff --git a/sphinx/locale/zh_TW/LC_MESSAGES/sphinx.po b/sphinx/locale/zh_TW/LC_MESSAGES/sphinx.po index 08e387679..7bf0c3443 100644 --- a/sphinx/locale/zh_TW/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/zh_TW/LC_MESSAGES/sphinx.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Steven Hsu , 2021-2022\n" "Language-Team: Chinese (Taiwan) (http://www.transifex.com/sphinx-doc/sphinx-1/language/zh_TW/)\n" @@ -1890,7 +1890,7 @@ msgid "%s (C %s)" msgstr "%s (C %s)" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "參數" @@ -3106,58 +3106,58 @@ msgid "" "%(default)s)" msgstr "文件確實是在模組 __all__ 屬性中的成員。(預設值: %(default)s)" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "關鍵字引數" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "範例" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "範例" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "備註" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "其他參數" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "接收" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "參照" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "警告" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "產出" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "無效的值集合(缺少右括號): %s" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "無效的值集合(缺少左括號): %s" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "異常的字串文本(缺少右括號): %s" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "異常的字串文本(缺少左括號): %s" From 7ef46150d1a0e9c8b101ab28c9b25afd1c5744a9 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Sun, 7 Aug 2022 10:16:39 +0100 Subject: [PATCH 03/26] Update doc/development/tutorials/helloworld.rst --- doc/development/tutorials/helloworld.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/development/tutorials/helloworld.rst b/doc/development/tutorials/helloworld.rst index 3e6e78eb9..8940e3dfd 100644 --- a/doc/development/tutorials/helloworld.rst +++ b/doc/development/tutorials/helloworld.rst @@ -105,7 +105,7 @@ Sphinx. :linenos: :lines: 12- -The simplest thing you can do is call the :meth:`~Sphinx.add_directive` method, +The simplest thing you can do is to call the :meth:`~Sphinx.add_directive` method, which is what we've done here. For this particular call, the first argument is the name of the directive itself as used in a reST file. In this case, we would use ``helloworld``. For example: From 91adc90800b868e5e0cef6d4bd3857cfc4e25a50 Mon Sep 17 00:00:00 2001 From: tk0miya Date: Sun, 14 Aug 2022 00:21:04 +0000 Subject: [PATCH 04/26] Update message catalogs --- sphinx/locale/cy/LC_MESSAGES/sphinx.mo | Bin 6214 -> 6214 bytes sphinx/locale/cy/LC_MESSAGES/sphinx.po | 30 +++++++++++----------- sphinx/locale/el/LC_MESSAGES/sphinx.mo | Bin 82273 -> 82273 bytes sphinx/locale/el/LC_MESSAGES/sphinx.po | 30 +++++++++++----------- sphinx/locale/eu/LC_MESSAGES/sphinx.mo | Bin 6727 -> 6727 bytes sphinx/locale/eu/LC_MESSAGES/sphinx.po | 30 +++++++++++----------- sphinx/locale/fr/LC_MESSAGES/sphinx.mo | Bin 85471 -> 85471 bytes sphinx/locale/fr/LC_MESSAGES/sphinx.po | 30 +++++++++++----------- sphinx/locale/id/LC_MESSAGES/sphinx.mo | Bin 60797 -> 60797 bytes sphinx/locale/id/LC_MESSAGES/sphinx.po | 30 +++++++++++----------- sphinx/locale/is/LC_MESSAGES/sphinx.mo | Bin 3082 -> 3082 bytes sphinx/locale/is/LC_MESSAGES/sphinx.po | 30 +++++++++++----------- sphinx/locale/ja/LC_MESSAGES/sphinx.mo | Bin 87918 -> 87918 bytes sphinx/locale/ja/LC_MESSAGES/sphinx.po | 30 +++++++++++----------- sphinx/locale/nb_NO/LC_MESSAGES/sphinx.mo | Bin 6766 -> 6766 bytes sphinx/locale/nb_NO/LC_MESSAGES/sphinx.po | 30 +++++++++++----------- sphinx/locale/sphinx.pot | 2 +- sphinx/locale/sq/LC_MESSAGES/sphinx.mo | Bin 79913 -> 79913 bytes sphinx/locale/sq/LC_MESSAGES/sphinx.po | 30 +++++++++++----------- sphinx/locale/sr/LC_MESSAGES/sphinx.mo | Bin 9426 -> 9426 bytes sphinx/locale/sr/LC_MESSAGES/sphinx.po | 30 +++++++++++----------- 21 files changed, 151 insertions(+), 151 deletions(-) diff --git a/sphinx/locale/cy/LC_MESSAGES/sphinx.mo b/sphinx/locale/cy/LC_MESSAGES/sphinx.mo index cd4531707e309003bb5d7590d8219dbdd98943a4..102717ce726e4ff085b034b914bfff14b2f91593 100644 GIT binary patch delta 23 ecmX?RaLi!CCO$3;T?2Ck0|P4~lg)ehx;Oz~?+0T5 delta 23 ecmX?RaLi!CCO$56U1LK90|P4~!_9m6x;Oz~tp{8H diff --git a/sphinx/locale/cy/LC_MESSAGES/sphinx.po b/sphinx/locale/cy/LC_MESSAGES/sphinx.po index 82cb44908..bfdd4e8ae 100644 --- a/sphinx/locale/cy/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/cy/LC_MESSAGES/sphinx.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Geraint Palmer , 2016\n" "Language-Team: Welsh (http://www.transifex.com/sphinx-doc/sphinx-1/language/cy/)\n" @@ -1884,7 +1884,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Paramedrau" @@ -3100,58 +3100,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/el/LC_MESSAGES/sphinx.mo b/sphinx/locale/el/LC_MESSAGES/sphinx.mo index f6fb0da86bd788bdb4acdc8d8ba47c49f417cfe3..95a323a84b20093543103f177884250b1df024a4 100644 GIT binary patch delta 25 gcmaFZ#QLy_bwhn4mxZo@xq^X#m66Hj&c+-20e$re%K!iX delta 25 gcmaFZ#QLy_bwhn4m$|O7p@M;dm674*&c+-20e!Ox!~g&Q diff --git a/sphinx/locale/el/LC_MESSAGES/sphinx.po b/sphinx/locale/el/LC_MESSAGES/sphinx.po index ab80de919..b74f2a1cc 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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Komiya Takeshi , 2021\n" "Language-Team: Greek (http://www.transifex.com/sphinx-doc/sphinx-1/language/el/)\n" @@ -1885,7 +1885,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Παράμετροι" @@ -3101,58 +3101,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "Ορίσματα λέξης-κλειδί" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "Παράδειγμα" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "Παραδείγματα" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "Σημειώσεις" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "Άλλες παράμετροι" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "Αναφορές" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "Προειδοποιήσεις" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "Αποδόσεις" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/eu/LC_MESSAGES/sphinx.mo b/sphinx/locale/eu/LC_MESSAGES/sphinx.mo index 225a763be0c29038a2411af63590b84366d05a18..a2d47c381bc4b59cbae3013f23baf7af8d29d91c 100644 GIT binary patch delta 23 ecmX?Za@=HtngExDu7SCNfq|8g$z}rqaV`K<{srd% delta 23 ecmX?Za@=HtngEx%uCbwlfq|8g;bsE?aV`K, 2018\n" "Language-Team: Basque (http://www.transifex.com/sphinx-doc/sphinx-1/language/eu/)\n" @@ -1884,7 +1884,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parametroak" @@ -3100,58 +3100,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/fr/LC_MESSAGES/sphinx.mo b/sphinx/locale/fr/LC_MESSAGES/sphinx.mo index 163c198e936bb482f70c2fd42dc295da5b9d3c89..49b3cac2623e460ea6eee3733dad7af1fee2a431 100644 GIT binary patch delta 25 hcmcaVoAv%|)(tLexh!-I%oPj_tc*-H`>mb0004ij33UJf delta 25 hcmcaVoAv%|)(tLexy*Hq4HXOwtc(md`>mb0004h$32p!Y diff --git a/sphinx/locale/fr/LC_MESSAGES/sphinx.po b/sphinx/locale/fr/LC_MESSAGES/sphinx.po index eeceaa823..a96e0a75b 100644 --- a/sphinx/locale/fr/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/fr/LC_MESSAGES/sphinx.po @@ -34,7 +34,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Jean-François B. , 2017-2019,2022\n" "Language-Team: French (http://www.transifex.com/sphinx-doc/sphinx-1/language/fr/)\n" @@ -1909,7 +1909,7 @@ msgid "%s (C %s)" msgstr "%s (C %s)" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Paramètres" @@ -3125,58 +3125,58 @@ msgid "" "%(default)s)" msgstr "documenter exactement les membres dans l'attribut __all__ du module. (par défaut : %(default)s)" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "Arguments de mots-clés" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "Exemple" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "Exemples" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "Notes" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "Autres paramètres" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "Reçoit" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "Références" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "Avertissements" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "Yields" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "ensemble invalide de valeurs (accolade fermante manquante) : %s" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "ensemble invalide de valeurs (accolade ouvrante manquante) :%s" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "chaîne littérale malformée (guillemet fermant manquant) : %s" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "chaîne littérale malformée (guillemet ouvrant manquant) : %s" diff --git a/sphinx/locale/id/LC_MESSAGES/sphinx.mo b/sphinx/locale/id/LC_MESSAGES/sphinx.mo index a1439c807cd5a300004dfd9d6ea0a9394caa82ff..cff236c07b3b541583fa3e5577ce0ad0543977b6 100644 GIT binary patch delta 25 gcmex+i}~*@<_(N(To$?p<_ZP|Rz@b9x!a1;0fwgt{{R30 delta 25 gcmex+i}~*@<_(N(T;{sQh6)A-Rz`-Kx!a1;0fuD=_y7O^ diff --git a/sphinx/locale/id/LC_MESSAGES/sphinx.po b/sphinx/locale/id/LC_MESSAGES/sphinx.po index 64513de65..6932bb1eb 100644 --- a/sphinx/locale/id/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/id/LC_MESSAGES/sphinx.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: oon arfiandwi , 2019-2020\n" "Language-Team: Indonesian (http://www.transifex.com/sphinx-doc/sphinx-1/language/id/)\n" @@ -1887,7 +1887,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parameter" @@ -3103,58 +3103,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "Argumen Kata Kunci" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "Contoh" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "Contoh-contoh" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "Catatan" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "Parameter lainnya" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "Referensi" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "Peringatkan" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "Hasil" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/is/LC_MESSAGES/sphinx.mo b/sphinx/locale/is/LC_MESSAGES/sphinx.mo index 9f8f52fe177715ec036adaba962f459ba53265d0..e10ec7b4e1c00974929e28d5d25c5335ea84f599 100644 GIT binary patch delta 23 ecmeB@=#tp*myOFp*T7uCz`)ALWHUQEGb;d7as{^l delta 23 ecmeB@=#tp*myOF@*Vs_Oz`)ALa5FnQGb;d7Fa@vx diff --git a/sphinx/locale/is/LC_MESSAGES/sphinx.po b/sphinx/locale/is/LC_MESSAGES/sphinx.po index 7400d22ea..73e6b1ba6 100644 --- a/sphinx/locale/is/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/is/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Tryggvi Kalman , 2021\n" "Language-Team: Icelandic (http://www.transifex.com/sphinx-doc/sphinx-1/language/is/)\n" @@ -1883,7 +1883,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "" @@ -3099,58 +3099,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/ja/LC_MESSAGES/sphinx.mo b/sphinx/locale/ja/LC_MESSAGES/sphinx.mo index d786884e540d3aab5bbc68caae9faab675a9db21..8840390232d326fde7ba061f5b279e044b6b7d8f 100644 GIT binary patch delta 25 hcmaF2j`iI-)(yLsa#`pam@60, 2020-2022\n" "Language-Team: Japanese (http://www.transifex.com/sphinx-doc/sphinx-1/language/ja/)\n" @@ -1899,7 +1899,7 @@ msgid "%s (C %s)" msgstr "%s (C %s)" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "パラメータ" @@ -3115,58 +3115,58 @@ msgid "" "%(default)s)" msgstr "モジュール __all__ 属性に含まれるメンバーのみを対象としたドキュメントを作成します。(デフォルト: %(default)s)" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "キーワード引数" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "サンプル" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "サンプル" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "メモ" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "その他のパラメータ" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "受け取る" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "参照" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "警告" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "列挙" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "無効な値セット (終了括弧がありません): %s" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "無効な値セット (開始括弧がありません): %s" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "不正な文字列リテラル (終了引用符がありません): %s" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "不正な文字列リテラル (開始引用符がありません): %s" diff --git a/sphinx/locale/nb_NO/LC_MESSAGES/sphinx.mo b/sphinx/locale/nb_NO/LC_MESSAGES/sphinx.mo index ec8ce45dd3b787ea08694edb8f00d445ee6a0a6d..1973bbe001445d4e2aaaf0f2835e2f3f376c53c1 100644 GIT binary patch delta 23 ecmaE7^3G(#D*-MGT?2Ck0|P4~lg(cQsyG2{PY53X delta 23 ecmaE7^3G(#D*-NZU1LK90|P4~!_8j=syG2{4G0(j diff --git a/sphinx/locale/nb_NO/LC_MESSAGES/sphinx.po b/sphinx/locale/nb_NO/LC_MESSAGES/sphinx.po index 7ee44c25d..fb7215e7c 100644 --- a/sphinx/locale/nb_NO/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/nb_NO/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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Norwegian Bokmål (Norway) (http://www.transifex.com/sphinx-doc/sphinx-1/language/nb_NO/)\n" @@ -1882,7 +1882,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parametere" @@ -3098,58 +3098,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" diff --git a/sphinx/locale/sphinx.pot b/sphinx/locale/sphinx.pot index f7bebe1f4..21847bf03 100644 --- a/sphinx/locale/sphinx.pot +++ b/sphinx/locale/sphinx.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx 5.2.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-08-07 00:24+0000\n" +"POT-Creation-Date: 2022-08-14 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/sphinx/locale/sq/LC_MESSAGES/sphinx.mo b/sphinx/locale/sq/LC_MESSAGES/sphinx.mo index 5fc91424ad80250a05ce0202ad03fee2d7941ccc..8950dd91c69d5d6c4122008ab54182d4b930a21a 100644 GIT binary patch delta 25 hcmZ4afo0_fmJLlyxh!-I%oPj_tc*-H_bi<|2>^*l3L5|b delta 25 hcmZ4afo0_fmJLlyxy*Hq4HXOwtc(md_bi<|2>^)&3KReU diff --git a/sphinx/locale/sq/LC_MESSAGES/sphinx.po b/sphinx/locale/sq/LC_MESSAGES/sphinx.po index 7c7b86309..c9a75d51a 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: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Besnik Bleta , 2021-2022\n" "Language-Team: Albanian (http://www.transifex.com/sphinx-doc/sphinx-1/language/sq/)\n" @@ -1883,7 +1883,7 @@ msgid "%s (C %s)" msgstr "%s (C %s)" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Parametra" @@ -3099,58 +3099,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "Argumente Fjalëkyçi" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "Shembull" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "Shembuj" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "Shënime" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "Parametra të Tjerë" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "Referenca" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "Sinjalizime" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "u caktua vlerë e pavlefshme (mungon kllapë mbyllëse): %s" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "u caktua vlerë e pavlefshme (mungon kllapë hapëse): %s" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "shprehje vargu e keqformuar (mungon thonjëz mbyllëse): %s" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "shprehje vargu e keqformuar (mungon thonjëz hapëse): %s" diff --git a/sphinx/locale/sr/LC_MESSAGES/sphinx.mo b/sphinx/locale/sr/LC_MESSAGES/sphinx.mo index 475035ee3c494a68066f0ea9a7ef851538579b01..9f047f5e5e09ffaa30a8847d508e28c162009e57 100644 GIT binary patch delta 23 fcmccQdC7CbX(28PT?2Ck0|P4~lg(F!{t5yBYJCV| delta 23 fcmccQdC7CbX(29iU1LK90|P4~!_8NP{t5yBYC8y9 diff --git a/sphinx/locale/sr/LC_MESSAGES/sphinx.po b/sphinx/locale/sr/LC_MESSAGES/sphinx.po index a1671cb29..f882ef33c 100644 --- a/sphinx/locale/sr/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/sr/LC_MESSAGES/sphinx.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-31 00:21+0000\n" +"POT-Creation-Date: 2022-08-07 00:24+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Vladimir Milovanović , 2020\n" "Language-Team: Serbian (http://www.transifex.com/sphinx-doc/sphinx-1/language/sr/)\n" @@ -1884,7 +1884,7 @@ msgid "%s (C %s)" msgstr "" #: sphinx/domains/c.py:3347 sphinx/domains/cpp.py:7419 -#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:749 +#: sphinx/domains/python.py:435 sphinx/ext/napoleon/docstring.py:751 msgid "Parameters" msgstr "Параметри" @@ -3100,58 +3100,58 @@ msgid "" "%(default)s)" msgstr "" -#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:716 +#: sphinx/ext/napoleon/__init__.py:339 sphinx/ext/napoleon/docstring.py:718 msgid "Keyword Arguments" msgstr "" -#: sphinx/ext/napoleon/docstring.py:670 +#: sphinx/ext/napoleon/docstring.py:672 msgid "Example" msgstr "Пример" -#: sphinx/ext/napoleon/docstring.py:671 +#: sphinx/ext/napoleon/docstring.py:673 msgid "Examples" msgstr "Примери" -#: sphinx/ext/napoleon/docstring.py:731 +#: sphinx/ext/napoleon/docstring.py:733 msgid "Notes" msgstr "Белешке" -#: sphinx/ext/napoleon/docstring.py:740 +#: sphinx/ext/napoleon/docstring.py:742 msgid "Other Parameters" msgstr "" -#: sphinx/ext/napoleon/docstring.py:776 +#: sphinx/ext/napoleon/docstring.py:778 msgid "Receives" msgstr "" -#: sphinx/ext/napoleon/docstring.py:780 +#: sphinx/ext/napoleon/docstring.py:782 msgid "References" msgstr "" -#: sphinx/ext/napoleon/docstring.py:812 +#: sphinx/ext/napoleon/docstring.py:814 msgid "Warns" msgstr "Упозорења" -#: sphinx/ext/napoleon/docstring.py:816 +#: sphinx/ext/napoleon/docstring.py:818 msgid "Yields" msgstr "" -#: sphinx/ext/napoleon/docstring.py:986 +#: sphinx/ext/napoleon/docstring.py:988 #, python-format msgid "invalid value set (missing closing brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:993 +#: sphinx/ext/napoleon/docstring.py:995 #, python-format msgid "invalid value set (missing opening brace): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1000 +#: sphinx/ext/napoleon/docstring.py:1002 #, python-format msgid "malformed string literal (missing closing quote): %s" msgstr "" -#: sphinx/ext/napoleon/docstring.py:1007 +#: sphinx/ext/napoleon/docstring.py:1009 #, python-format msgid "malformed string literal (missing opening quote): %s" msgstr "" From c3d8a7d50b5aa15ef0f94ad68ee27a9ecde240df Mon Sep 17 00:00:00 2001 From: danieleades <33452915+danieleades@users.noreply.github.com> Date: Sun, 14 Aug 2022 15:27:16 +0100 Subject: [PATCH 05/26] Fix some static typing errors (#10745) --- setup.cfg | 9 -------- sphinx/builders/html/__init__.py | 2 +- sphinx/directives/__init__.py | 8 +++---- sphinx/locale/__init__.py | 2 +- sphinx/pycode/parser.py | 4 ++-- sphinx/registry.py | 38 +++++++++++++++++++++++--------- sphinx/search/__init__.py | 16 +++++++------- sphinx/testing/util.py | 23 +++++++++++++------ 8 files changed, 60 insertions(+), 42 deletions(-) diff --git a/setup.cfg b/setup.cfg index a6abe968f..c544e5f4b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -53,15 +53,9 @@ strict_optional = False [mypy-sphinx.builders.linkcheck] strict_optional = False -[mypy-sphinx.builders.singlehtml] -strict_optional = False - [mypy-sphinx.cmd.*] strict_optional = False -[mypy-sphinx.directives] -strict_optional = False - [mypy-sphinx.directives.code] strict_optional = False @@ -74,9 +68,6 @@ strict_optional = False [mypy-sphinx.ext.*] strict_optional = False -[mypy-sphinx.locale] -strict_optional = False - [mypy-sphinx.pycode.parser] strict_optional = False diff --git a/sphinx/builders/html/__init__.py b/sphinx/builders/html/__init__.py index 55bbf8f00..c75338d8f 100644 --- a/sphinx/builders/html/__init__.py +++ b/sphinx/builders/html/__init__.py @@ -447,7 +447,7 @@ class StandaloneHTMLBuilder(Builder): def get_asset_paths(self) -> List[str]: return self.config.html_extra_path + self.config.html_static_path - def render_partial(self, node: Node) -> Dict[str, str]: + def render_partial(self, node: Optional[Node]) -> Dict[str, str]: """Utility: Render a lone doctree node.""" if node is None: return {'fragment': ''} diff --git a/sphinx/directives/__init__.py b/sphinx/directives/__init__.py index e38290016..7ed0a6e17 100644 --- a/sphinx/directives/__init__.py +++ b/sphinx/directives/__init__.py @@ -1,7 +1,7 @@ """Handlers for additional ReST directives.""" import re -from typing import TYPE_CHECKING, Any, Dict, Generic, List, Tuple, TypeVar, cast +from typing import TYPE_CHECKING, Any, Dict, Generic, List, Optional, Tuple, TypeVar, cast from docutils import nodes from docutils.nodes import Node @@ -55,9 +55,9 @@ class ObjectDescription(SphinxDirective, Generic[T]): # types of doc fields that this directive handles, see sphinx.util.docfields doc_field_types: List[Field] = [] - domain: str = None - objtype: str = None - indexnode: addnodes.index = None + domain: Optional[str] = None + objtype: Optional[str] = None + indexnode: Optional[addnodes.index] = None # Warning: this might be removed in future version. Don't touch this from extensions. _doc_field_type_map: Dict[str, Tuple[Field, bool]] = {} diff --git a/sphinx/locale/__init__.py b/sphinx/locale/__init__.py index 54a4570e3..6d4465a09 100644 --- a/sphinx/locale/__init__.py +++ b/sphinx/locale/__init__.py @@ -140,7 +140,7 @@ def init(locale_dirs: List[Optional[str]], language: Optional[str], return translator, has_translation -def setlocale(category: int, value: Union[str, Iterable[str]] = None) -> None: +def setlocale(category: int, value: Union[str, Iterable[str], None] = None) -> None: """Update locale settings. This does not throw any exception even if update fails. diff --git a/sphinx/pycode/parser.py b/sphinx/pycode/parser.py index ff1135c25..1019400a8 100644 --- a/sphinx/pycode/parser.py +++ b/sphinx/pycode/parser.py @@ -29,7 +29,7 @@ def get_assign_targets(node: ast.AST) -> List[ast.expr]: return [node.target] # type: ignore -def get_lvar_names(node: ast.AST, self: ast.arg = None) -> List[str]: +def get_lvar_names(node: ast.AST, self: Optional[ast.arg] = None) -> List[str]: """Convert assignment-AST to variable names. This raises `TypeError` if the assignment does not create new variable:: @@ -128,7 +128,7 @@ class TokenProcessor: """Returns specified line.""" return self.buffers[lineno - 1] - def fetch_token(self) -> Token: + def fetch_token(self) -> Optional[Token]: """Fetch the next token from source code. Returns ``None`` if sequence finished. diff --git a/sphinx/registry.py b/sphinx/registry.py index b4893e02c..afb03977e 100644 --- a/sphinx/registry.py +++ b/sphinx/registry.py @@ -154,7 +154,7 @@ class SphinxComponentRegistry: self.load_extension(app, entry_point.module) def create_builder(self, app: "Sphinx", name: str, - env: BuildEnvironment = None) -> Builder: + env: Optional[BuildEnvironment] = None) -> Builder: if name not in self.builders: raise SphinxError(__('Builder name %s not registered') % name) @@ -228,10 +228,17 @@ class SphinxComponentRegistry: (index.name, domain)) indices.append(index) - def add_object_type(self, directivename: str, rolename: str, indextemplate: str = '', - parse_node: Callable = None, ref_nodeclass: Type[TextElement] = None, - objname: str = '', doc_field_types: List = [], override: bool = False - ) -> None: + def add_object_type( + self, + directivename: str, + rolename: str, + indextemplate: str = '', + parse_node: Optional[Callable] = None, + ref_nodeclass: Optional[Type[TextElement]] = None, + objname: str = '', + doc_field_types: List = [], + override: bool = False + ) -> None: logger.debug('[app] adding object type: %r', (directivename, rolename, indextemplate, parse_node, ref_nodeclass, objname, doc_field_types)) @@ -252,9 +259,15 @@ class SphinxComponentRegistry: directivename) object_types[directivename] = ObjType(objname or directivename, rolename) - def add_crossref_type(self, directivename: str, rolename: str, indextemplate: str = '', - ref_nodeclass: Type[TextElement] = None, objname: str = '', - override: bool = False) -> None: + def add_crossref_type( + self, + directivename: str, + rolename: str, + indextemplate: str = '', + ref_nodeclass: Optional[Type[TextElement]] = None, + objname: str = '', + override: bool = False + ) -> None: logger.debug('[app] adding crossref type: %r', (directivename, rolename, indextemplate, ref_nodeclass, objname)) @@ -404,8 +417,13 @@ class SphinxComponentRegistry: else: self.latex_packages.append((name, options)) - def add_enumerable_node(self, node: Type[Node], figtype: str, - title_getter: TitleGetter = None, override: bool = False) -> None: + def add_enumerable_node( + self, + node: Type[Node], + figtype: str, + title_getter: Optional[TitleGetter] = None, + override: bool = False + ) -> None: logger.debug('[app] adding enumerable node: (%r, %r, %r)', node, figtype, title_getter) if node in self.enumerable_nodes and not override: raise ExtensionError(__('enumerable_node %r already registered') % node) diff --git a/sphinx/search/__init__.py b/sphinx/search/__init__.py index e4fdeec91..ac8a44dcc 100644 --- a/sphinx/search/__init__.py +++ b/sphinx/search/__init__.py @@ -6,7 +6,7 @@ import re import warnings from importlib import import_module from os import path -from typing import IO, Any, Dict, Iterable, List, Optional, Set, Tuple, Type +from typing import IO, Any, Dict, Iterable, List, Optional, Set, Tuple, Type, Union from docutils import nodes from docutils.nodes import Element, Node @@ -46,11 +46,11 @@ class SearchLanguage: This class is used to preprocess search word which Sphinx HTML readers type, before searching index. Default implementation does nothing. """ - lang: str = None - language_name: str = None + lang: Optional[str] = None + language_name: Optional[str] = None stopwords: Set[str] = set() js_splitter_code: str = "" - js_stemmer_rawcode: str = None + js_stemmer_rawcode: Optional[str] = None js_stemmer_code = """ /** * Dummy stemmer for languages without stemming rules. @@ -125,7 +125,7 @@ def parse_stop_word(source: str) -> Set[str]: # maps language name to module.class or directly a class -languages: Dict[str, Any] = { +languages: Dict[str, Union[str, Type[SearchLanguage]]] = { 'da': 'sphinx.search.da.SearchDanish', 'de': 'sphinx.search.de.SearchGerman', 'en': SearchEnglish, @@ -242,7 +242,7 @@ class IndexBuilder: # objtype index -> (domain, type, objname (localized)) self._objnames: Dict[int, Tuple[str, str, str]] = {} # add language-specific SearchLanguage instance - lang_class: Type[SearchLanguage] = languages.get(lang) + lang_class = languages.get(lang) # fallback; try again with language-code if lang_class is None and '_' in lang: @@ -252,8 +252,8 @@ class IndexBuilder: self.lang: SearchLanguage = SearchEnglish(options) elif isinstance(lang_class, str): module, classname = lang_class.rsplit('.', 1) - lang_class = getattr(import_module(module), classname) - self.lang = lang_class(options) + lang_class: Type[SearchLanguage] = getattr(import_module(module), classname) # type: ignore[no-redef] + self.lang = lang_class(options) # type: ignore[operator] else: # it's directly a class (e.g. added by app.add_search_language) self.lang = lang_class(options) diff --git a/sphinx/testing/util.py b/sphinx/testing/util.py index 672cdba8f..11cf4b290 100644 --- a/sphinx/testing/util.py +++ b/sphinx/testing/util.py @@ -5,7 +5,7 @@ import re import sys import warnings from io import StringIO -from typing import IO, Any, Dict, Generator, List, Pattern +from typing import IO, Any, Dict, Generator, List, Optional, Pattern from xml.etree import ElementTree from docutils import nodes @@ -94,10 +94,19 @@ class SphinxTestApp(application.Sphinx): _status: StringIO = None _warning: StringIO = None - def __init__(self, buildername: str = 'html', srcdir: path = None, builddir: path = None, - freshenv: bool = False, confoverrides: Dict = None, status: IO = None, - warning: IO = None, tags: List[str] = None, docutilsconf: str = None, - parallel: int = 0) -> None: + def __init__( + self, + buildername: str = 'html', + srcdir: Optional[path] = None, + builddir: Optional[path] = None, + freshenv: bool = False, + confoverrides: Optional[Dict] = None, + status: Optional[IO] = None, + warning: Optional[IO] = None, + tags: Optional[List[str]] = None, + docutilsconf: Optional[str] = None, + parallel: int = 0 + ) -> None: if docutilsconf is not None: (srcdir / 'docutils.conf').write_text(docutilsconf) @@ -169,10 +178,10 @@ class SphinxTestAppWrapperForSkipBuilding: _unicode_literals_re = re.compile(r'u(".*?")|u(\'.*?\')') -def find_files(root: str, suffix: bool = None) -> Generator[str, None, None]: +def find_files(root: str, suffix: Optional[str] = None) -> Generator[str, None, None]: for dirpath, _dirs, files in os.walk(root, followlinks=True): dirpath = path(dirpath) - for f in [f for f in files if not suffix or f.endswith(suffix)]: # type: ignore + for f in [f for f in files if not suffix or f.endswith(suffix)]: fpath = dirpath / f yield relpath(fpath, root) From cb4f06b2793860d6e48fe6fa2fe78740ffb58c99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20B?= <2589111+jfbu@users.noreply.github.com> Date: Mon, 15 Aug 2022 15:06:17 +0200 Subject: [PATCH 06/26] Closes #10760 --- CHANGES | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 90e8b3828..9d407bdc6 100644 --- a/CHANGES +++ b/CHANGES @@ -82,8 +82,8 @@ Bugs fixed * #10506: LaTeX: build error if highlighting inline code role in figure caption (refs: #10251) * #10634: Make -P (pdb) option work better with exceptions triggered from events -* #10031: py domain: Fix spurious whitespace in unparsing various operators (``+``, - ``-``, ``~``, and ``**``). Patch by Adam Turner. +* #10550: py domain: Fix spurious whitespace in unparsing various operators (``+``, + ``-``, ``~``, and ``**``). Patch by Adam Turner (refs: #10551). * #10460: logging: Always show node source locations as absolute paths. * HTML Search: HTML tags are displayed as a part of object name * HTML Search: search snipets should not be folded From 1553cc3b3629debdfeef6d61b8ac01ef209a491c Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Sun, 7 Aug 2022 11:02:45 +0200 Subject: [PATCH 07/26] linkcheck: Check the source URL of raw directives Add raw directives' source URL to the list of links to check with linkcheck. By the way, refactor HyperlinkCollector by adding `add_uri` function. Add test for linkcheck raw directives source URL --- CHANGES | 2 ++ sphinx/builders/linkcheck.py | 32 +++++++++++++++------------- tests/roots/test-linkcheck/links.txt | 3 +++ tests/test_build_linkcheck.py | 18 ++++++++++++---- 4 files changed, 36 insertions(+), 19 deletions(-) diff --git a/CHANGES b/CHANGES index 6bffea694..3da8f274f 100644 --- a/CHANGES +++ b/CHANGES @@ -15,6 +15,8 @@ Features added - #10286: C++, support requires clauses not just between the template parameter lists and the declaration. +- #10755: linkcheck: Check the source URL of raw directives that use the ``url`` + option. Bugs fixed ---------- diff --git a/sphinx/builders/linkcheck.py b/sphinx/builders/linkcheck.py index 3a964db02..71e391378 100644 --- a/sphinx/builders/linkcheck.py +++ b/sphinx/builders/linkcheck.py @@ -502,32 +502,34 @@ class HyperlinkCollector(SphinxPostTransform): builder = cast(CheckExternalLinksBuilder, self.app.builder) hyperlinks = builder.hyperlinks + def add_uri(uri: str, node: nodes.Element) -> None: + newuri = self.app.emit_firstresult('linkcheck-process-uri', uri) + if newuri: + uri = newuri + + lineno = get_node_line(node) + uri_info = Hyperlink(uri, self.env.docname, lineno) + if uri not in hyperlinks: + hyperlinks[uri] = uri_info + # reference nodes for refnode in self.document.findall(nodes.reference): if 'refuri' not in refnode: continue uri = refnode['refuri'] - newuri = self.app.emit_firstresult('linkcheck-process-uri', uri) - if newuri: - uri = newuri - - lineno = get_node_line(refnode) - uri_info = Hyperlink(uri, self.env.docname, lineno) - if uri not in hyperlinks: - hyperlinks[uri] = uri_info + add_uri(uri, refnode) # image nodes for imgnode in self.document.findall(nodes.image): uri = imgnode['candidates'].get('?') if uri and '://' in uri: - newuri = self.app.emit_firstresult('linkcheck-process-uri', uri) - if newuri: - uri = newuri + add_uri(uri, imgnode) - lineno = get_node_line(imgnode) - uri_info = Hyperlink(uri, self.env.docname, lineno) - if uri not in hyperlinks: - hyperlinks[uri] = uri_info + # raw nodes + for rawnode in self.document.findall(nodes.raw): + uri = rawnode.get('source') + if uri and '://' in uri: + add_uri(uri, rawnode) def rewrite_github_anchor(app: Sphinx, uri: str) -> Optional[str]: diff --git a/tests/roots/test-linkcheck/links.txt b/tests/roots/test-linkcheck/links.txt index 626f843f1..1d2408401 100644 --- a/tests/roots/test-linkcheck/links.txt +++ b/tests/roots/test-linkcheck/links.txt @@ -17,3 +17,6 @@ Some additional anchors to exercise ignore code .. image:: https://www.google.com/image.png .. figure:: https://www.google.com/image2.png + +.. raw:: html + :url: https://www.sphinx-doc.org/ diff --git a/tests/test_build_linkcheck.py b/tests/test_build_linkcheck.py index cc5cb4d10..631c7fab8 100644 --- a/tests/test_build_linkcheck.py +++ b/tests/test_build_linkcheck.py @@ -41,7 +41,7 @@ def test_defaults(app): assert "Not Found for url: https://www.google.com/image2.png" in content # looking for local file should fail assert "[broken] path/to/notfound" in content - assert len(content.splitlines()) == 6 + assert len(content.splitlines()) == 7 @pytest.mark.sphinx('linkcheck', testroot='linkcheck', freshenv=True) @@ -58,8 +58,8 @@ def test_defaults_json(app): "info"]: assert attr in row - assert len(content.splitlines()) == 11 - assert len(rows) == 11 + assert len(content.splitlines()) == 12 + assert len(rows) == 12 # the output order of the rows is not stable # due to possible variance in network latency rowsby = {row["uri"]: row for row in rows} @@ -80,7 +80,7 @@ def test_defaults_json(app): assert dnerow['uri'] == 'https://localhost:7777/doesnotexist' assert rowsby['https://www.google.com/image2.png'] == { 'filename': 'links.txt', - 'lineno': 19, + 'lineno': 20, 'status': 'broken', 'code': 0, 'uri': 'https://www.google.com/image2.png', @@ -94,6 +94,15 @@ def test_defaults_json(app): # images should fail assert "Not Found for url: https://www.google.com/image.png" in \ rowsby["https://www.google.com/image.png"]["info"] + # raw nodes' url should be checked too + assert rowsby["https://www.sphinx-doc.org/"] == { + 'filename': 'links.txt', + 'lineno': 21, + 'status': 'redirected', + 'code': 302, + 'uri': 'https://www.sphinx-doc.org/', + 'info': 'https://www.sphinx-doc.org/en/master/' + } @pytest.mark.sphinx( @@ -102,6 +111,7 @@ def test_defaults_json(app): 'linkcheck_ignore': [ 'https://localhost:7777/doesnotexist', 'http://www.sphinx-doc.org/en/master/index.html#', + 'https://www.sphinx-doc.org/', 'https://www.google.com/image.png', 'https://www.google.com/image2.png', 'path/to/notfound'] From 5951de4086bae10b93917520fbb0b218c7856646 Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Sun, 28 Aug 2022 02:33:26 +0200 Subject: [PATCH 08/26] sphinx13.css: add left padding to the footer (#10789) --- doc/_themes/sphinx13/static/sphinx13.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/_themes/sphinx13/static/sphinx13.css b/doc/_themes/sphinx13/static/sphinx13.css index 4cf1df80e..b1f7c9ebb 100644 --- a/doc/_themes/sphinx13/static/sphinx13.css +++ b/doc/_themes/sphinx13/static/sphinx13.css @@ -131,7 +131,7 @@ div.footer { background-color: var(--colour-sphinx-blue); color: #ccc; text-shadow: 0 0 .2px rgba(255, 255, 255, 0.8); - padding: 3px 8px 3px 0; + padding: 3px 8px 3px 8px; clear: both; font-size: 0.8em; } From a9b4b19be5ed5ae78df384f7c669e7d64a50aed6 Mon Sep 17 00:00:00 2001 From: Alex <93376818+sashashura@users.noreply.github.com> Date: Sun, 28 Aug 2022 15:59:06 +0100 Subject: [PATCH 09/26] Restrict permissions in GitHub workflows (#10790) --- .github/workflows/main.yml | 3 +++ .github/workflows/nodejs.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1f798749e..d0b1f4d05 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,6 +2,9 @@ name: CI on: [push, pull_request] +permissions: + contents: read + jobs: ubuntu: runs-on: ubuntu-18.04 diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index ac92ac7f3..9d4c1a244 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -2,6 +2,9 @@ name: CI (node.js) on: [push, pull_request] +permissions: + contents: read + jobs: build: runs-on: ubuntu-latest From 2b02173617cbf1c334f8f908f07391c9f09712b5 Mon Sep 17 00:00:00 2001 From: danieleades <33452915+danieleades@users.noreply.github.com> Date: Sun, 28 Aug 2022 19:50:01 +0100 Subject: [PATCH 10/26] Further improve type annotations, reduce mypy whitelist (#10770) Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> --- setup.cfg | 32 +++++++++++++++---- sphinx/builders/latex/theming.py | 8 ++--- sphinx/builders/latex/transforms.py | 16 ++++++---- sphinx/cmd/build.py | 10 +++--- sphinx/cmd/make_mode.py | 4 +-- sphinx/cmd/quickstart.py | 21 ++++++------ sphinx/environment/__init__.py | 27 ++++++++++------ sphinx/environment/adapters/indexentries.py | 2 +- sphinx/environment/collectors/toctree.py | 10 +++--- sphinx/transforms/post_transforms/__init__.py | 4 ++- sphinx/util/__init__.py | 2 +- sphinx/writers/texinfo.py | 12 +++---- tests/test_ext_autodoc.py | 2 +- 13 files changed, 94 insertions(+), 56 deletions(-) diff --git a/setup.cfg b/setup.cfg index c544e5f4b..0a262d9f4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -47,22 +47,25 @@ strict_optional = False [mypy-sphinx.builders.html] strict_optional = False -[mypy-sphinx.builders.latex.*] +[mypy-sphinx.builders.latex] strict_optional = False [mypy-sphinx.builders.linkcheck] strict_optional = False -[mypy-sphinx.cmd.*] -strict_optional = False - [mypy-sphinx.directives.code] strict_optional = False [mypy-sphinx.domains.*] strict_optional = False -[mypy-sphinx.environment.*] +[mypy-sphinx.environment] +strict_optional = False + +[mypy-sphinx.environment.adapters.toctree] +strict_optional = False + +[mypy-sphinx.environment.adapters.indexentries] strict_optional = False [mypy-sphinx.ext.*] @@ -83,13 +86,28 @@ strict_optional = False [mypy-sphinx.testing.util] strict_optional = False -[mypy-sphinx.transforms.*] +[mypy-sphinx.transforms.i18n] +strict_optional = False + +[mypy-sphinx.transforms.post_transforms.images] strict_optional = False [mypy-sphinx.util.*] strict_optional = False -[mypy-sphinx.writers.*] +[mypy-sphinx.writers.html] +strict_optional = False + +[mypy-sphinx.writers.html5] +strict_optional = False + +[mypy-sphinx.writers.latex] +strict_optional = False + +[mypy-sphinx.writers.text] +strict_optional = False + +[mypy-sphinx.writers.xml] strict_optional = False [tool:pytest] diff --git a/sphinx/builders/latex/theming.py b/sphinx/builders/latex/theming.py index 6bcdc7f9d..5f8300084 100644 --- a/sphinx/builders/latex/theming.py +++ b/sphinx/builders/latex/theming.py @@ -2,7 +2,7 @@ import configparser from os import path -from typing import Dict +from typing import Dict, Optional from sphinx.application import Sphinx from sphinx.config import Config @@ -113,14 +113,12 @@ class ThemeFactory: if name in self.themes: theme = self.themes[name] else: - theme = self.find_user_theme(name) - if not theme: - theme = Theme(name) + theme = self.find_user_theme(name) or Theme(name) theme.update(self.config) return theme - def find_user_theme(self, name: str) -> Theme: + def find_user_theme(self, name: str) -> Optional[Theme]: """Find a theme named as *name* from latex_theme_path.""" for theme_path in self.theme_paths: config_path = path.join(theme_path, name, 'theme.conf') diff --git a/sphinx/builders/latex/transforms.py b/sphinx/builders/latex/transforms.py index 5e478f5c4..e996250f7 100644 --- a/sphinx/builders/latex/transforms.py +++ b/sphinx/builders/latex/transforms.py @@ -1,6 +1,6 @@ """Transforms for LaTeX builder.""" -from typing import Any, Dict, List, Set, Tuple, cast +from typing import Any, Dict, List, Optional, Set, Tuple, cast from docutils import nodes from docutils.nodes import Element, Node @@ -94,13 +94,17 @@ class ShowUrlsTransform(SphinxPostTransform): def get_docname_for_node(self, node: Node) -> str: while node: if isinstance(node, nodes.document): - return self.env.path2doc(node['source']) + return self.env.path2doc(node['source']) or '' elif isinstance(node, addnodes.start_of_file): return node['docname'] else: node = node.parent - return None # never reached here. only for type hinting + try: + source = node['source'] # type: ignore[index] + except TypeError: + raise ValueError('Failed to get a docname!') from None + raise ValueError(f'Failed to get a docname for source {source!r}!') def create_footnote(self, uri: str, docname: str) -> Tuple[nodes.footnote, nodes.footnote_reference]: # NOQA reference = nodes.reference('', nodes.Text(uri), refuri=uri, nolinkurl=True) @@ -355,7 +359,7 @@ class LaTeXFootnoteVisitor(nodes.NodeVisitor): self.footnotes: List[nodes.footnote] = footnotes self.pendings: List[nodes.footnote] = [] self.table_footnotes: List[nodes.footnote] = [] - self.restricted: Element = None + self.restricted: Optional[Element] = None super().__init__(document) def unknown_visit(self, node: Node) -> None: @@ -433,7 +437,7 @@ class LaTeXFootnoteVisitor(nodes.NodeVisitor): number = node.astext().strip() docname = node['docname'] if (docname, number) in self.appeared: - footnote = self.appeared.get((docname, number)) + footnote = self.appeared[(docname, number)] footnote["referred"] = True mark = footnotemark('', number, refid=node['refid']) @@ -458,7 +462,7 @@ class LaTeXFootnoteVisitor(nodes.NodeVisitor): if docname == footnote['docname'] and footnote['ids'][0] == node['refid']: return footnote - return None + raise ValueError('No footnote not found for given reference node %r' % node) class BibliographyTransform(SphinxPostTransform): diff --git a/sphinx/cmd/build.py b/sphinx/cmd/build.py index 259af2eb2..d08ad1d92 100644 --- a/sphinx/cmd/build.py +++ b/sphinx/cmd/build.py @@ -9,7 +9,7 @@ import pdb import sys import traceback from os import path -from typing import IO, Any, List +from typing import IO, Any, List, Optional, TextIO from docutils.utils import SystemMessage @@ -24,7 +24,9 @@ from sphinx.util.docutils import docutils_namespace, patch_docutils from sphinx.util.osutil import abspath, ensuredir -def handle_exception(app: Sphinx, args: Any, exception: BaseException, stderr: IO = sys.stderr) -> None: # NOQA +def handle_exception( + app: Optional[Sphinx], args: Any, exception: BaseException, stderr: IO = sys.stderr +) -> None: if isinstance(exception, bdb.BdbQuit): return @@ -222,8 +224,8 @@ def build_main(argv: List[str] = sys.argv[1:]) -> int: if args.color == 'no' or (args.color == 'auto' and not color_terminal()): nocolor() - status = sys.stdout - warning = sys.stderr + status: Optional[TextIO] = sys.stdout + warning: Optional[TextIO] = sys.stderr error = sys.stderr if args.quiet: diff --git a/sphinx/cmd/make_mode.py b/sphinx/cmd/make_mode.py index b8f3d33e1..5dbcdee49 100644 --- a/sphinx/cmd/make_mode.py +++ b/sphinx/cmd/make_mode.py @@ -11,7 +11,7 @@ import os import subprocess import sys from os import path -from typing import List +from typing import List, Optional import sphinx from sphinx.cmd.build import build_main @@ -132,7 +132,7 @@ class Make: return 1 return 0 - def run_generic_build(self, builder: str, doctreedir: str = None) -> int: + def run_generic_build(self, builder: str, doctreedir: Optional[str] = None) -> int: # compatibility with old Makefile papersize = os.getenv('PAPER', '') opts = self.opts diff --git a/sphinx/cmd/quickstart.py b/sphinx/cmd/quickstart.py index 44a188b27..27d0cca62 100644 --- a/sphinx/cmd/quickstart.py +++ b/sphinx/cmd/quickstart.py @@ -7,14 +7,14 @@ import sys import time from collections import OrderedDict from os import path -from typing import TYPE_CHECKING, Any, Callable, Dict, List, Union +from typing import TYPE_CHECKING, Any, Callable, Dict, List, Optional, Union # try to import readline, unix specific enhancement try: import readline if TYPE_CHECKING and sys.platform == "win32": # always false, for type checking raise ImportError - + READLINE_AVAILABLE = True if readline.__doc__ and 'libedit' in readline.__doc__: readline.parse_and_bind("bind ^I rl_complete") USE_LIBEDIT = True @@ -22,7 +22,7 @@ try: readline.parse_and_bind("tab: complete") USE_LIBEDIT = False except ImportError: - readline = None + READLINE_AVAILABLE = False USE_LIBEDIT = False from docutils.utils import column_width @@ -130,7 +130,9 @@ def ok(x: str) -> str: return x -def do_prompt(text: str, default: str = None, validator: Callable[[str], Any] = nonempty) -> Union[str, bool]: # NOQA +def do_prompt( + text: str, default: Optional[str] = None, validator: Callable[[str], Any] = nonempty +) -> Union[str, bool]: while True: if default is not None: prompt = PROMPT_PREFIX + '%s [%s]: ' % (text, default) @@ -141,7 +143,7 @@ def do_prompt(text: str, default: str = None, validator: Callable[[str], Any] = # sequence (see #5335). To avoid the problem, all prompts are not colored # on libedit. pass - elif readline: + elif READLINE_AVAILABLE: # pass input_mode=True if readline available prompt = colorize(COLOR_QUESTION, prompt, input_mode=True) else: @@ -159,7 +161,7 @@ def do_prompt(text: str, default: str = None, validator: Callable[[str], Any] = class QuickstartRenderer(SphinxRenderer): - def __init__(self, templatedir: str) -> None: + def __init__(self, templatedir: Optional[str]) -> None: self.templatedir = templatedir or '' super().__init__() @@ -321,8 +323,9 @@ def ask_user(d: Dict[str, Any]) -> None: print() -def generate(d: Dict, overwrite: bool = True, silent: bool = False, templatedir: str = None - ) -> None: +def generate( + d: Dict, overwrite: bool = True, silent: bool = False, templatedir: Optional[str] = None +) -> None: """Generate project based on values in *d*.""" template = QuickstartRenderer(templatedir=templatedir) @@ -357,7 +360,7 @@ def generate(d: Dict, overwrite: bool = True, silent: bool = False, templatedir: ensuredir(path.join(srcdir, d['dot'] + 'templates')) ensuredir(path.join(srcdir, d['dot'] + 'static')) - def write_file(fpath: str, content: str, newline: str = None) -> None: + def write_file(fpath: str, content: str, newline: Optional[str] = None) -> None: if overwrite or not path.isfile(fpath): if 'quiet' not in d: print(__('Creating file %s.') % fpath) diff --git a/sphinx/environment/__init__.py b/sphinx/environment/__init__.py index df82c5a8a..430e03358 100644 --- a/sphinx/environment/__init__.py +++ b/sphinx/environment/__init__.py @@ -91,7 +91,7 @@ class BuildEnvironment: # --------- ENVIRONMENT INITIALIZATION ------------------------------------- - def __init__(self, app: "Sphinx" = None): + def __init__(self, app: Optional["Sphinx"] = None): self.app: Sphinx = None self.doctreedir: str = None self.srcdir: str = None @@ -327,7 +327,7 @@ class BuildEnvironment: """ return self.project.doc2path(docname, base) - def relfn2path(self, filename: str, docname: str = None) -> Tuple[str, str]: + def relfn2path(self, filename: str, docname: Optional[str] = None) -> Tuple[str, str]: """Return paths to a file referenced from a document, relative to documentation root and absolute. @@ -340,7 +340,7 @@ class BuildEnvironment: rel_fn = filename[1:] else: docdir = path.dirname(self.doc2path(docname or self.docname, - base=None)) + base=False)) rel_fn = path.join(docdir, filename) return (canon_path(path.normpath(rel_fn)), @@ -488,7 +488,9 @@ class BuildEnvironment: *filename* should be absolute or relative to the source directory. """ - self.included[self.docname].add(self.path2doc(filename)) + doc = self.path2doc(filename) + if doc: + self.included[self.docname].add(doc) def note_reread(self) -> None: """Add the current document to the list of documents that will @@ -517,9 +519,14 @@ class BuildEnvironment: doctree.reporter = LoggingReporter(self.doc2path(docname)) return doctree - def get_and_resolve_doctree(self, docname: str, builder: "Builder", - doctree: nodes.document = None, prune_toctrees: bool = True, - includehidden: bool = False) -> nodes.document: + def get_and_resolve_doctree( + self, + docname: str, + builder: "Builder", + doctree: Optional[nodes.document] = None, + prune_toctrees: bool = True, + includehidden: bool = False + ) -> nodes.document: """Read the doctree from the pickle, resolve cross-references and toctrees and return it. """ @@ -543,7 +550,7 @@ class BuildEnvironment: def resolve_toctree(self, docname: str, builder: "Builder", toctree: addnodes.toctree, prune: bool = True, maxdepth: int = 0, titles_only: bool = False, - collapse: bool = False, includehidden: bool = False) -> Node: + collapse: bool = False, includehidden: bool = False) -> Optional[Node]: """Resolve a *toctree* node into individual bullet lists with titles as items, returning None (if no containing titles are found) or a new node. @@ -583,7 +590,9 @@ class BuildEnvironment: def collect_relations(self) -> Dict[str, List[Optional[str]]]: traversed = set() - def traverse_toctree(parent: str, docname: str) -> Iterator[Tuple[str, str]]: + def traverse_toctree( + parent: Optional[str], docname: str + ) -> Iterator[Tuple[Optional[str], str]]: if parent == docname: logger.warning(__('self referenced toctree found. Ignored.'), location=docname, type='toc', diff --git a/sphinx/environment/adapters/indexentries.py b/sphinx/environment/adapters/indexentries.py index 364331286..b651acae0 100644 --- a/sphinx/environment/adapters/indexentries.py +++ b/sphinx/environment/adapters/indexentries.py @@ -25,7 +25,7 @@ class IndexEntries: """Create the real index from the collected index entries.""" new: Dict[str, List] = {} - def add_entry(word: str, subword: str, main: str, link: bool = True, + def add_entry(word: str, subword: str, main: Optional[str], link: bool = True, dic: Dict[str, List] = new, key: Optional[str] = None) -> None: # Force the word to be unicode if it's a ASCII bytestring. # This will solve problems with unicode normalization later. diff --git a/sphinx/environment/collectors/toctree.py b/sphinx/environment/collectors/toctree.py index 507c83e97..52a8fd8d1 100644 --- a/sphinx/environment/collectors/toctree.py +++ b/sphinx/environment/collectors/toctree.py @@ -1,6 +1,6 @@ """Toctree collector for sphinx.environment.""" -from typing import Any, Dict, List, Set, Tuple, Type, TypeVar, cast +from typing import Any, Dict, List, Optional, Set, Tuple, Type, TypeVar, cast from docutils import nodes from docutils.nodes import Element, Node @@ -66,7 +66,7 @@ class TocTreeCollector(EnvironmentCollector): result.extend(traverse_in_section(child, cls)) return result - def build_toc(node: Element, depth: int = 1) -> nodes.bullet_list: + def build_toc(node: Element, depth: int = 1) -> Optional[nodes.bullet_list]: entries: List[Element] = [] for sectionnode in node: # find all toctree nodes in this section and add them @@ -132,7 +132,9 @@ class TocTreeCollector(EnvironmentCollector): old_secnumbers = env.toc_secnumbers env.toc_secnumbers = {} - def _walk_toc(node: Element, secnums: Dict, depth: int, titlenode: nodes.title = None) -> None: # NOQA + def _walk_toc( + node: Element, secnums: Dict, depth: int, titlenode: Optional[nodes.title] = None + ) -> None: # titlenode is the title of the document, it will get assigned a # secnumber too, so that it shows up in next/prev/parent rellinks for subnode in node.children: @@ -207,7 +209,7 @@ class TocTreeCollector(EnvironmentCollector): env.toc_fignumbers = {} fignum_counter: Dict[str, Dict[Tuple[int, ...], int]] = {} - def get_figtype(node: Node) -> str: + def get_figtype(node: Node) -> Optional[str]: for domain in env.domains.values(): figtype = domain.get_enumerable_node_type(node) if domain.name == 'std' and not domain.get_numfig_title(node): # type: ignore diff --git a/sphinx/transforms/post_transforms/__init__.py b/sphinx/transforms/post_transforms/__init__.py index 94a162963..293d79609 100644 --- a/sphinx/transforms/post_transforms/__init__.py +++ b/sphinx/transforms/post_transforms/__init__.py @@ -112,7 +112,9 @@ class ReferencesResolver(SphinxPostTransform): node.replace_self(newnodes) - def resolve_anyref(self, refdoc: str, node: pending_xref, contnode: Element) -> Element: + def resolve_anyref( + self, refdoc: str, node: pending_xref, contnode: Element + ) -> Optional[Element]: """Resolve reference generated by the "any" role.""" stddomain = self.env.get_domain('std') target = node['reftarget'] diff --git a/sphinx/util/__init__.py b/sphinx/util/__init__.py index 0b0e1c952..089c6a4ad 100644 --- a/sphinx/util/__init__.py +++ b/sphinx/util/__init__.py @@ -212,7 +212,7 @@ _DEBUG_HEADER = '''\ ''' -def save_traceback(app: "Sphinx") -> str: +def save_traceback(app: Optional["Sphinx"]) -> str: """Save the current exception's traceback in a temporary file.""" import platform diff --git a/sphinx/writers/texinfo.py b/sphinx/writers/texinfo.py index 6b176bb3b..10d86130f 100644 --- a/sphinx/writers/texinfo.py +++ b/sphinx/writers/texinfo.py @@ -115,7 +115,7 @@ class TexinfoWriter(writers.Writer): settings_defaults: Dict = {} - output: str = None + output: Optional[str] = None # type: ignore[assignment] visitor_attributes = ('output', 'fragment') @@ -134,8 +134,8 @@ class TexinfoWriter(writers.Writer): class TexinfoTranslator(SphinxTranslator): - builder: "TexinfoBuilder" = None ignore_missing_images = False + builder: "TexinfoBuilder" default_elements = { 'author': '', @@ -184,7 +184,7 @@ class TexinfoTranslator(SphinxTranslator): self.in_footnote = 0 self.in_samp = 0 self.handled_abbrs: Set[str] = set() - self.colwidths: Optional[List[int]] = None + self.colwidths: List[int] = [] def finish(self) -> None: if self.previous_section is None: @@ -765,10 +765,10 @@ class TexinfoTranslator(SphinxTranslator): self.ensure_eol() self.body.append('@end quotation\n') - def visit_literal_block(self, node: Element) -> None: + def visit_literal_block(self, node: Optional[Element]) -> None: self.body.append('\n@example\n') - def depart_literal_block(self, node: Element) -> None: + def depart_literal_block(self, node: Optional[Element]) -> None: self.ensure_eol() self.body.append('@end example\n') @@ -1404,7 +1404,7 @@ class TexinfoTranslator(SphinxTranslator): category = self.escape_arg(smart_capwords(name)) self.body.append('\n%s {%s} ' % (self.at_deffnx, category)) self.at_deffnx = '@deffnx' - self.desc_type_name = name + self.desc_type_name: Optional[str] = name def depart_desc_signature(self, node: Element) -> None: self.body.append("\n") diff --git a/tests/test_ext_autodoc.py b/tests/test_ext_autodoc.py index a35c6f640..c1e9c148b 100644 --- a/tests/test_ext_autodoc.py +++ b/tests/test_ext_autodoc.py @@ -808,7 +808,7 @@ def test_autodoc_imported_members(app): "imported-members": None, "ignore-module-all": None} actual = do_autodoc(app, 'module', 'target', options) - assert '.. py:function:: save_traceback(app: Sphinx) -> str' in actual + assert '.. py:function:: save_traceback(app: ~typing.Optional[Sphinx]) -> str' in actual @pytest.mark.sphinx('html', testroot='ext-autodoc') From 12bff8a27368a8fbddd0b4f364726cb58b5219ac Mon Sep 17 00:00:00 2001 From: danieleades <33452915+danieleades@users.noreply.github.com> Date: Sun, 28 Aug 2022 20:03:17 +0100 Subject: [PATCH 11/26] Remove unneeded `noqa` lint suppression comments (#10772) --- sphinx/builders/_epub_base.py | 2 +- sphinx/domains/c.py | 2 +- sphinx/ext/graphviz.py | 2 +- sphinx/transforms/__init__.py | 2 +- sphinx/util/docutils.py | 2 +- sphinx/writers/texinfo.py | 2 +- .../roots/test-ext-autodoc/autodoc_dummy_module.py | 4 ++-- tests/roots/test-ext-autodoc/target/__init__.py | 2 +- tests/roots/test-ext-autodoc/target/coroutine.py | 2 +- tests/roots/test-ext-autodoc/target/need_mocks.py | 14 +++++++------- .../autosummary_dummy_module.py | 2 +- .../package/module.py | 2 +- .../package/package/module.py | 2 +- .../package2/module.py | 2 +- .../autosummary_dummy_module.py | 2 +- .../not_a_package/__init__.py | 2 +- tests/roots/test-ext-viewcode/conf.py | 2 +- tests/roots/test-ext-viewcode/spam/__init__.py | 4 ++-- tests/roots/test-root/conf.py | 2 +- tests/test_domain_py.py | 8 ++++---- tests/test_ext_autodoc.py | 2 +- tests/test_util_inspect.py | 14 +++++++------- tests/test_util_typing.py | 4 ++-- utils/babel_runner.py | 2 +- 24 files changed, 42 insertions(+), 42 deletions(-) diff --git a/sphinx/builders/_epub_base.py b/sphinx/builders/_epub_base.py index 99035dc42..2f3917411 100644 --- a/sphinx/builders/_epub_base.py +++ b/sphinx/builders/_epub_base.py @@ -464,7 +464,7 @@ class EpubBuilder(StandaloneHTMLBuilder): logger.info(__('writing mimetype file...')) copy_asset_file(path.join(self.template_dir, 'mimetype'), self.outdir) - def build_container(self, outname: str = 'META-INF/container.xml') -> None: # NOQA + def build_container(self, outname: str = 'META-INF/container.xml') -> None: """Write the metainfo file META-INF/container.xml.""" logger.info(__('writing META-INF/container.xml file...')) outdir = path.join(self.outdir, 'META-INF') diff --git a/sphinx/domains/c.py b/sphinx/domains/c.py index ad5927019..f8bc2c86f 100644 --- a/sphinx/domains/c.py +++ b/sphinx/domains/c.py @@ -1959,7 +1959,7 @@ class Symbol: if Symbol.debug_lookup: Symbol.debug_print( "no match, but fill an empty declaration, candSybmol is not None?:", - candSymbol is not None) # NOQA + candSymbol is not None) Symbol.debug_indent -= 2 if candSymbol is not None: candSymbol.remove() diff --git a/sphinx/ext/graphviz.py b/sphinx/ext/graphviz.py index 0459c4a96..c950da20b 100644 --- a/sphinx/ext/graphviz.py +++ b/sphinx/ext/graphviz.py @@ -224,7 +224,7 @@ def render_dot(self: SphinxTranslator, code: str, options: Dict, format: str, return relfn, outfn if (hasattr(self.builder, '_graphviz_warned_dot') and - self.builder._graphviz_warned_dot.get(graphviz_dot)): # type: ignore # NOQA + self.builder._graphviz_warned_dot.get(graphviz_dot)): # type: ignore return None, None ensuredir(path.dirname(outfn)) diff --git a/sphinx/transforms/__init__.py b/sphinx/transforms/__init__.py index b661870bf..501b528f0 100644 --- a/sphinx/transforms/__init__.py +++ b/sphinx/transforms/__init__.py @@ -389,7 +389,7 @@ class ManpageLink(SphinxTransform): for node in self.document.findall(addnodes.manpage): manpage = ' '.join([str(x) for x in node.children if isinstance(x, nodes.Text)]) - pattern = r'^(?P(?P.+)[\(\.](?P
[1-9]\w*)?\)?)$' # noqa + pattern = r'^(?P(?P.+)[\(\.](?P
[1-9]\w*)?\)?)$' info = {'path': manpage, 'page': manpage, 'section': ''} diff --git a/sphinx/util/docutils.py b/sphinx/util/docutils.py index 88bdaf943..3ca75deea 100644 --- a/sphinx/util/docutils.py +++ b/sphinx/util/docutils.py @@ -18,7 +18,7 @@ from docutils.parsers.rst import Directive, directives, roles from docutils.parsers.rst.states import Inliner from docutils.statemachine import State, StateMachine, StringList from docutils.utils import Reporter, unescape -from docutils.writers._html_base import HTMLTranslator # NoQA +from docutils.writers._html_base import HTMLTranslator from sphinx.deprecation import RemovedInSphinx70Warning, deprecated_alias from sphinx.errors import SphinxError diff --git a/sphinx/writers/texinfo.py b/sphinx/writers/texinfo.py index 10d86130f..aeb8e8f63 100644 --- a/sphinx/writers/texinfo.py +++ b/sphinx/writers/texinfo.py @@ -180,7 +180,7 @@ class TexinfoTranslator(SphinxTranslator): self.escape_newlines = 0 self.escape_hyphens = 0 self.curfilestack: List[str] = [] - self.footnotestack: List[Dict[str, List[Union[collected_footnote, bool]]]] = [] # NOQA + self.footnotestack: List[Dict[str, List[Union[collected_footnote, bool]]]] = [] self.in_footnote = 0 self.in_samp = 0 self.handled_abbrs: Set[str] = set() diff --git a/tests/roots/test-ext-autodoc/autodoc_dummy_module.py b/tests/roots/test-ext-autodoc/autodoc_dummy_module.py index 1e9ed19dc..c05d96e0d 100644 --- a/tests/roots/test-ext-autodoc/autodoc_dummy_module.py +++ b/tests/roots/test-ext-autodoc/autodoc_dummy_module.py @@ -1,6 +1,6 @@ -from dummy import * # NOQA +from dummy import * def test(): """Dummy function using dummy.*""" - dummy_function() # NOQA + dummy_function() diff --git a/tests/roots/test-ext-autodoc/target/__init__.py b/tests/roots/test-ext-autodoc/target/__init__.py index 54f52bbff..0d39c6672 100644 --- a/tests/roots/test-ext-autodoc/target/__init__.py +++ b/tests/roots/test-ext-autodoc/target/__init__.py @@ -1,7 +1,7 @@ import enum from io import StringIO -from sphinx.util import save_traceback # NOQA +from sphinx.util import save_traceback __all__ = ['Class'] diff --git a/tests/roots/test-ext-autodoc/target/coroutine.py b/tests/roots/test-ext-autodoc/target/coroutine.py index 156d7f961..f977b6e77 100644 --- a/tests/roots/test-ext-autodoc/target/coroutine.py +++ b/tests/roots/test-ext-autodoc/target/coroutine.py @@ -5,7 +5,7 @@ from functools import wraps class AsyncClass: async def do_coroutine(self): """A documented coroutine function""" - attr_coro_result = await _other_coro_func() # NOQA + attr_coro_result = await _other_coro_func() @classmethod async def do_coroutine2(cls): diff --git a/tests/roots/test-ext-autodoc/target/need_mocks.py b/tests/roots/test-ext-autodoc/target/need_mocks.py index 6f75dc380..45b3ade06 100644 --- a/tests/roots/test-ext-autodoc/target/need_mocks.py +++ b/tests/roots/test-ext-autodoc/target/need_mocks.py @@ -1,12 +1,12 @@ -import missing_module # NOQA -import missing_package1.missing_module1 # NOQA -from missing_module import missing_name # NOQA -from missing_package2 import missing_module2 # NOQA -from missing_package3.missing_module3 import missing_name # NOQA +import missing_module +import missing_package1.missing_module1 +from missing_module import missing_name +from missing_package2 import missing_module2 +from missing_package3.missing_module3 import missing_name -import sphinx.missing_module4 # NOQA -from sphinx.missing_module4 import missing_name2 # NOQA +import sphinx.missing_module4 +from sphinx.missing_module4 import missing_name2 @missing_name(int) diff --git a/tests/roots/test-ext-autosummary-filename-map/autosummary_dummy_module.py b/tests/roots/test-ext-autosummary-filename-map/autosummary_dummy_module.py index 1f57eeb25..0953b64b9 100644 --- a/tests/roots/test-ext-autosummary-filename-map/autosummary_dummy_module.py +++ b/tests/roots/test-ext-autosummary-filename-map/autosummary_dummy_module.py @@ -1,4 +1,4 @@ -from os import path # NOQA +from os import path from typing import Union diff --git a/tests/roots/test-ext-autosummary-recursive/package/module.py b/tests/roots/test-ext-autosummary-recursive/package/module.py index 5506d0bc9..c76e73302 100644 --- a/tests/roots/test-ext-autosummary-recursive/package/module.py +++ b/tests/roots/test-ext-autosummary-recursive/package/module.py @@ -1,4 +1,4 @@ -from os import * # NOQA +from os import * class Foo: diff --git a/tests/roots/test-ext-autosummary-recursive/package/package/module.py b/tests/roots/test-ext-autosummary-recursive/package/package/module.py index 5506d0bc9..c76e73302 100644 --- a/tests/roots/test-ext-autosummary-recursive/package/package/module.py +++ b/tests/roots/test-ext-autosummary-recursive/package/package/module.py @@ -1,4 +1,4 @@ -from os import * # NOQA +from os import * class Foo: diff --git a/tests/roots/test-ext-autosummary-recursive/package2/module.py b/tests/roots/test-ext-autosummary-recursive/package2/module.py index 5506d0bc9..c76e73302 100644 --- a/tests/roots/test-ext-autosummary-recursive/package2/module.py +++ b/tests/roots/test-ext-autosummary-recursive/package2/module.py @@ -1,4 +1,4 @@ -from os import * # NOQA +from os import * class Foo: diff --git a/tests/roots/test-ext-autosummary/autosummary_dummy_module.py b/tests/roots/test-ext-autosummary/autosummary_dummy_module.py index 9c4a0445d..2d8829a23 100644 --- a/tests/roots/test-ext-autosummary/autosummary_dummy_module.py +++ b/tests/roots/test-ext-autosummary/autosummary_dummy_module.py @@ -1,4 +1,4 @@ -from os import path # NOQA +from os import path from typing import Union from autosummary_class_module import Class diff --git a/tests/roots/test-ext-viewcode-find/not_a_package/__init__.py b/tests/roots/test-ext-viewcode-find/not_a_package/__init__.py index f79ec81f5..2382935a3 100644 --- a/tests/roots/test-ext-viewcode-find/not_a_package/__init__.py +++ b/tests/roots/test-ext-viewcode-find/not_a_package/__init__.py @@ -1 +1 @@ -from .submodule import Class1, func1 # NOQA +from .submodule import Class1, func1 diff --git a/tests/roots/test-ext-viewcode/conf.py b/tests/roots/test-ext-viewcode/conf.py index 6ec2b7742..bee063988 100644 --- a/tests/roots/test-ext-viewcode/conf.py +++ b/tests/roots/test-ext-viewcode/conf.py @@ -8,7 +8,7 @@ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode'] exclude_patterns = ['_build'] -if 'test_linkcode' in tags: # NOQA +if 'test_linkcode' in tags: extensions.remove('sphinx.ext.viewcode') extensions.append('sphinx.ext.linkcode') diff --git a/tests/roots/test-ext-viewcode/spam/__init__.py b/tests/roots/test-ext-viewcode/spam/__init__.py index c438f6050..62190421f 100644 --- a/tests/roots/test-ext-viewcode/spam/__init__.py +++ b/tests/roots/test-ext-viewcode/spam/__init__.py @@ -1,2 +1,2 @@ -from .mod1 import Class1, func1 # NOQA -from .mod2 import Class2, func2 # NOQA +from .mod1 import Class1, func1 +from .mod2 import Class2, func2 diff --git a/tests/roots/test-root/conf.py b/tests/roots/test-root/conf.py index 687445a70..1065cd193 100644 --- a/tests/roots/test-root/conf.py +++ b/tests/roots/test-root/conf.py @@ -46,7 +46,7 @@ extlinks = {'issue': ('http://bugs.python.org/issue%s', 'issue %s'), 'pyurl': ('http://python.org/%s', None)} # modify tags from conf.py -tags.add('confpytag') # NOQA +tags.add('confpytag') # -- extension API diff --git a/tests/test_domain_py.py b/tests/test_domain_py.py index 9e9cd4fb3..81fa140d7 100644 --- a/tests/test_domain_py.py +++ b/tests/test_domain_py.py @@ -1342,8 +1342,8 @@ def test_module_index(app): assert index.generate() == ( [('d', [IndexEntry('docutils', 0, 'index', 'module-docutils', '', '', '')]), ('s', [IndexEntry('sphinx', 1, 'index', 'module-sphinx', '', '', ''), - IndexEntry('sphinx.builders', 2, 'index', 'module-sphinx.builders', '', '', ''), # NOQA - IndexEntry('sphinx.builders.html', 2, 'index', 'module-sphinx.builders.html', '', '', ''), # NOQA + IndexEntry('sphinx.builders', 2, 'index', 'module-sphinx.builders', '', '', ''), + IndexEntry('sphinx.builders.html', 2, 'index', 'module-sphinx.builders.html', '', '', ''), IndexEntry('sphinx.config', 2, 'index', 'module-sphinx.config', '', '', ''), IndexEntry('sphinx_intl', 0, 'index', 'module-sphinx_intl', '', '', '')])], False @@ -1386,8 +1386,8 @@ def test_modindex_common_prefix(app): restructuredtext.parse(app, text) index = PythonModuleIndex(app.env.get_domain('py')) assert index.generate() == ( - [('b', [IndexEntry('sphinx.builders', 1, 'index', 'module-sphinx.builders', '', '', ''), # NOQA - IndexEntry('sphinx.builders.html', 2, 'index', 'module-sphinx.builders.html', '', '', '')]), # NOQA + [('b', [IndexEntry('sphinx.builders', 1, 'index', 'module-sphinx.builders', '', '', ''), + IndexEntry('sphinx.builders.html', 2, 'index', 'module-sphinx.builders.html', '', '', '')]), ('c', [IndexEntry('sphinx.config', 0, 'index', 'module-sphinx.config', '', '', '')]), ('d', [IndexEntry('docutils', 0, 'index', 'module-docutils', '', '', '')]), ('s', [IndexEntry('sphinx', 0, 'index', 'module-sphinx', '', '', ''), diff --git a/tests/test_ext_autodoc.py b/tests/test_ext_autodoc.py index c1e9c148b..db57e2c1e 100644 --- a/tests/test_ext_autodoc.py +++ b/tests/test_ext_autodoc.py @@ -363,7 +363,7 @@ def test_get_doc(app): # verify that method docstrings get extracted in both normal case # and in case of bound method posing as a function - class J: # NOQA + class J: def foo(self): """Method docstring""" assert getdocl('method', J.foo) == ['Method docstring'] diff --git a/tests/test_util_inspect.py b/tests/test_util_inspect.py index 98f6f0b88..2248429ec 100644 --- a/tests/test_util_inspect.py +++ b/tests/test_util_inspect.py @@ -649,12 +649,12 @@ def test_isattributedescriptor(app): assert inspect.isattributedescriptor(Base.meth) is False # method assert inspect.isattributedescriptor(Base.staticmeth) is False # staticmethod assert inspect.isattributedescriptor(Base.classmeth) is False # classmetho - assert inspect.isattributedescriptor(Descriptor) is False # custom descriptor class # NOQA - assert inspect.isattributedescriptor(str.join) is False # MethodDescriptorType # NOQA - assert inspect.isattributedescriptor(object.__init__) is False # WrapperDescriptorType # NOQA - assert inspect.isattributedescriptor(dict.__dict__['fromkeys']) is False # ClassMethodDescriptorType # NOQA - assert inspect.isattributedescriptor(types.FrameType.f_locals) is True # GetSetDescriptorType # NOQA - assert inspect.isattributedescriptor(datetime.timedelta.days) is True # MemberDescriptorType # NOQA + assert inspect.isattributedescriptor(Descriptor) is False # custom descriptor class + assert inspect.isattributedescriptor(str.join) is False # MethodDescriptorType + assert inspect.isattributedescriptor(object.__init__) is False # WrapperDescriptorType + assert inspect.isattributedescriptor(dict.__dict__['fromkeys']) is False # ClassMethodDescriptorType + assert inspect.isattributedescriptor(types.FrameType.f_locals) is True # GetSetDescriptorType + assert inspect.isattributedescriptor(datetime.timedelta.days) is True # MemberDescriptorType try: # _testcapi module cannot be importable in some distro @@ -662,7 +662,7 @@ def test_isattributedescriptor(app): import _testcapi testinstancemethod = _testcapi.instancemethod(str.__repr__) - assert inspect.isattributedescriptor(testinstancemethod) is False # instancemethod (C-API) # NOQA + assert inspect.isattributedescriptor(testinstancemethod) is False # instancemethod (C-API) except ImportError: pass diff --git a/tests/test_util_typing.py b/tests/test_util_typing.py index 5aa558c82..654610096 100644 --- a/tests/test_util_typing.py +++ b/tests/test_util_typing.py @@ -320,8 +320,8 @@ def test_stringify_type_hints_pep_585(): @pytest.mark.skipif(sys.version_info < (3, 9), reason='python 3.9+ is required.') def test_stringify_Annotated(): from typing import Annotated # type: ignore - assert stringify(Annotated[str, "foo", "bar"]) == "str" # NOQA - assert stringify(Annotated[str, "foo", "bar"], "smart") == "str" # NOQA + assert stringify(Annotated[str, "foo", "bar"]) == "str" + assert stringify(Annotated[str, "foo", "bar"], "smart") == "str" def test_stringify_type_hints_string(): diff --git a/utils/babel_runner.py b/utils/babel_runner.py index 514ce9eb5..32e6fe642 100644 --- a/utils/babel_runner.py +++ b/utils/babel_runner.py @@ -26,7 +26,7 @@ import sphinx ROOT = os.path.realpath(os.path.join(os.path.abspath(__file__), "..", "..")) -class compile_catalog_plusjs(compile_catalog): # NoQA +class compile_catalog_plusjs(compile_catalog): """ An extended command that writes all message strings that occur in JavaScript files to a JavaScript file along with the .mo file. From f56e61d1a1a83db1fb95502d39ea830284c0a0d9 Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Sun, 28 Aug 2022 21:19:34 +0200 Subject: [PATCH 12/26] agogo theme: revert CSS changes related to sidebar (#10787) --- CHANGES | 1 + sphinx/themes/agogo/static/agogo.css_t | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/CHANGES b/CHANGES index e56c45051..df90f5388 100644 --- a/CHANGES +++ b/CHANGES @@ -24,6 +24,7 @@ Bugs fixed - #10257: C++, ensure consistent non-specialization template argument representation. - #10729: C++, fix parsing of certain non-type template parameter packs. +- #10715: Revert #10520: "Fix" use of sidebar classes in ``agogo.css_t`` Testing -------- diff --git a/sphinx/themes/agogo/static/agogo.css_t b/sphinx/themes/agogo/static/agogo.css_t index 53c4c3848..14c5e52ce 100644 --- a/sphinx/themes/agogo/static/agogo.css_t +++ b/sphinx/themes/agogo/static/agogo.css_t @@ -273,6 +273,12 @@ div.document ol { div.sidebar, aside.sidebar { + width: {{ theme_sidebarwidth|todim }}; + {%- if theme_rightsidebar|tobool %} + float: right; + {%- else %} + float: left; + {%- endif %} font-size: .9em; } From 5e9550c78e3421dd7dcab037021d996841178f67 Mon Sep 17 00:00:00 2001 From: danieleades <33452915+danieleades@users.noreply.github.com> Date: Sun, 28 Aug 2022 21:17:14 +0100 Subject: [PATCH 13/26] Fix more strict static typing errors (#10681) --- setup.cfg | 16 +++++++++-- sphinx/application.py | 28 +++++++++++------- sphinx/builders/latex/__init__.py | 38 ++++++++++++------------- sphinx/cmd/quickstart.py | 6 ++-- sphinx/directives/code.py | 2 +- sphinx/domains/c.py | 6 ++-- sphinx/domains/cpp.py | 17 ++++++----- sphinx/ext/autodoc/directive.py | 4 +-- sphinx/ext/autodoc/preserve_defaults.py | 2 +- sphinx/ext/autosummary/__init__.py | 19 +++++++------ sphinx/ext/autosummary/generate.py | 20 +++++++------ sphinx/ext/graphviz.py | 16 ++++++----- sphinx/ext/imgmath.py | 6 ++-- sphinx/ext/napoleon/iterators.py | 4 +-- sphinx/registry.py | 3 +- sphinx/util/__init__.py | 4 +-- sphinx/util/fileutil.py | 9 +++--- sphinx/util/i18n.py | 6 ++-- sphinx/util/inspect.py | 20 ++++++++----- sphinx/util/parallel.py | 7 +++-- sphinx/writers/latex.py | 6 ++-- 21 files changed, 141 insertions(+), 98 deletions(-) diff --git a/setup.cfg b/setup.cfg index 0a262d9f4..9ad5d2d75 100644 --- a/setup.cfg +++ b/setup.cfg @@ -74,7 +74,7 @@ strict_optional = False [mypy-sphinx.pycode.parser] strict_optional = False -[mypy-sphinx.registry.*] +[mypy-sphinx.registry] strict_optional = False [mypy-sphinx.search] @@ -92,7 +92,19 @@ strict_optional = False [mypy-sphinx.transforms.post_transforms.images] strict_optional = False -[mypy-sphinx.util.*] +[mypy-sphinx.util.cfamily] +strict_optional = False + +[mypy-sphinx.util.docfields] +strict_optional = False + +[mypy-sphinx.util.docutils] +strict_optional = False + +[mypy-sphinx.util.nodes] +strict_optional = False + +[mypy-sphinx.util.typing] strict_optional = False [mypy-sphinx.writers.html] diff --git a/sphinx/application.py b/sphinx/application.py index e0e77a3f5..565125b1e 100644 --- a/sphinx/application.py +++ b/sphinx/application.py @@ -128,9 +128,10 @@ class Sphinx: _warncount: int def __init__(self, srcdir: str, confdir: Optional[str], outdir: str, doctreedir: str, - buildername: str, confoverrides: Dict = None, + buildername: str, confoverrides: Optional[Dict] = None, status: Optional[IO] = sys.stdout, warning: Optional[IO] = sys.stderr, - freshenv: bool = False, warningiserror: bool = False, tags: List[str] = None, + freshenv: bool = False, warningiserror: bool = False, + tags: Optional[List[str]] = None, verbosity: int = 0, parallel: int = 0, keep_going: bool = False, pdb: bool = False) -> None: self.phase = BuildPhase.INITIALIZATION @@ -335,7 +336,7 @@ class Sphinx: # ---- main "build" method ------------------------------------------------- - def build(self, force_all: bool = False, filenames: List[str] = None) -> None: + def build(self, force_all: bool = False, filenames: Optional[List[str]] = None) -> None: self.phase = BuildPhase.READING try: if force_all: @@ -605,7 +606,7 @@ class Sphinx: self.registry.add_translation_handlers(node, **kwargs) def add_enumerable_node(self, node: Type[Element], figtype: str, - title_getter: TitleGetter = None, override: bool = False, + title_getter: Optional[TitleGetter] = None, override: bool = False, **kwargs: Tuple[Callable, Callable]) -> None: """Register a Docutils node class as a numfig target. @@ -792,7 +793,8 @@ class Sphinx: self.registry.add_index_to_domain(domain, index) def add_object_type(self, directivename: str, rolename: str, indextemplate: str = '', - parse_node: Callable = None, ref_nodeclass: Type[TextElement] = None, + parse_node: Optional[Callable] = None, + ref_nodeclass: Optional[Type[TextElement]] = None, objname: str = '', doc_field_types: List = [], override: bool = False ) -> None: """Register a new object type. @@ -859,7 +861,7 @@ class Sphinx: override=override) def add_crossref_type(self, directivename: str, rolename: str, indextemplate: str = '', - ref_nodeclass: Type[TextElement] = None, objname: str = '', + ref_nodeclass: Optional[Type[TextElement]] = None, objname: str = '', override: bool = False) -> None: """Register a new crossref object type. @@ -1072,8 +1074,9 @@ class Sphinx: self.builder.add_css_file(filename, # type: ignore[attr-defined] priority=priority, **kwargs) - def add_stylesheet(self, filename: str, alternate: bool = False, title: str = None - ) -> None: + def add_stylesheet( + self, filename: str, alternate: bool = False, title: Optional[str] = None + ) -> None: """An alias of :meth:`add_css_file`. .. deprecated:: 1.8 @@ -1092,7 +1095,7 @@ class Sphinx: self.add_css_file(filename, **attributes) - def add_latex_package(self, packagename: str, options: str = None, + def add_latex_package(self, packagename: str, options: Optional[str] = None, after_hyperref: bool = False) -> None: r"""Register a package to include in the LaTeX source code. @@ -1321,7 +1324,12 @@ class TemplateBridge: that renders templates given a template name and a context. """ - def init(self, builder: "Builder", theme: Theme = None, dirs: List[str] = None) -> None: + def init( + self, + builder: "Builder", + theme: Optional[Theme] = None, + dirs: Optional[List[str]] = None + ) -> None: """Called by the builder to initialize the template system. *builder* is the builder object; you'll probably want to look at the diff --git a/sphinx/builders/latex/__init__.py b/sphinx/builders/latex/__init__.py index 32f9d32ef..d07093fd2 100644 --- a/sphinx/builders/latex/__init__.py +++ b/sphinx/builders/latex/__init__.py @@ -3,7 +3,7 @@ import os import warnings from os import path -from typing import Any, Dict, Iterable, List, Tuple, Union +from typing import Any, Dict, Iterable, List, Optional, Tuple, Union from docutils.frontend import OptionParser from docutils.nodes import Node @@ -127,13 +127,13 @@ class LaTeXBuilder(Builder): def get_outdated_docs(self) -> Union[str, List[str]]: return 'all documents' # for now - def get_target_uri(self, docname: str, typ: str = None) -> str: + def get_target_uri(self, docname: str, typ: Optional[str] = None) -> str: if docname not in self.docnames: raise NoUri(docname, typ) else: return '%' + docname - def get_relative_uri(self, from_: str, to: str, typ: str = None) -> str: + def get_relative_uri(self, from_: str, to: str, typ: Optional[str] = None) -> str: # ignore source path return self.get_target_uri(to, typ) @@ -510,25 +510,25 @@ def setup(app: Sphinx) -> Dict[str, Any]: app.connect('config-inited', validate_latex_theme_options, priority=800) app.connect('builder-inited', install_packages_for_ja) - app.add_config_value('latex_engine', default_latex_engine, None, + app.add_config_value('latex_engine', default_latex_engine, False, ENUM('pdflatex', 'xelatex', 'lualatex', 'platex', 'uplatex')) - app.add_config_value('latex_documents', default_latex_documents, None) - app.add_config_value('latex_logo', None, None, [str]) - app.add_config_value('latex_appendices', [], None) - app.add_config_value('latex_use_latex_multicolumn', False, None) - app.add_config_value('latex_use_xindy', default_latex_use_xindy, None, [bool]) - app.add_config_value('latex_toplevel_sectioning', None, None, + app.add_config_value('latex_documents', default_latex_documents, False) + app.add_config_value('latex_logo', None, False, [str]) + app.add_config_value('latex_appendices', [], False) + app.add_config_value('latex_use_latex_multicolumn', False, False) + app.add_config_value('latex_use_xindy', default_latex_use_xindy, False, [bool]) + app.add_config_value('latex_toplevel_sectioning', None, False, ENUM(None, 'part', 'chapter', 'section')) - app.add_config_value('latex_domain_indices', True, None, [list]) - app.add_config_value('latex_show_urls', 'no', None) - app.add_config_value('latex_show_pagerefs', False, None) - app.add_config_value('latex_elements', {}, None) - app.add_config_value('latex_additional_files', [], None) - app.add_config_value('latex_theme', 'manual', None, [str]) - app.add_config_value('latex_theme_options', {}, None) - app.add_config_value('latex_theme_path', [], None, [list]) + app.add_config_value('latex_domain_indices', True, False, [list]) + app.add_config_value('latex_show_urls', 'no', False) + app.add_config_value('latex_show_pagerefs', False, False) + app.add_config_value('latex_elements', {}, False) + app.add_config_value('latex_additional_files', [], False) + app.add_config_value('latex_theme', 'manual', False, [str]) + app.add_config_value('latex_theme_options', {}, False) + app.add_config_value('latex_theme_path', [], False, [list]) - app.add_config_value('latex_docclass', default_latex_docclass, None) + app.add_config_value('latex_docclass', default_latex_docclass, False) return { 'version': 'builtin', diff --git a/sphinx/cmd/quickstart.py b/sphinx/cmd/quickstart.py index 27d0cca62..58f1a8d61 100644 --- a/sphinx/cmd/quickstart.py +++ b/sphinx/cmd/quickstart.py @@ -161,8 +161,8 @@ def do_prompt( class QuickstartRenderer(SphinxRenderer): - def __init__(self, templatedir: Optional[str]) -> None: - self.templatedir = templatedir or '' + def __init__(self, templatedir: str = '') -> None: + self.templatedir = templatedir super().__init__() def _has_custom_template(self, template_name: str) -> bool: @@ -327,7 +327,7 @@ def generate( d: Dict, overwrite: bool = True, silent: bool = False, templatedir: Optional[str] = None ) -> None: """Generate project based on values in *d*.""" - template = QuickstartRenderer(templatedir=templatedir) + template = QuickstartRenderer(templatedir or '') if 'mastertoctree' not in d: d['mastertoctree'] = '' diff --git a/sphinx/directives/code.py b/sphinx/directives/code.py index 0ea492e12..d33462dc0 100644 --- a/sphinx/directives/code.py +++ b/sphinx/directives/code.py @@ -239,7 +239,7 @@ class LiteralIncludeReader: def show_diff(self, location: Optional[Tuple[str, int]] = None) -> List[str]: new_lines = self.read_file(self.filename) - old_filename = self.options.get('diff') + old_filename = self.options['diff'] old_lines = self.read_file(old_filename) diff = unified_diff(old_lines, new_lines, old_filename, self.filename) return list(diff) diff --git a/sphinx/domains/c.py b/sphinx/domains/c.py index f8bc2c86f..54c21f347 100644 --- a/sphinx/domains/c.py +++ b/sphinx/domains/c.py @@ -663,7 +663,7 @@ class ASTTrailingTypeSpecName(ASTTrailingTypeSpec): class ASTFunctionParameter(ASTBase): - def __init__(self, arg: "ASTTypeWithInit", ellipsis: bool = False) -> None: + def __init__(self, arg: Optional["ASTTypeWithInit"], ellipsis: bool = False) -> None: self.arg = arg self.ellipsis = ellipsis @@ -2614,7 +2614,7 @@ class DefinitionParser(BaseParser): nestedName = self._parse_nested_name() return ASTTrailingTypeSpecName(prefix, nestedName) - def _parse_parameters(self, paramMode: str) -> ASTParameters: + def _parse_parameters(self, paramMode: str) -> Optional[ASTParameters]: self.skip_ws() if not self.skip_string('('): if paramMode == 'function': @@ -2915,7 +2915,7 @@ class DefinitionParser(BaseParser): value = self._parse_expression_fallback(fallbackEnd, parser, allow=allowFallback) return ASTInitializer(value) - def _parse_type(self, named: Union[bool, str], outer: str = None) -> ASTType: + def _parse_type(self, named: Union[bool, str], outer: Optional[str] = None) -> ASTType: """ named=False|'single'|True: 'single' is e.g., for function objects which doesn't need to name the arguments, but otherwise is a single name diff --git a/sphinx/domains/cpp.py b/sphinx/domains/cpp.py index 3dedb49c1..380388c83 100644 --- a/sphinx/domains/cpp.py +++ b/sphinx/domains/cpp.py @@ -3646,7 +3646,9 @@ class ASTTemplateParamTemplateType(ASTTemplateParam): def get_identifier(self) -> ASTIdentifier: return self.data.get_identifier() - def get_id(self, version: int, objectType: str = None, symbol: "Symbol" = None) -> str: + def get_id( + self, version: int, objectType: Optional[str] = None, symbol: Optional["Symbol"] = None + ) -> str: assert version >= 2 # this is not part of the normal name mangling in C++ if symbol: @@ -4227,14 +4229,15 @@ class Symbol: else: return super().__setattr__(key, value) - def __init__(self, parent: "Symbol", identOrOp: Union[ASTIdentifier, ASTOperator], - templateParams: Union[ASTTemplateParams, ASTTemplateIntroduction], - templateArgs: Any, declaration: ASTDeclaration, - docname: str, line: int) -> None: + def __init__(self, parent: Optional["Symbol"], + identOrOp: Union[ASTIdentifier, ASTOperator, None], + templateParams: Union[ASTTemplateParams, ASTTemplateIntroduction, None], + templateArgs: Any, declaration: Optional[ASTDeclaration], + docname: Optional[str], line: Optional[int]) -> None: self.parent = parent # declarations in a single directive are linked together - self.siblingAbove: Symbol = None - self.siblingBelow: Symbol = None + self.siblingAbove: Optional[Symbol] = None + self.siblingBelow: Optional[Symbol] = None self.identOrOp = identOrOp # Ensure the same symbol for `A` is created for: # diff --git a/sphinx/ext/autodoc/directive.py b/sphinx/ext/autodoc/directive.py index be2248320..f210a7d4e 100644 --- a/sphinx/ext/autodoc/directive.py +++ b/sphinx/ext/autodoc/directive.py @@ -1,5 +1,5 @@ import warnings -from typing import Any, Callable, Dict, List, Set, Type +from typing import Any, Callable, Dict, List, Optional, Set, Type from docutils import nodes from docutils.nodes import Element, Node @@ -42,7 +42,7 @@ class DummyOptionSpec(dict): class DocumenterBridge: """A parameters container for Documenters.""" - def __init__(self, env: BuildEnvironment, reporter: Reporter, options: Options, + def __init__(self, env: BuildEnvironment, reporter: Optional[Reporter], options: Options, lineno: int, state: Any) -> None: self.env = env self._reporter = reporter diff --git a/sphinx/ext/autodoc/preserve_defaults.py b/sphinx/ext/autodoc/preserve_defaults.py index 93de022dd..a12f42fcf 100644 --- a/sphinx/ext/autodoc/preserve_defaults.py +++ b/sphinx/ext/autodoc/preserve_defaults.py @@ -27,7 +27,7 @@ class DefaultValue: return self.name -def get_function_def(obj: Any) -> ast.FunctionDef: +def get_function_def(obj: Any) -> Optional[ast.FunctionDef]: """Get FunctionDef object from living object. This tries to parse original code for living object and returns AST node for given *obj*. diff --git a/sphinx/ext/autosummary/__init__.py b/sphinx/ext/autosummary/__init__.py index aaf0b55f5..ac60216b0 100644 --- a/sphinx/ext/autosummary/__init__.py +++ b/sphinx/ext/autosummary/__init__.py @@ -271,7 +271,9 @@ class Autosummary(SphinxDirective): return nodes - def import_by_name(self, name: str, prefixes: List[str]) -> Tuple[str, Any, Any, str]: + def import_by_name( + self, name: str, prefixes: List[Optional[str]] + ) -> Tuple[str, Any, Any, str]: with mock(self.config.autosummary_mock_imports): try: return import_by_name(name, prefixes) @@ -602,7 +604,7 @@ class ImportExceptionGroup(Exception): self.exceptions = list(exceptions) -def get_import_prefixes_from_env(env: BuildEnvironment) -> List[str]: +def get_import_prefixes_from_env(env: BuildEnvironment) -> List[Optional[str]]: """ Obtain current Python import prefixes (for `import_by_name`) from ``document.env`` @@ -623,8 +625,9 @@ def get_import_prefixes_from_env(env: BuildEnvironment) -> List[str]: return prefixes -def import_by_name(name: str, prefixes: List[str] = [None], grouped_exception: bool = True - ) -> Tuple[str, Any, Any, str]: +def import_by_name( + name: str, prefixes: List[Optional[str]] = [None], grouped_exception: bool = True +) -> Tuple[str, Any, Any, str]: """Import a Python object that has the given *name*, under one of the *prefixes*. The first name that succeeds is used. """ @@ -704,7 +707,7 @@ def _import_by_name(name: str, grouped_exception: bool = True) -> Tuple[Any, Any raise ImportError(*exc.args) from exc -def import_ivar_by_name(name: str, prefixes: List[str] = [None], +def import_ivar_by_name(name: str, prefixes: List[Optional[str]] = [None], grouped_exception: bool = True) -> Tuple[str, Any, Any, str]: """Import an instance variable that has the given *name*, under one of the *prefixes*. The first name that succeeds is used. @@ -755,14 +758,14 @@ class AutoLink(SphinxRole): return objects, errors -def get_rst_suffix(app: Sphinx) -> str: +def get_rst_suffix(app: Sphinx) -> Optional[str]: def get_supported_format(suffix: str) -> Tuple[str, ...]: parser_class = app.registry.get_source_parsers().get(suffix) if parser_class is None: return ('restructuredtext',) return parser_class.supported - suffix: str = None + suffix = None for suffix in app.config.source_suffix: if 'restructuredtext' in get_supported_format(suffix): return suffix @@ -775,7 +778,7 @@ def process_generate_options(app: Sphinx) -> None: if genfiles is True: env = app.builder.env - genfiles = [env.doc2path(x, base=None) for x in env.found_docs + genfiles = [env.doc2path(x, base=False) for x in env.found_docs if os.path.isfile(env.doc2path(x))] elif genfiles is False: pass diff --git a/sphinx/ext/autosummary/generate.py b/sphinx/ext/autosummary/generate.py index 0e1daf79a..2950d7663 100644 --- a/sphinx/ext/autosummary/generate.py +++ b/sphinx/ext/autosummary/generate.py @@ -22,7 +22,7 @@ import re import sys from gettext import NullTranslations from os import path -from typing import Any, Dict, List, NamedTuple, Sequence, Set, Tuple, Type +from typing import Any, Dict, List, NamedTuple, Optional, Sequence, Set, Tuple, Type from jinja2 import TemplateNotFound from jinja2.sandbox import SandboxedEnvironment @@ -212,7 +212,8 @@ def generate_autosummary_content(name: str, obj: Any, parent: Any, template: AutosummaryRenderer, template_name: str, imported_members: bool, app: Any, recursive: bool, context: Dict, - modname: str = None, qualname: str = None) -> str: + modname: Optional[str] = None, + qualname: Optional[str] = None) -> str: doc = get_documenter(app, obj, parent) def skip_member(obj: Any, name: str, objtype: str) -> bool: @@ -351,8 +352,8 @@ def generate_autosummary_content(name: str, obj: Any, parent: Any, return template.render(doc.objtype, ns) -def generate_autosummary_docs(sources: List[str], output_dir: str = None, - suffix: str = '.rst', base_path: str = None, +def generate_autosummary_docs(sources: List[str], output_dir: Optional[str] = None, + suffix: str = '.rst', base_path: Optional[str] = None, imported_members: bool = False, app: Any = None, overwrite: bool = True, encoding: str = 'utf-8') -> None: showed_sources = sorted(sources) @@ -456,7 +457,9 @@ def find_autosummary_in_files(filenames: List[str]) -> List[AutosummaryEntry]: return documented -def find_autosummary_in_docstring(name: str, filename: str = None) -> List[AutosummaryEntry]: +def find_autosummary_in_docstring( + name: str, filename: Optional[str] = None +) -> List[AutosummaryEntry]: """Find out what items are documented in the given object's docstring. See `find_autosummary_in_lines`. @@ -476,8 +479,9 @@ def find_autosummary_in_docstring(name: str, filename: str = None) -> List[Autos return [] -def find_autosummary_in_lines(lines: List[str], module: str = None, filename: str = None - ) -> List[AutosummaryEntry]: +def find_autosummary_in_lines( + lines: List[str], module: Optional[str] = None, filename: Optional[str] = None +) -> List[AutosummaryEntry]: """Find out what items appear in autosummary:: directives in the given lines. @@ -501,7 +505,7 @@ def find_autosummary_in_lines(lines: List[str], module: str = None, filename: st documented: List[AutosummaryEntry] = [] recursive = False - toctree: str = None + toctree: Optional[str] = None template = None current_module = module in_autosummary = False diff --git a/sphinx/ext/graphviz.py b/sphinx/ext/graphviz.py index c950da20b..1ca9dcc72 100644 --- a/sphinx/ext/graphviz.py +++ b/sphinx/ext/graphviz.py @@ -42,14 +42,14 @@ class ClickableMapDefinition: href_re = re.compile('href=".*?"') def __init__(self, filename: str, content: str, dot: str = '') -> None: - self.id: str = None + self.id: Optional[str] = None self.filename = filename self.content = content.splitlines() self.clickable: List[str] = [] self.parse(dot=dot) - def parse(self, dot: str = None) -> None: + def parse(self, dot: str) -> None: matched = self.maptag_re.match(self.content[0]) if not matched: raise GraphvizError('Invalid clickable map file found: %s' % self.filename) @@ -210,7 +210,8 @@ class GraphvizSimple(SphinxDirective): def render_dot(self: SphinxTranslator, code: str, options: Dict, format: str, - prefix: str = 'graphviz', filename: Optional[str] = None) -> Tuple[str, str]: + prefix: str = 'graphviz', filename: Optional[str] = None + ) -> Tuple[Optional[str], Optional[str]]: """Render graphviz code into a PNG or PDF output file.""" graphviz_dot = options.get('graphviz_dot', self.builder.config.graphviz_dot) hashkey = (code + str(options) + str(graphviz_dot) + @@ -224,7 +225,7 @@ def render_dot(self: SphinxTranslator, code: str, options: Dict, format: str, return relfn, outfn if (hasattr(self.builder, '_graphviz_warned_dot') and - self.builder._graphviz_warned_dot.get(graphviz_dot)): # type: ignore + self.builder._graphviz_warned_dot.get(graphviz_dot)): # type: ignore[attr-defined] return None, None ensuredir(path.dirname(outfn)) @@ -262,8 +263,9 @@ def render_dot(self: SphinxTranslator, code: str, options: Dict, format: str, def render_dot_html(self: HTMLTranslator, node: graphviz, code: str, options: Dict, - prefix: str = 'graphviz', imgcls: str = None, alt: str = None, - filename: str = None) -> Tuple[str, str]: + prefix: str = 'graphviz', imgcls: Optional[str] = None, + alt: Optional[str] = None, filename: Optional[str] = None + ) -> Tuple[str, str]: format = self.builder.config.graphviz_output_format try: if format not in ('png', 'svg'): @@ -318,7 +320,7 @@ def html_visit_graphviz(self: HTMLTranslator, node: graphviz) -> None: def render_dot_latex(self: LaTeXTranslator, node: graphviz, code: str, - options: Dict, prefix: str = 'graphviz', filename: str = None + options: Dict, prefix: str = 'graphviz', filename: Optional[str] = None ) -> None: try: fname, outfn = render_dot(self, code, options, 'pdf', prefix, filename) diff --git a/sphinx/ext/imgmath.py b/sphinx/ext/imgmath.py index 6bc503d65..f0096ff2c 100644 --- a/sphinx/ext/imgmath.py +++ b/sphinx/ext/imgmath.py @@ -154,7 +154,7 @@ def convert_dvi_to_image(command: List[str], name: str) -> Tuple[str, str]: raise MathExtError('%s exited with error' % name, exc.stderr, exc.stdout) from exc -def convert_dvi_to_png(dvipath: str, builder: Builder) -> Tuple[str, int]: +def convert_dvi_to_png(dvipath: str, builder: Builder) -> Tuple[str, Optional[int]]: """Convert DVI file to PNG image.""" tempdir = ensure_tempdir(builder) filename = path.join(tempdir, 'math.png') @@ -180,7 +180,7 @@ def convert_dvi_to_png(dvipath: str, builder: Builder) -> Tuple[str, int]: return filename, depth -def convert_dvi_to_svg(dvipath: str, builder: Builder) -> Tuple[str, int]: +def convert_dvi_to_svg(dvipath: str, builder: Builder) -> Tuple[str, Optional[int]]: """Convert DVI file to SVG image.""" tempdir = ensure_tempdir(builder) filename = path.join(tempdir, 'math.svg') @@ -204,7 +204,7 @@ def convert_dvi_to_svg(dvipath: str, builder: Builder) -> Tuple[str, int]: return filename, depth -def render_math(self: HTMLTranslator, math: str) -> Tuple[str, int]: +def render_math(self: HTMLTranslator, math: str) -> Tuple[Optional[str], Optional[int]]: """Render the LaTeX math expression *math* using latex and dvipng or dvisvgm. diff --git a/sphinx/ext/napoleon/iterators.py b/sphinx/ext/napoleon/iterators.py index 8c9de73e6..86f0dabf5 100644 --- a/sphinx/ext/napoleon/iterators.py +++ b/sphinx/ext/napoleon/iterators.py @@ -55,7 +55,7 @@ class peek_iter: def __iter__(self) -> "peek_iter": return self - def __next__(self, n: int = None) -> Any: + def __next__(self, n: Optional[int] = None) -> Any: return self.next(n) def _fillcache(self, n: Optional[int]) -> None: @@ -84,7 +84,7 @@ class peek_iter: """ return self.peek() != self.sentinel - def next(self, n: int = None) -> Any: + def next(self, n: Optional[int] = None) -> Any: """Get the next item or `n` items of the iterator. Parameters diff --git a/sphinx/registry.py b/sphinx/registry.py index afb03977e..050124d0f 100644 --- a/sphinx/registry.py +++ b/sphinx/registry.py @@ -421,8 +421,7 @@ class SphinxComponentRegistry: self, node: Type[Node], figtype: str, - title_getter: Optional[TitleGetter] = None, - override: bool = False + title_getter: Optional[TitleGetter] = None, override: bool = False ) -> None: logger.debug('[app] adding enumerable node: (%r, %r, %r)', node, figtype, title_getter) if node in self.enumerable_nodes and not override: diff --git a/sphinx/util/__init__.py b/sphinx/util/__init__.py index 089c6a4ad..007a2bf5d 100644 --- a/sphinx/util/__init__.py +++ b/sphinx/util/__init__.py @@ -249,7 +249,7 @@ def save_traceback(app: Optional["Sphinx"]) -> str: return path -def get_full_modname(modname: str, attribute: str) -> str: +def get_full_modname(modname: str, attribute: str) -> Optional[str]: if modname is None: # Prevents a TypeError: if the last getattr() call will return None # then it's better to return it directly @@ -378,7 +378,7 @@ def format_exception_cut_frames(x: int = 1) -> str: return ''.join(res) -def import_object(objname: str, source: str = None) -> Any: +def import_object(objname: str, source: Optional[str] = None) -> Any: """Import python object by qualname.""" try: objpath = objname.split('.') diff --git a/sphinx/util/fileutil.py b/sphinx/util/fileutil.py index f706fa69a..e4f24f239 100644 --- a/sphinx/util/fileutil.py +++ b/sphinx/util/fileutil.py @@ -2,7 +2,7 @@ import os import posixpath -from typing import TYPE_CHECKING, Callable, Dict +from typing import TYPE_CHECKING, Callable, Dict, Optional from docutils.utils import relative_path @@ -14,7 +14,8 @@ if TYPE_CHECKING: def copy_asset_file(source: str, destination: str, - context: Dict = None, renderer: "BaseRenderer" = None) -> None: + context: Optional[Dict] = None, + renderer: Optional["BaseRenderer"] = None) -> None: """Copy an asset file to destination. On copying, it expands the template variables if context argument is given and @@ -47,8 +48,8 @@ def copy_asset_file(source: str, destination: str, def copy_asset(source: str, destination: str, excluded: PathMatcher = lambda path: False, - context: Dict = None, renderer: "BaseRenderer" = None, - onerror: Callable[[str, Exception], None] = None) -> None: + context: Optional[Dict] = None, renderer: Optional["BaseRenderer"] = None, + onerror: Optional[Callable[[str, Exception], None]] = None) -> None: """Copy asset files to destination recursively. On copying, it expands the template variables if context argument is given and diff --git a/sphinx/util/i18n.py b/sphinx/util/i18n.py index 0de6b6a4e..6915d3091 100644 --- a/sphinx/util/i18n.py +++ b/sphinx/util/i18n.py @@ -5,7 +5,7 @@ import re import warnings from datetime import datetime, timezone from os import path -from typing import TYPE_CHECKING, Callable, Generator, List, NamedTuple, Tuple, Union +from typing import TYPE_CHECKING, Callable, Generator, List, NamedTuple, Optional, Tuple, Union import babel.dates from babel.messages.mofile import write_mo @@ -190,7 +190,9 @@ def babel_format_date(date: datetime, format: str, locale: str, return format -def format_date(format: str, date: datetime = None, language: str = None) -> str: +def format_date( + format: str, date: Optional[datetime] = None, language: Optional[str] = None +) -> str: if date is None: # If time is not specified, try to use $SOURCE_DATE_EPOCH variable # See https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal diff --git a/sphinx/util/inspect.py b/sphinx/util/inspect.py index 0028e7500..96f22ea73 100644 --- a/sphinx/util/inspect.py +++ b/sphinx/util/inspect.py @@ -46,7 +46,7 @@ def unwrap(obj: Any) -> Any: return obj -def unwrap_all(obj: Any, *, stop: Callable = None) -> Any: +def unwrap_all(obj: Any, *, stop: Optional[Callable] = None) -> Any: """ Get an original object from wrapped object (unwrapping partials, wrapped functions, and other decorators). @@ -186,7 +186,7 @@ def ispartial(obj: Any) -> bool: return isinstance(obj, (partial, partialmethod)) -def isclassmethod(obj: Any, cls: Any = None, name: str = None) -> bool: +def isclassmethod(obj: Any, cls: Any = None, name: Optional[str] = None) -> bool: """Check if the object is classmethod.""" if isinstance(obj, classmethod): return True @@ -202,7 +202,7 @@ def isclassmethod(obj: Any, cls: Any = None, name: str = None) -> bool: return False -def isstaticmethod(obj: Any, cls: Any = None, name: str = None) -> bool: +def isstaticmethod(obj: Any, cls: Any = None, name: Optional[str] = None) -> bool: """Check if the object is staticmethod.""" if isinstance(obj, staticmethod): return True @@ -623,7 +623,8 @@ def signature(subject: Callable, bound_method: bool = False, type_aliases: Dict __validate_parameters__=False) -def evaluate_signature(sig: inspect.Signature, globalns: Dict = None, localns: Dict = None +def evaluate_signature(sig: inspect.Signature, globalns: Optional[Dict] = None, + localns: Optional[Dict] = None ) -> inspect.Signature: """Evaluate unresolved type annotations in a signature object.""" def evaluate_forwardref(ref: ForwardRef, globalns: Dict, localns: Dict) -> Any: @@ -800,8 +801,13 @@ def signature_from_ast(node: ast.FunctionDef, code: str = '') -> inspect.Signatu return inspect.Signature(params, return_annotation=return_annotation) -def getdoc(obj: Any, attrgetter: Callable = safe_getattr, - allow_inherited: bool = False, cls: Any = None, name: str = None) -> str: +def getdoc( + obj: Any, + attrgetter: Callable = safe_getattr, + allow_inherited: bool = False, + cls: Any = None, + name: Optional[str] = None +) -> Optional[str]: """Get the docstring for the object. This tries to obtain the docstring for some kind of objects additionally: @@ -821,7 +827,7 @@ def getdoc(obj: Any, attrgetter: Callable = safe_getattr, for basecls in getmro(cls): meth = basecls.__dict__.get(name) if meth and hasattr(meth, '__func__'): - doc = getdoc(meth.__func__) + doc: Optional[str] = getdoc(meth.__func__) if doc is not None or not allow_inherited: return doc diff --git a/sphinx/util/parallel.py b/sphinx/util/parallel.py index e89418ad3..267f7bd4c 100644 --- a/sphinx/util/parallel.py +++ b/sphinx/util/parallel.py @@ -9,8 +9,9 @@ from typing import Any, Callable, Dict, List, Optional, Sequence try: import multiprocessing + HAS_MULTIPROCESSING = True except ImportError: - multiprocessing = None + HAS_MULTIPROCESSING = False from sphinx.errors import SphinxParallelError from sphinx.util import logging @@ -33,7 +34,9 @@ class SerialTasks: def __init__(self, nproc: int = 1) -> None: pass - def add_task(self, task_func: Callable, arg: Any = None, result_func: Callable = None) -> None: # NOQA + def add_task( + self, task_func: Callable, arg: Any = None, result_func: Optional[Callable] = None + ) -> None: if arg is not None: res = task_func(arg) else: diff --git a/sphinx/writers/latex.py b/sphinx/writers/latex.py index 5debd681f..e0b4ec03b 100644 --- a/sphinx/writers/latex.py +++ b/sphinx/writers/latex.py @@ -389,9 +389,9 @@ class LaTeXTranslator(SphinxTranslator): self.context: List[Any] = [] self.descstack: List[str] = [] self.tables: List[Table] = [] - self.next_table_colspec: str = None + self.next_table_colspec: Optional[str] = None self.bodystack: List[List[str]] = [] - self.footnote_restricted: Element = None + self.footnote_restricted: Optional[Element] = None self.pending_footnotes: List[nodes.footnote_reference] = [] self.curfilestack: List[str] = [] self.handled_abbrs: Set[str] = set() @@ -1187,7 +1187,7 @@ class LaTeXTranslator(SphinxTranslator): # self.body.append(r'\columnbreak\n') pass - def latex_image_length(self, width_str: str, scale: int = 100) -> str: + def latex_image_length(self, width_str: str, scale: int = 100) -> Optional[str]: try: return rstdim_to_latexdim(width_str, scale) except ValueError: From 4cd950e1ba1e666c838521871e374ec7ea0bc414 Mon Sep 17 00:00:00 2001 From: Jeremy Maitin-Shepard Date: Tue, 6 Sep 2022 15:34:20 -0700 Subject: [PATCH 14/26] Allow `:ref:` role to be used with definitions and fields (#10781) --- CHANGES | 1 + sphinx/domains/std.py | 19 ++++++++++++++----- tests/test_domain_std.py | 40 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+), 5 deletions(-) diff --git a/CHANGES b/CHANGES index df90f5388..4684fc26d 100644 --- a/CHANGES +++ b/CHANGES @@ -17,6 +17,7 @@ Features added parameter lists and the declaration. - #10755: linkcheck: Check the source URL of raw directives that use the ``url`` option. +- #10781: Allow :rst:role:`ref` role to be used with definitions and fields. Bugs fixed ---------- diff --git a/sphinx/domains/std.py b/sphinx/domains/std.py index d985e5d3a..b0d21b492 100644 --- a/sphinx/domains/std.py +++ b/sphinx/domains/std.py @@ -757,12 +757,21 @@ class StandardDomain(Domain): if not sectname: continue else: - toctree = next(node.findall(addnodes.toctree), None) - if toctree and toctree.get('caption'): - sectname = toctree.get('caption') + if (isinstance(node, (nodes.definition_list, + nodes.field_list)) and + node.children): + node = cast(nodes.Element, node.children[0]) + if isinstance(node, (nodes.field, nodes.definition_list_item)): + node = cast(nodes.Element, node.children[0]) + if isinstance(node, (nodes.term, nodes.field_name)): + sectname = clean_astext(node) else: - # anonymous-only labels - continue + toctree = next(node.findall(addnodes.toctree), None) + if toctree and toctree.get('caption'): + sectname = toctree.get('caption') + else: + # anonymous-only labels + continue self.labels[name] = docname, labelid, sectname def add_program_option(self, program: str, name: str, docname: str, labelid: str) -> None: diff --git a/tests/test_domain_std.py b/tests/test_domain_std.py index 866938526..d5c3e63d8 100644 --- a/tests/test_domain_std.py +++ b/tests/test_domain_std.py @@ -445,3 +445,43 @@ def test_labeled_rubric(app): domain = app.env.get_domain("std") assert 'label' in domain.labels assert domain.labels['label'] == ('index', 'label', 'blah blah blah') + + +def test_labeled_definition(app): + text = (".. _label1:\n" + "\n" + "Foo blah *blah* blah\n" + " Definition\n" + "\n" + ".. _label2:\n" + "\n" + "Bar blah *blah* blah\n" + " Definition\n" + "\n") + restructuredtext.parse(app, text) + + domain = app.env.get_domain("std") + assert 'label1' in domain.labels + assert domain.labels['label1'] == ('index', 'label1', 'Foo blah blah blah') + assert 'label2' in domain.labels + assert domain.labels['label2'] == ('index', 'label2', 'Bar blah blah blah') + + +def test_labeled_field(app): + text = (".. _label1:\n" + "\n" + ":Foo blah *blah* blah:\n" + " Definition\n" + "\n" + ".. _label2:\n" + "\n" + ":Bar blah *blah* blah:\n" + " Definition\n" + "\n") + restructuredtext.parse(app, text) + + domain = app.env.get_domain("std") + assert 'label1' in domain.labels + assert domain.labels['label1'] == ('index', 'label1', 'Foo blah blah blah') + assert 'label2' in domain.labels + assert domain.labels['label2'] == ('index', 'label2', 'Bar blah blah blah') From 592da865d3cebcb73676ed89408ae0fb589b288c Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Wed, 7 Sep 2022 16:30:52 +0100 Subject: [PATCH 15/26] Refactor `util.docutils.new_document()` cache (#10805) --- sphinx/util/docutils.py | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/sphinx/util/docutils.py b/sphinx/util/docutils.py index 3ca75deea..cde09058e 100644 --- a/sphinx/util/docutils.py +++ b/sphinx/util/docutils.py @@ -30,6 +30,8 @@ logger = logging.getLogger(__name__) report_re = re.compile('^(.+?:(?:\\d+)?): \\((DEBUG|INFO|WARNING|ERROR|SEVERE)/(\\d+)?\\) ') if TYPE_CHECKING: + from docutils.frontend import Values + from sphinx.builders import Builder from sphinx.config import Config from sphinx.environment import BuildEnvironment @@ -598,7 +600,7 @@ if docutils.__version_info__ <= (0, 18): # cache a vanilla instance of nodes.document # Used in new_document() function -__document_cache__: Optional[nodes.document] = None +__document_cache__: Tuple["Values", Reporter] def new_document(source_path: str, settings: Any = None) -> nodes.document: @@ -609,15 +611,18 @@ def new_document(source_path: str, settings: Any = None) -> nodes.document: This makes an instantiation of document nodes much faster. """ global __document_cache__ - if __document_cache__ is None: - __document_cache__ = docutils.utils.new_document(source_path) + try: + cached_settings, reporter = __document_cache__ + except NameError: + doc = docutils.utils.new_document(source_path) + __document_cache__ = cached_settings, reporter = doc.settings, doc.reporter if settings is None: - # Make a copy of ``settings`` from cache to accelerate instantiation - settings = copy(__document_cache__.settings) + # Make a copy of the cached settings to accelerate instantiation + settings = copy(cached_settings) # Create a new instance of nodes.document using cached reporter from sphinx import addnodes - document = addnodes.document(settings, __document_cache__.reporter, source=source_path) + document = addnodes.document(settings, reporter, source=source_path) document.note_source(source_path, -1) return document From 7473b05e0d7142ccd6196b2fd61a4f6c9dc21fbc Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Wed, 7 Sep 2022 21:06:14 +0100 Subject: [PATCH 16/26] Use asterisks for bullets --- CHANGES | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGES b/CHANGES index 4684fc26d..1aeb27254 100644 --- a/CHANGES +++ b/CHANGES @@ -13,19 +13,19 @@ Deprecated Features added -------------- -- #10286: C++, support requires clauses not just between the template +* #10286: C++, support requires clauses not just between the template parameter lists and the declaration. -- #10755: linkcheck: Check the source URL of raw directives that use the ``url`` +* #10755: linkcheck: Check the source URL of raw directives that use the ``url`` option. -- #10781: Allow :rst:role:`ref` role to be used with definitions and fields. +* #10781: Allow :rst:role:`ref` role to be used with definitions and fields. Bugs fixed ---------- -- #10257: C++, ensure consistent non-specialization template argument +* #10257: C++, ensure consistent non-specialization template argument representation. -- #10729: C++, fix parsing of certain non-type template parameter packs. -- #10715: Revert #10520: "Fix" use of sidebar classes in ``agogo.css_t`` +* #10729: C++, fix parsing of certain non-type template parameter packs. +* #10715: Revert #10520: "Fix" use of sidebar classes in ``agogo.css_t`` Testing -------- From 7da60f23539bd5d1a79bdbcf67cd5164311182b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Fri, 9 Sep 2022 03:28:29 +0200 Subject: [PATCH 17/26] search: support searching for (sub)titles (#10717) Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> --- CHANGES | 2 ++ sphinx/environment/__init__.py | 2 +- sphinx/search/__init__.py | 26 +++++++++++++++++++++-- sphinx/themes/basic/static/searchtools.js | 24 ++++++++++++++++++++- tests/test_search.py | 6 ++++-- 5 files changed, 54 insertions(+), 6 deletions(-) diff --git a/CHANGES b/CHANGES index 1aeb27254..f1c57a24d 100644 --- a/CHANGES +++ b/CHANGES @@ -18,6 +18,8 @@ Features added * #10755: linkcheck: Check the source URL of raw directives that use the ``url`` option. * #10781: Allow :rst:role:`ref` role to be used with definitions and fields. +* #10717: HTML Search: Increase priority for full title and + subtitle matches in search results Bugs fixed ---------- diff --git a/sphinx/environment/__init__.py b/sphinx/environment/__init__.py index 430e03358..1a1dd755f 100644 --- a/sphinx/environment/__init__.py +++ b/sphinx/environment/__init__.py @@ -59,7 +59,7 @@ if docutils.__version_info__[:2] <= (0, 17): # This is increased every time an environment attribute is added # or changed to properly invalidate pickle files. -ENV_VERSION = 56 +ENV_VERSION = 57 # config status CONFIG_OK = 1 diff --git a/sphinx/search/__init__.py b/sphinx/search/__init__.py index ac8a44dcc..a3dd07d3f 100644 --- a/sphinx/search/__init__.py +++ b/sphinx/search/__init__.py @@ -183,6 +183,7 @@ class WordCollector(nodes.NodeVisitor): def __init__(self, document: nodes.document, lang: SearchLanguage) -> None: super().__init__(document) self.found_words: List[str] = [] + self.found_titles: List[Tuple[str, str]] = [] self.found_title_words: List[str] = [] self.lang = lang @@ -213,7 +214,10 @@ class WordCollector(nodes.NodeVisitor): elif isinstance(node, nodes.Text): self.found_words.extend(self.lang.split(node.astext())) elif isinstance(node, nodes.title): - self.found_title_words.extend(self.lang.split(node.astext())) + title = node.astext() + ids = node.parent['ids'] + self.found_titles.append((title, ids[0] if ids else None)) + self.found_title_words.extend(self.lang.split(title)) elif isinstance(node, Element) and self.is_meta_keywords(node): keywords = node['content'] keywords = [keyword.strip() for keyword in keywords.split(',')] @@ -237,6 +241,7 @@ class IndexBuilder: self._mapping: Dict[str, Set[str]] = {} # stemmed word -> set(docname) # stemmed words in titles -> set(docname) self._title_mapping: Dict[str, Set[str]] = {} + self._all_titles: Dict[str, List[Tuple[str, str]]] = {} # docname -> all titles self._stem_cache: Dict[str, str] = {} # word -> stemmed word self._objtypes: Dict[Tuple[str, str], int] = {} # objtype -> index # objtype index -> (domain, type, objname (localized)) @@ -281,6 +286,11 @@ class IndexBuilder: index2fn = frozen['docnames'] self._filenames = dict(zip(index2fn, frozen['filenames'])) self._titles = dict(zip(index2fn, frozen['titles'])) + self._all_titles = {} + + for title, doc_tuples in frozen['alltitles'].items(): + for doc, titleid in doc_tuples: + self._all_titles.setdefault(index2fn[doc], []).append((title, titleid)) def load_terms(mapping: Dict[str, Any]) -> Dict[str, Set[str]]: rv = {} @@ -364,9 +374,16 @@ class IndexBuilder: objects = self.get_objects(fn2index) # populates _objtypes objtypes = {v: k[0] + ':' + k[1] for (k, v) in self._objtypes.items()} objnames = self._objnames + + alltitles: Dict[str, List[Tuple[int, str]]] = {} + for docname, titlelist in self._all_titles.items(): + for title, titleid in titlelist: + alltitles.setdefault(title.lower(), []).append((fn2index[docname], titleid)) + return dict(docnames=docnames, filenames=filenames, titles=titles, terms=terms, objects=objects, objtypes=objtypes, objnames=objnames, - titleterms=title_terms, envversion=self.env.version) + titleterms=title_terms, envversion=self.env.version, + alltitles=alltitles) def label(self) -> str: return "%s (code: %s)" % (self.lang.language_name, self.lang.lang) @@ -374,13 +391,16 @@ class IndexBuilder: def prune(self, docnames: Iterable[str]) -> None: """Remove data for all docnames not in the list.""" new_titles = {} + new_alltitles = {} new_filenames = {} for docname in docnames: if docname in self._titles: new_titles[docname] = self._titles[docname] + new_alltitles[docname] = self._all_titles[docname] new_filenames[docname] = self._filenames[docname] self._titles = new_titles self._filenames = new_filenames + self._all_titles = new_alltitles for wordnames in self._mapping.values(): wordnames.intersection_update(docnames) for wordnames in self._title_mapping.values(): @@ -403,6 +423,8 @@ class IndexBuilder: return self._stem_cache[word] _filter = self.lang.word_filter + self._all_titles[docname] = visitor.found_titles + for word in visitor.found_title_words: stemmed_word = stem(word) if _filter(stemmed_word): diff --git a/sphinx/themes/basic/static/searchtools.js b/sphinx/themes/basic/static/searchtools.js index f2fb7d5cf..30872aa8f 100644 --- a/sphinx/themes/basic/static/searchtools.js +++ b/sphinx/themes/basic/static/searchtools.js @@ -237,6 +237,11 @@ const Search = { * execute search (requires search index to be loaded) */ query: (query) => { + const filenames = Search._index.filenames; + const docNames = Search._index.docnames; + const titles = Search._index.titles; + const allTitles = Search._index.alltitles; + // stem the search terms and add them to the correct list const stemmer = new Stemmer(); const searchTerms = new Set(); @@ -272,6 +277,23 @@ const Search = { let results = []; _removeChildren(document.getElementById("search-progress")); + const queryLower = query.toLowerCase(); + for (const [title, foundTitles] of Object.entries(allTitles)) { + if (title.includes(queryLower) && (queryLower.length >= title.length/2)) { + for (const [file, id] of foundTitles) { + let score = Math.round(100 * queryLower.length / title.length) + results.push([ + docNames[file], + titles[file], + id !== null ? "#" + id : "", + null, + score, + filenames[file], + ]); + } + } + } + // lookup as object objectTerms.forEach((term) => results.push(...Search.performObjectSearch(term, objectTerms)) @@ -399,8 +421,8 @@ const Search = { // prepare search const terms = Search._index.terms; const titleTerms = Search._index.titleterms; - const docNames = Search._index.docnames; const filenames = Search._index.filenames; + const docNames = Search._index.docnames; const titles = Search._index.titles; const scoreMap = new Map(); diff --git a/tests/test_search.py b/tests/test_search.py index 0330bfbae..cbe1be54f 100644 --- a/tests/test_search.py +++ b/tests/test_search.py @@ -177,7 +177,8 @@ def test_IndexBuilder(): 'non': [0, 1, 2, 3], 'test': [0, 1, 2, 3]}, 'titles': ('title1_1', 'title1_2', 'title2_1', 'title2_2'), - 'titleterms': {'section_titl': [0, 1, 2, 3]} + 'titleterms': {'section_titl': [0, 1, 2, 3]}, + 'alltitles': {'section_title': [(0, 'section-title'), (1, 'section-title'), (2, 'section-title'), (3, 'section-title')]} } assert index._objtypes == {('dummy1', 'objtype1'): 0, ('dummy2', 'objtype1'): 1} assert index._objnames == {0: ('dummy1', 'objtype1', 'objtype1'), @@ -234,7 +235,8 @@ def test_IndexBuilder(): 'non': [0, 1], 'test': [0, 1]}, 'titles': ('title1_2', 'title2_2'), - 'titleterms': {'section_titl': [0, 1]} + 'titleterms': {'section_titl': [0, 1]}, + 'alltitles': {'section_title': [(0, 'section-title'), (1, 'section-title')]} } assert index._objtypes == {('dummy1', 'objtype1'): 0, ('dummy2', 'objtype1'): 1} assert index._objnames == {0: ('dummy1', 'objtype1', 'objtype1'), From ba548f713eb70e72a5bc4cf626b8b63fc0cbea3e Mon Sep 17 00:00:00 2001 From: Tony Narlock Date: Thu, 8 Sep 2022 20:32:56 -0500 Subject: [PATCH 18/26] Correct `is_allowed_version()`'s example tests (#10802) --- sphinx/ext/doctest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sphinx/ext/doctest.py b/sphinx/ext/doctest.py index 4168e998a..8e060907f 100644 --- a/sphinx/ext/doctest.py +++ b/sphinx/ext/doctest.py @@ -45,11 +45,11 @@ def is_allowed_version(spec: str, version: str) -> bool: Some examples: - >>> is_allowed_version('3.3', '<=3.5') + >>> is_allowed_version('<=3.5', '3.3') True - >>> is_allowed_version('3.3', '<=3.2') + >>> is_allowed_version('<=3.2', '3.3') False - >>> is_allowed_version('3.3', '>3.2, <4.0') + >>> is_allowed_version('>3.2, <4.0', '3.3') True """ return Version(version) in SpecifierSet(spec) From c5ae5855ae380b9f6a752c8f2f6847ea82af74d8 Mon Sep 17 00:00:00 2001 From: danieleades <33452915+danieleades@users.noreply.github.com> Date: Fri, 9 Sep 2022 02:35:59 +0100 Subject: [PATCH 19/26] Remove `sphinx.builders.gettext` module from whitelist (#10798) --- setup.cfg | 3 --- sphinx/builders/gettext.py | 1 - 2 files changed, 4 deletions(-) diff --git a/setup.cfg b/setup.cfg index 9ad5d2d75..527c3af97 100644 --- a/setup.cfg +++ b/setup.cfg @@ -41,9 +41,6 @@ strict_optional = False [mypy-sphinx.builders] strict_optional = False -[mypy-sphinx.builders.gettext] -strict_optional = False - [mypy-sphinx.builders.html] strict_optional = False diff --git a/sphinx/builders/gettext.py b/sphinx/builders/gettext.py index acdd9d137..e0706ff96 100644 --- a/sphinx/builders/gettext.py +++ b/sphinx/builders/gettext.py @@ -120,7 +120,6 @@ class I18nBuilder(Builder): """ name = 'i18n' versioning_method = 'text' - versioning_compare: bool = None # be set by `gettext_uuid` use_message_catalog = False def init(self) -> None: From 454ced9cc1dff4ce119e6a267642994b11c842c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Fri, 9 Sep 2022 04:06:55 +0200 Subject: [PATCH 20/26] Save search resul score to HTML element for debugging (#10718) Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> --- CHANGES | 1 + sphinx/themes/basic/static/searchtools.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index f1c57a24d..ba01f72a9 100644 --- a/CHANGES +++ b/CHANGES @@ -20,6 +20,7 @@ Features added * #10781: Allow :rst:role:`ref` role to be used with definitions and fields. * #10717: HTML Search: Increase priority for full title and subtitle matches in search results +* #10718: HTML Search: Save search result score to the HTML element for debugging Bugs fixed ---------- diff --git a/sphinx/themes/basic/static/searchtools.js b/sphinx/themes/basic/static/searchtools.js index 30872aa8f..e80592c14 100644 --- a/sphinx/themes/basic/static/searchtools.js +++ b/sphinx/themes/basic/static/searchtools.js @@ -64,7 +64,7 @@ const _displayItem = (item, highlightTerms, searchTerms) => { const docLinkSuffix = DOCUMENTATION_OPTIONS.LINK_SUFFIX; const showSearchSummary = DOCUMENTATION_OPTIONS.SHOW_SEARCH_SUMMARY; - const [docName, title, anchor, descr] = item; + const [docName, title, anchor, descr, score, _filename] = item; let listItem = document.createElement("li"); let requestUrl; @@ -86,6 +86,7 @@ const _displayItem = (item, highlightTerms, searchTerms) => { params.set("highlight", [...highlightTerms].join(" ")); let linkEl = listItem.appendChild(document.createElement("a")); linkEl.href = linkUrl + "?" + params.toString() + anchor; + linkEl.dataset.score = score; linkEl.innerHTML = title; if (descr) listItem.appendChild(document.createElement("span")).innerHTML = From 75f25bab49b9c929c270eff209378fa9e7b4cc1e Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Fri, 9 Sep 2022 03:16:08 +0100 Subject: [PATCH 21/26] Clean setup.py --- setup.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/setup.py b/setup.py index 930a20fcb..f481e16af 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,3 @@ -import sys - from setuptools import find_packages, setup import sphinx @@ -7,10 +5,6 @@ import sphinx with open('README.rst', encoding='utf-8') as f: long_desc = f.read() -if sys.version_info < (3, 6): - print('ERROR: Sphinx requires at least Python 3.6 to run.') - sys.exit(1) - install_requires = [ 'sphinxcontrib-applehelp', 'sphinxcontrib-devhelp', @@ -31,7 +25,6 @@ install_requires = [ ] extras_require = { - # Environment Marker works for wheel 0.24 or later ':sys_platform=="win32"': [ 'colorama>=0.3.5', ], From 4af52b4b88ae0608bf429ea490e4f67e637a04af Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Fri, 9 Sep 2022 03:20:02 +0100 Subject: [PATCH 22/26] Refactor setup.py --- setup.py | 90 +++++++++++++++++++++++++++----------------------------- 1 file changed, 43 insertions(+), 47 deletions(-) diff --git a/setup.py b/setup.py index f481e16af..6d1ea8c38 100644 --- a/setup.py +++ b/setup.py @@ -5,51 +5,6 @@ import sphinx with open('README.rst', encoding='utf-8') as f: long_desc = f.read() -install_requires = [ - 'sphinxcontrib-applehelp', - 'sphinxcontrib-devhelp', - 'sphinxcontrib-jsmath', - 'sphinxcontrib-htmlhelp>=2.0.0', - 'sphinxcontrib-serializinghtml>=1.1.5', - 'sphinxcontrib-qthelp', - 'Jinja2>=2.3', - 'Pygments>=2.0', - 'docutils>=0.14,<0.20', - 'snowballstemmer>=1.1', - 'babel>=1.3', - 'alabaster>=0.7,<0.8', - 'imagesize', - 'requests>=2.5.0', - 'packaging', - "importlib-metadata>=4.4; python_version < '3.10'", -] - -extras_require = { - ':sys_platform=="win32"': [ - 'colorama>=0.3.5', - ], - 'docs': [ - 'sphinxcontrib-websupport', - ], - 'lint': [ - 'flake8>=3.5.0', - 'flake8-comprehensions', - 'flake8-bugbear', - 'isort', - 'mypy>=0.971', - 'sphinx-lint', - 'docutils-stubs', - "types-typed-ast", - "types-requests", - ], - 'test': [ - 'pytest>=4.6', - 'html5lib', - "typed_ast; python_version < '3.8'", - 'cython', - ], -} - setup( name='Sphinx', version=sphinx.__version__, @@ -124,6 +79,47 @@ setup( ], }, python_requires=">=3.6", - install_requires=install_requires, - extras_require=extras_require, + install_requires=[ + 'sphinxcontrib-applehelp', + 'sphinxcontrib-devhelp', + 'sphinxcontrib-jsmath', + 'sphinxcontrib-htmlhelp>=2.0.0', + 'sphinxcontrib-serializinghtml>=1.1.5', + 'sphinxcontrib-qthelp', + 'Jinja2>=2.3', + 'Pygments>=2.0', + 'docutils>=0.14,<0.20', + 'snowballstemmer>=1.1', + 'babel>=1.3', + 'alabaster>=0.7,<0.8', + 'imagesize', + 'requests>=2.5.0', + 'packaging', + "importlib-metadata>=4.4; python_version < '3.10'", + ], + extras_require={ + ':sys_platform=="win32"': [ + 'colorama>=0.3.5', + ], + 'docs': [ + 'sphinxcontrib-websupport', + ], + 'lint': [ + 'flake8>=3.5.0', + 'flake8-comprehensions', + 'flake8-bugbear', + 'isort', + 'mypy>=0.971', + 'sphinx-lint', + 'docutils-stubs', + "types-typed-ast", + "types-requests", + ], + 'test': [ + 'pytest>=4.6', + 'html5lib', + "typed_ast; python_version < '3.8'", + 'cython', + ], + }, ) From 62dd6852cff53f24f4d587c143f5e661ac851fc6 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Fri, 9 Sep 2022 03:23:58 +0100 Subject: [PATCH 23/26] Specify `colorama` dependency with an environment marker --- setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 6d1ea8c38..166cb4980 100644 --- a/setup.py +++ b/setup.py @@ -96,11 +96,9 @@ setup( 'requests>=2.5.0', 'packaging', "importlib-metadata>=4.4; python_version < '3.10'", + "colorama>=0.3.5; sys_platform == 'win32'", ], extras_require={ - ':sys_platform=="win32"': [ - 'colorama>=0.3.5', - ], 'docs': [ 'sphinxcontrib-websupport', ], From ff01427a0e8995d85b942ac1a251792cceda9155 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Fri, 9 Sep 2022 03:35:17 +0100 Subject: [PATCH 24/26] Bump dependency versions --- setup.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/setup.py b/setup.py index 166cb4980..95f29c9c2 100644 --- a/setup.py +++ b/setup.py @@ -86,17 +86,17 @@ setup( 'sphinxcontrib-htmlhelp>=2.0.0', 'sphinxcontrib-serializinghtml>=1.1.5', 'sphinxcontrib-qthelp', - 'Jinja2>=2.3', - 'Pygments>=2.0', + 'Jinja2>=3.0', + 'Pygments>=2.8', 'docutils>=0.14,<0.20', - 'snowballstemmer>=1.1', - 'babel>=1.3', + 'snowballstemmer>=2.0', + 'babel>=2.9', 'alabaster>=0.7,<0.8', - 'imagesize', + 'imagesize>=1.3', 'requests>=2.5.0', - 'packaging', - "importlib-metadata>=4.4; python_version < '3.10'", - "colorama>=0.3.5; sys_platform == 'win32'", + 'packaging>=21.0', + "importlib-metadata>=4.8; python_version < '3.10'", + "colorama>=0.4.5; sys_platform == 'win32'", ], extras_require={ 'docs': [ From f35d2a6cc726f97d0e859ca7a0e1729f7da8a6c8 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Fri, 9 Sep 2022 05:08:48 +0100 Subject: [PATCH 25/26] Remove Pygments compatability code (#10812) --- setup.py | 2 +- sphinx/highlighting.py | 33 +++++---------------------------- sphinx/writers/latex.py | 13 ++++--------- tests/test_build_html.py | 21 +++++---------------- tests/test_intl.py | 23 ++++++----------------- 5 files changed, 21 insertions(+), 71 deletions(-) diff --git a/setup.py b/setup.py index 95f29c9c2..4c65723aa 100644 --- a/setup.py +++ b/setup.py @@ -87,7 +87,7 @@ setup( 'sphinxcontrib-serializinghtml>=1.1.5', 'sphinxcontrib-qthelp', 'Jinja2>=3.0', - 'Pygments>=2.8', + 'Pygments>=2.12', 'docutils>=0.14,<0.20', 'snowballstemmer>=2.0', 'babel>=2.9', diff --git a/sphinx/highlighting.py b/sphinx/highlighting.py index bb020850f..4a737eb40 100644 --- a/sphinx/highlighting.py +++ b/sphinx/highlighting.py @@ -2,17 +2,15 @@ from functools import partial from importlib import import_module -from typing import Any, Dict, Optional +from typing import Any, Dict, Optional, Type, Union -from packaging import version -from pygments import __version__ as pygmentsversion from pygments import highlight from pygments.filters import ErrorToken from pygments.formatter import Formatter from pygments.formatters import HtmlFormatter, LatexFormatter from pygments.lexer import Lexer -from pygments.lexers import (CLexer, Python3Lexer, PythonConsoleLexer, PythonLexer, RstLexer, - TextLexer, get_lexer_by_name, guess_lexer) +from pygments.lexers import (CLexer, PythonConsoleLexer, PythonLexer, RstLexer, TextLexer, + get_lexer_by_name, guess_lexer) from pygments.style import Style from pygments.styles import get_style_by_name from pygments.util import ClassNotFound @@ -24,12 +22,10 @@ from sphinx.util import logging, texescape logger = logging.getLogger(__name__) lexers: Dict[str, Lexer] = {} -lexer_classes: Dict[str, Lexer] = { +lexer_classes: Dict[str, Union[Type[Lexer], 'partial[Lexer]']] = { 'none': partial(TextLexer, stripnl=False), 'python': partial(PythonLexer, stripnl=False), - 'python3': partial(Python3Lexer, stripnl=False), 'pycon': partial(PythonConsoleLexer, stripnl=False), - 'pycon3': partial(PythonConsoleLexer, python3=True, stripnl=False), 'rest': partial(RstLexer, stripnl=False), 'c': partial(CLexer, stripnl=False), } @@ -76,20 +72,6 @@ _LATEX_ADD_STYLES = r''' \protected\def\PYG#1#2{\PYG@reset\PYG@toks#1+\relax+{\PYG@do{#2}}} \makeatother ''' -# fix extra space between lines when Pygments highlighting uses \fcolorbox -# add a {..} to limit \fboxsep scope, and force \fcolorbox use correct value -# cf pygments #1708 which makes this unneeded for Pygments > 2.7.4 -_LATEX_ADD_STYLES_FIXPYG = r''' -\makeatletter -% fix for Pygments <= 2.7.4 -\let\spx@original@fcolorbox\fcolorbox -\def\spx@fixpyg@fcolorbox{\fboxsep-\fboxrule\spx@original@fcolorbox} -\protected\def\PYG#1#2{\PYG@reset\PYG@toks#1+\relax+% - {\let\fcolorbox\spx@fixpyg@fcolorbox\PYG@do{#2}}} -\makeatother -''' -if version.parse(pygmentsversion).release <= (2, 7, 4): - _LATEX_ADD_STYLES += _LATEX_ADD_STYLES_FIXPYG class PygmentsBridge: @@ -132,17 +114,12 @@ class PygmentsBridge: opts = {} # find out which lexer to use - if lang in ('py', 'python'): + if lang in {'py', 'python', 'py3', 'python3', 'default'}: if source.startswith('>>>'): # interactive session lang = 'pycon' else: lang = 'python' - elif lang in ('py3', 'python3', 'default'): - if source.startswith('>>>'): - lang = 'pycon3' - else: - lang = 'python3' if lang in lexers: # just return custom lexers here (without installing raiseonerror filter) diff --git a/sphinx/writers/latex.py b/sphinx/writers/latex.py index e0b4ec03b..43f3910dd 100644 --- a/sphinx/writers/latex.py +++ b/sphinx/writers/latex.py @@ -1708,15 +1708,10 @@ class LaTeXTranslator(SphinxTranslator): opts = self.config.highlight_options.get(lang, {}) hlcode = self.highlighter.highlight_block( - node.astext(), lang, opts=opts, location=node) - # TODO: Use nowrap option once LaTeX formatter supports it - # https://github.com/pygments/pygments/pull/1343 - hlcode = hlcode.replace(r'\begin{Verbatim}[commandchars=\\\{\}]', - r'\sphinxcode{\sphinxupquote{%') - # get consistent trailer - hlcode = hlcode.rstrip()[:-15] # strip \n\end{Verbatim} - self.body.append(hlcode) - self.body.append('%' + CR + '}}') + node.astext(), lang, opts=opts, location=node, nowrap=True) + self.body.append(r'\sphinxcode{\sphinxupquote{%' + CR + + hlcode.rstrip() + '%' + CR # NoQA: W503 + + '}}') # NoQA: W503 raise nodes.SkipNode def depart_literal(self, node: Element) -> None: diff --git a/tests/test_build_html.py b/tests/test_build_html.py index 2b74690a1..8fd83b438 100644 --- a/tests/test_build_html.py +++ b/tests/test_build_html.py @@ -6,10 +6,8 @@ from itertools import chain, cycle from unittest.mock import ANY, call, patch import docutils -import pygments import pytest from html5lib import HTMLParser -from packaging import version from sphinx.builders.html import validate_html_extra_path, validate_html_static_path from sphinx.errors import ConfigError @@ -23,9 +21,6 @@ else: FIGURE_CAPTION = ".//figure/figcaption/p" -PYGMENTS_VERSION = version.parse(pygments.__version__).release - - ENV_WARNINGS = """\ %(root)s/autodoc_fodder.py:docstring of autodoc_fodder.MarkupError:\\d+: \ WARNING: Explicit markup ends without a blank line; unexpected unindent. @@ -1631,13 +1626,10 @@ def test_html_codeblock_linenos_style_table(app): app.build() content = (app.outdir / 'index.html').read_text(encoding='utf8') - if PYGMENTS_VERSION >= (2, 8): - assert ('
1\n'
-                '2\n'
-                '3\n'
-                '4
') in content - else: - assert '
1\n2\n3\n4
' in content + assert ('
1\n'
+            '2\n'
+            '3\n'
+            '4
') in content @pytest.mark.sphinx('html', testroot='reST-code-block', @@ -1646,10 +1638,7 @@ def test_html_codeblock_linenos_style_inline(app): app.build() content = (app.outdir / 'index.html').read_text(encoding='utf8') - if PYGMENTS_VERSION > (2, 7): - assert '1' in content - else: - assert '1 ' in content + assert '1' in content @pytest.mark.sphinx('html', testroot='highlight_options') diff --git a/tests/test_intl.py b/tests/test_intl.py index 1366b0a06..796d95bcc 100644 --- a/tests/test_intl.py +++ b/tests/test_intl.py @@ -7,7 +7,6 @@ import os import re import docutils -import pygments import pytest from babel.messages import mofile, pofile from babel.messages.catalog import Catalog @@ -25,8 +24,6 @@ sphinx_intl = pytest.mark.sphinx( }, ) -pygments_version = tuple(int(v) for v in pygments.__version__.split('.')) - def read_po(pathname): with pathname.open(encoding='utf-8') as f: @@ -1099,13 +1096,9 @@ def test_additional_targets_should_not_be_translated(app): assert_count(expected_expr, result, 1) # C code block with lang should not be translated but be *C* highlighted - if pygments_version < (2, 10, 0): - expected_expr = ("""#include """ - """<stdio.h>""") - else: - expected_expr = ("""#include""" - """ """ - """<stdio.h>""") + expected_expr = ("""#include""" + """ """ + """<stdio.h>""") assert_count(expected_expr, result, 1) # literal block in list item should not be translated @@ -1182,13 +1175,9 @@ def test_additional_targets_should_be_translated(app): assert_count(expected_expr, result, 1) # C code block with lang should be translated and be *C* highlighted - if pygments_version < (2, 10, 0): - expected_expr = ("""#include """ - """<STDIO.H>""") - else: - expected_expr = ("""#include""" - """ """ - """<STDIO.H>""") + expected_expr = ("""#include""" + """ """ + """<STDIO.H>""") assert_count(expected_expr, result, 1) # literal block in list item should be translated From fe2f96ac99ae3261bca4a66b989149f13abaa212 Mon Sep 17 00:00:00 2001 From: danieleades <33452915+danieleades@users.noreply.github.com> Date: Fri, 9 Sep 2022 07:29:54 +0100 Subject: [PATCH 26/26] Shink the strict optional whitelist (#10800) Removes `sphinx.search` --- setup.cfg | 3 --- sphinx/testing/util.py | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/setup.cfg b/setup.cfg index 527c3af97..5cc94b55c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -74,9 +74,6 @@ strict_optional = False [mypy-sphinx.registry] strict_optional = False -[mypy-sphinx.search] -strict_optional = False - [mypy-sphinx.setup_command] strict_optional = False diff --git a/sphinx/testing/util.py b/sphinx/testing/util.py index 11cf4b290..6f0b79810 100644 --- a/sphinx/testing/util.py +++ b/sphinx/testing/util.py @@ -91,8 +91,8 @@ class SphinxTestApp(application.Sphinx): A subclass of :class:`Sphinx` that runs on the test root, with some better default values for the initialization parameters. """ - _status: StringIO = None - _warning: StringIO = None + _status: StringIO + _warning: StringIO def __init__( self,