mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge branch '2.1.1' into 6436_napoleon_unknown_target_name
This commit is contained in:
commit
bc61713ab6
1
CHANGES
1
CHANGES
@ -20,6 +20,7 @@ Bugs fixed
|
||||
immediately preceding section title by pagebreak
|
||||
* #6448: autodoc: crashed when autodocumenting classes with ``__slots__ = None``
|
||||
* #6452: autosummary: crashed when generating document of properties
|
||||
* #6455: napoleon: docstrings for properties are not processed
|
||||
* #6436: napoleon: "Unknown target name" error if variable name ends with
|
||||
underscore
|
||||
|
||||
|
@ -250,7 +250,7 @@ the source and the compiled catalogs.
|
||||
|
||||
When a new locale is submitted, add a new directory with the ISO 639-1 language
|
||||
identifier and put ``sphinx.po`` in there. Don't forget to update the possible
|
||||
values for :confval:`language` in ``doc/config.rst``.
|
||||
values for :confval:`language` in ``doc/usage/configuration.rst``.
|
||||
|
||||
The Sphinx core messages can also be translated on `Transifex
|
||||
<https://www.transifex.com/>`_. There exists a client tool named ``tx`` in the
|
||||
|
@ -310,7 +310,7 @@ you can select a language here by its language code. Sphinx will then
|
||||
translate text that it generates into that language.
|
||||
|
||||
For a list of supported codes, see
|
||||
http://sphinx-doc.org/config.html#confval-language.'''))
|
||||
https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language.'''))
|
||||
d['language'] = do_prompt(__('Project language'), 'en')
|
||||
if d['language'] == 'en':
|
||||
d['language'] = None
|
||||
|
@ -558,7 +558,7 @@ class GoogleDocstring:
|
||||
# type: () -> None
|
||||
self._parsed_lines = self._consume_empty()
|
||||
|
||||
if self._name and (self._what == 'attribute' or self._what == 'data'):
|
||||
if self._name and self._what in ('attribute', 'data', 'property'):
|
||||
# Implicit stop using StopIteration no longer allowed in
|
||||
# Python 3.7; see PEP 479
|
||||
res = [] # type: List[str]
|
||||
|
@ -1448,7 +1448,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1448,7 +1448,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1448,7 +1448,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1448,8 +1448,8 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
msgstr "\nWe xetz'ib'an ri wuj pa jun ch'abäl man Q'anch' ta,\nyatikïr nacha' jun chïk runuk'unem ch'ab'äl wawe' chi Sphinx tiq'ax\nruch'abäl ri wuj xtik'iyij pa ri ch'ab'äl re.\n\nChi natz'u rucholajem runuk'unem ch'ab'äl k'o chïk pa Sphinx, tab'e pa\nhttp://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr "\nWe xetz'ib'an ri wuj pa jun ch'abäl man Q'anch' ta,\nyatikïr nacha' jun chïk runuk'unem ch'ab'äl wawe' chi Sphinx tiq'ax\nruch'abäl ri wuj xtik'iyij pa ri ch'ab'äl re.\n\nChi natz'u rucholajem runuk'unem ch'ab'äl k'o chïk pa Sphinx, tab'e pa\nhttps://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
msgid "Project language"
|
||||
|
@ -1449,7 +1449,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1449,7 +1449,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1450,7 +1450,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1451,7 +1451,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1448,7 +1448,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1448,7 +1448,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1454,8 +1454,8 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
msgstr "\nSi los documentos están escritos en un idioma distinto al Inglés,\npuedes seleccionar un idioma aqui a través de su código. Sphinx traducirá\nlos textos que genere en dicho idioma.\n\nPara una lista de los códigos soportados visita: \nhttp://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr "\nSi los documentos están escritos en un idioma distinto al Inglés,\npuedes seleccionar un idioma aqui a través de su código. Sphinx traducirá\nlos textos que genere en dicho idioma.\n\nPara una lista de los códigos soportados visita: \nhttps://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
msgid "Project language"
|
||||
|
@ -1451,8 +1451,8 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
msgstr "\nKui su dokumendid pole kirjutatud inglise keeles, siis võid siin määrata\nkeele vastava keelekoodi abil. Sel juhul tõlgib Sphinx enda genereeritud\nteksti vastavasse keelde.\n\nToetatud keelekoodide kohta vaata\nhttp://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr "\nKui su dokumendid pole kirjutatud inglise keeles, siis võid siin määrata\nkeele vastava keelekoodi abil. Sel juhul tõlgib Sphinx enda genereeritud\nteksti vastavasse keelde.\n\nToetatud keelekoodide kohta vaata\nhttps://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
msgid "Project language"
|
||||
|
@ -1449,7 +1449,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1447,7 +1447,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1448,7 +1448,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1465,8 +1465,8 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
msgstr "\nSi le documents doit être écrit dans une autre langue que l'anglais, vous pouvez choisir une langue ici en saisissant son code. Sphinx traduira le texte qu'il génère dans cette langue. Pour une liste des codes supportés : http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr "\nSi le documents doit être écrit dans une autre langue que l'anglais, vous pouvez choisir une langue ici en saisissant son code. Sphinx traduira le texte qu'il génère dans cette langue. Pour une liste des codes supportés : https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
msgid "Project language"
|
||||
|
@ -1448,7 +1448,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1449,8 +1449,8 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
msgstr "\nयदि प्रलेखों को अंग्रेजी के अलावा अन्य किसी भाषा में लिखा जाना है,\nतो यहाँ पर आप भाषा का कूटशब्द दे सकते हैं. स्फिंक्स तदपुरांत,\nजो वाक्यांश बनाता है उसे उस भाषा में अनुवादित करेगा.\n\nमान्य भाषा कूटशब्द सूची यहाँ पर देखें\nhttp://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr "\nयदि प्रलेखों को अंग्रेजी के अलावा अन्य किसी भाषा में लिखा जाना है,\nतो यहाँ पर आप भाषा का कूटशब्द दे सकते हैं. स्फिंक्स तदपुरांत,\nजो वाक्यांश बनाता है उसे उस भाषा में अनुवादित करेगा.\n\nमान्य भाषा कूटशब्द सूची यहाँ पर देखें\nhttps://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
msgid "Project language"
|
||||
|
@ -1447,7 +1447,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1448,7 +1448,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1452,7 +1452,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1451,7 +1451,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1452,7 +1452,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1460,8 +1460,8 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
msgstr "\nドキュメントを英語以外の言語で書く場合は、\n 言語コードで言語を選択できます。Sphinx は生成したテキストをその言語に翻訳します。\n\nサポートされているコードのリストについては、\nhttp://sphinx-doc.org/config.html#confval-language を参照してください。"
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr "\nドキュメントを英語以外の言語で書く場合は、\n 言語コードで言語を選択できます。Sphinx は生成したテキストをその言語に翻訳します。\n\nサポートされているコードのリストについては、\nhttps://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language を参照してください。"
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
msgid "Project language"
|
||||
|
@ -1448,7 +1448,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1448,7 +1448,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1447,7 +1447,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1448,7 +1448,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1447,7 +1447,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1449,7 +1449,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1453,7 +1453,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1451,8 +1451,8 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
msgstr "\nJeśli dokumenty mają być pisane w języku innym niż angielski,\nmożesz tutaj wybrać język przez jego kod. Sphinx następnie\nprzetłumaczy tekst, który generuje, na ten język.\n\nListę wspieranych kodów znajdziesz na\nhttp://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr "\nJeśli dokumenty mają być pisane w języku innym niż angielski,\nmożesz tutaj wybrać język przez jego kod. Sphinx następnie\nprzetłumaczy tekst, który generuje, na ten język.\n\nListę wspieranych kodów znajdziesz na\nhttps://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
msgid "Project language"
|
||||
|
@ -1447,7 +1447,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1451,7 +1451,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1449,7 +1449,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1449,7 +1449,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1453,7 +1453,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1448,7 +1448,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1450,7 +1450,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1447,7 +1447,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1461,7 +1461,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1448,7 +1448,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1447,7 +1447,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1447,7 +1447,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1447,7 +1447,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1448,7 +1448,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1449,7 +1449,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1448,7 +1448,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1447,7 +1447,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1448,7 +1448,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -1456,8 +1456,8 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
msgstr "\n如果用英语以外的语言编写文档,你可以在此按语言代码选择语种。\nSphinx 会把内置文本翻译成相应语言的版本。\n\n支持的语言代码列表见:\nhttp://sphinx-doc.org/config.html#confval-language。"
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr "\n如果用英语以外的语言编写文档,你可以在此按语言代码选择语种。\nSphinx 会把内置文本翻译成相应语言的版本。\n\n支持的语言代码列表见:\nhttps://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language。"
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
msgid "Project language"
|
||||
|
@ -1453,7 +1453,7 @@ msgid ""
|
||||
"translate text that it generates into that language.\n"
|
||||
"\n"
|
||||
"For a list of supported codes, see\n"
|
||||
"http://sphinx-doc.org/config.html#confval-language."
|
||||
"https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/cmd/quickstart.py:314
|
||||
|
@ -40,8 +40,8 @@ Submodules
|
||||
{{- [submodule, "module"] | join(" ") | e | heading(2) }}
|
||||
{% endif %}
|
||||
{{ automodule(submodule, automodule_options) }}
|
||||
{%- endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{%- endif %}
|
||||
{% endif %}
|
||||
|
||||
{%- if not modulefirst and not is_namespace %}
|
||||
|
@ -467,7 +467,8 @@ def test_package_file(tempdir):
|
||||
outdir = path(tempdir)
|
||||
(outdir / 'testpkg').makedirs()
|
||||
(outdir / 'testpkg' / '__init__.py').write_text('')
|
||||
(outdir / 'testpkg' / 'example.py').write_text('')
|
||||
(outdir / 'testpkg' / 'hello.py').write_text('')
|
||||
(outdir / 'testpkg' / 'world.py').write_text('')
|
||||
(outdir / 'testpkg' / 'subpkg').makedirs()
|
||||
(outdir / 'testpkg' / 'subpkg' / '__init__.py').write_text('')
|
||||
apidoc_main(['-o', tempdir, tempdir / 'testpkg'])
|
||||
@ -488,10 +489,18 @@ def test_package_file(tempdir):
|
||||
"Submodules\n"
|
||||
"----------\n"
|
||||
"\n"
|
||||
"testpkg.example module\n"
|
||||
"----------------------\n"
|
||||
"testpkg.hello module\n"
|
||||
"--------------------\n"
|
||||
"\n"
|
||||
".. automodule:: testpkg.example\n"
|
||||
".. automodule:: testpkg.hello\n"
|
||||
" :members:\n"
|
||||
" :undoc-members:\n"
|
||||
" :show-inheritance:\n"
|
||||
"\n"
|
||||
"testpkg.world module\n"
|
||||
"--------------------\n"
|
||||
"\n"
|
||||
".. automodule:: testpkg.world\n"
|
||||
" :members:\n"
|
||||
" :undoc-members:\n"
|
||||
" :show-inheritance:\n"
|
||||
|
Loading…
Reference in New Issue
Block a user