diff options
166 files changed, 545 insertions, 723 deletions
@@ -4,6 +4,10 @@ Release 5.1.0 (in development) Dependencies ------------ +* #10656: Support `Docutils 0.19`_. Patch by Adam Turner. + +.. _Docutils 0.19: https://docutils.sourceforge.io/RELEASE-NOTES.html#release-0-19-2022-07-05 + Incompatible changes -------------------- @@ -36,6 +40,7 @@ Features added Bugs fixed ---------- +* #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. * #10460: logging: Always show node source locations as absolute paths. @@ -49,9 +54,12 @@ Bugs fixed bug * #10638: LaTeX: framed coloured boxes in highlighted code (e.g. highlighted diffs using Pygments style ``'manni'``) inherit thickness of code-block frame +* #10647: LaTeX: Only one ``\label`` is generated for ``desc_signature`` node + even if it has multiple node IDs * #10579: i18n: UnboundLocalError is raised on translating raw directive * #9577, #10088: py domain: Fix warning for duplicate Python references when using ``:any:`` and autodoc. +* #10548: HTML Search: fix minor summary issues. Testing -------- diff --git a/doc/_static/pocoo.png b/doc/_static/pocoo.png Binary files differdeleted file mode 100644 index 1648bb8d7..000000000 --- a/doc/_static/pocoo.png +++ /dev/null diff --git a/doc/_templates/contents.html b/doc/_templates/contents.html new file mode 100644 index 000000000..003d8c3d7 --- /dev/null +++ b/doc/_templates/contents.html @@ -0,0 +1,6 @@ +{% extends "layout.html" %} +{% set title = _('Sphinx documentation contents') %} +{% block body %} +<h1>{{ _('Sphinx documentation contents') }}</h1> +{{ toctree(includehidden=True, collapse=False, maxdepth=3) }} +{% endblock %} diff --git a/doc/_templates/index.html b/doc/_templates/index.html deleted file mode 100644 index 3cb884ab7..000000000 --- a/doc/_templates/index.html +++ /dev/null @@ -1,129 +0,0 @@ -{% extends "layout.html" %} -{% set title = _('Overview') %} -{% block body %} - <h1>{{ _('Welcome') }}</h1> - - <div class="quotebar"> - <p><em>{%trans%}What users say:{%endtrans%}</em></p> - <p>{%trans%}“Cheers for a great tool that actually makes programmers <b>want</b> - to write documentation!“{%endtrans%}</p> - </div> - - <p>{%trans%} - Sphinx is a tool that makes it easy to create intelligent and beautiful - documentation, written by Georg Brandl and licensed under the BSD license.{%endtrans%}</p> - <p>{%trans%}It was originally created for <a href="https://docs.python.org/">the - Python documentation</a>, and it has excellent facilities for the - documentation of software projects in a range of languages. Of - course, this site is also created from reStructuredText sources using - Sphinx! The following features should be highlighted:{%endtrans%} - </p> - <ul> - <li>{%trans%}<b>Output formats:</b> HTML (including Windows HTML Help), LaTeX (for - printable PDF versions), ePub, Texinfo, manual pages, plain text{%endtrans%}</li> - <li>{%trans%}<b>Extensive cross-references:</b> semantic markup and automatic links - for functions, classes, citations, glossary terms and similar pieces of - information{%endtrans%}</li> - <li>{%trans%}<b>Hierarchical structure:</b> easy definition of a document tree, with - automatic links to siblings, parents and children{%endtrans%}</li> - <li>{%trans%}<b>Automatic indices:</b> general index as well as a language-specific - module indices{%endtrans%}</li> - <li>{%trans%}<b>Code handling:</b> automatic highlighting using the <a - href="https://pygments.org">Pygments</a> highlighter{%endtrans%}</li> - <li>{%trans path=pathto('ext/builtins')%}<b>Extensions:</b> automatic testing of code snippets, inclusion of - docstrings from Python modules (API docs), and - <a href="{{ path }}#builtin-sphinx-extensions">more</a>{%endtrans%}</li> - <li>{%trans path=pathto("usage/extensions/index")%}<b>Contributed extensions:</b> dozens of - extensions <a href="{{ path }}#third-party-extensions">contributed by users</a>; - most of them installable from PyPI{%endtrans%}</li> - </ul> - <p>{%trans%} - Sphinx uses <a href="https://docutils.sourceforge.io/rst.html">reStructuredText</a> - as its markup language, and many of its strengths come from the power and - straightforwardness of reStructuredText and its parsing and translating - suite, the <a href="https://docutils.sourceforge.io/">Docutils</a>.{%endtrans%} - </p> - - <h2 style="margin-bottom: 0">{%trans%}Documentation{%endtrans%}</h2> - - <table class="contentstable"> - <tr> - <td> - <p class="biglink"><a class="biglink" href="{{ pathto("usage/quickstart") }}">{%trans%}First steps with Sphinx{%endtrans%}</a><br/> - <span class="linkdescr">{%trans%}overview of basic tasks{%endtrans%}</span></p> - </td><td> - <p class="biglink"><a class="biglink" href="{{ pathto("tutorial/index") }}">{%trans%}Tutorial{%endtrans%}</a><br/> - <span class="linkdescr">{%trans%}beginners tutorial{%endtrans%}</span></p> - </td> - </tr><tr> - <td> - <p class="biglink"><a class="biglink" href="{{ pathto("contents") }}">{%trans%}Contents{%endtrans%}</a><br/> - <span class="linkdescr">{%trans%}for a complete overview{%endtrans%}</span></p> - </td><td> - {%- if hasdoc('search') %}<p class="biglink"><a class="biglink" href="{{ pathto("search") }}">{%trans%}Search page{%endtrans%}</a><br/> - <span class="linkdescr">{%trans%}search the documentation{%endtrans%}</span></p>{%- endif %} - </td> - </tr><tr> - <td> - <p class="biglink"><a class="biglink" href="{{ pathto("changes") }}">{%trans%}Changes{%endtrans%}</a><br/> - <span class="linkdescr">{%trans%}release history{%endtrans%}</span></p> - </td><td> - {%- if hasdoc('genindex') %}<p class="biglink"><a class="biglink" href="{{ pathto("genindex") }}">{%trans%}General Index{%endtrans%}</a><br/> - <span class="linkdescr">{%trans%}all functions, classes, terms{%endtrans%}</span></p>{%- endif %} - </td><td> - </tr> - </table> - - <p>{%trans%} - You can also download PDF/EPUB versions of the Sphinx documentation - from pop up menu on lower right corner.{%endtrans%} - </p> - - <h2>{%trans%}Examples{%endtrans%}</h2> - <p>{%trans path=pathto("examples")%}Links to documentation generated with Sphinx can be found on the - <a href="{{ path }}">Projects using Sphinx</a> page.{%endtrans%} - </p> - <p>{%trans%} - For examples of how Sphinx source files look, use the “Show - source” links on all pages of the documentation apart from this - welcome page.{%endtrans%} - </p> - - <p>{%trans%}You may also be interested in the very nice - <a href="http://matplotlib.sourceforge.net/sampledoc/">tutorial</a> on how to - create a customized documentation using Sphinx written by the matplotlib - developers.{%endtrans%}</p> - - <p>{%trans%}There is a translation team in <a href="https://www.transifex.com/sphinx-doc/sphinx-doc/dashboard/">Transifex</a> - of this documentation, thanks to the Sphinx document translators.{%endtrans%}</p> - <p>{%trans%}A Japanese book about Sphinx has been published by O'Reilly: - <a href="https://www.oreilly.co.jp/books/9784873116488/">Sphinxをはじめよう / - Learning Sphinx</a>.{%endtrans%}</p> - <p>{%trans%}In 2019 the second edition of a German book about Sphinx was published: - <a href="https://literatur.hasecke.com/post/software-dokumentation-mit-sphinx/">Software-Dokumentation mit Sphinx</a>.{%endtrans%}</p> - <!-- <p><img src="{{ pathto("_static/bookcover.png", 1) }}"/></p> --> - - - <h2>{%trans%}Hosting{%endtrans%}</h2> - - <p>{%trans%}Need a place to host your Sphinx docs? - <a href="https://readthedocs.org/">readthedocs.org</a> hosts a lot of Sphinx docs - already, and integrates well with projects' source control. It also features a - powerful built-in search that exceeds the possibilities of Sphinx' JavaScript-based - offline search.{%endtrans%}</p> - - <h2>{%trans%}Contributor Guide{%endtrans%}</h2> - - <p>{%trans%}If you want to contribute to the project, - this part of the documentation is for you.{%endtrans%}</p> - - <ul> - <li>{%trans path=pathto("internals/contributing")%}<a href="{{ path }}">Sphinx Contributors’ Guide</a></li>{%endtrans%} - <li>{%trans path=pathto("internals/authors")%}<a href="{{ path }}">Sphinx Authors</a></li>{%endtrans%} - </ul> - - <h2>{%trans%}Code of Conduct{%endtrans%}</h2> - - <p>{%trans path=pathto("internals/code-of-conduct")%}Please adhere to our <a href="{{ path }}">Code of Conduct</a>.{%endtrans%}</p> - -{% endblock %} diff --git a/doc/_templates/indexsidebar.html b/doc/_templates/indexsidebar.html deleted file mode 100644 index e765648b2..000000000 --- a/doc/_templates/indexsidebar.html +++ /dev/null @@ -1,23 +0,0 @@ -<p class="logo">A <a href="https://www.pocoo.org/"> - <img src="{{ pathto("_static/pocoo.png", 1) }}" alt="Pocoo" /></a> - {%trans%}project{%endtrans%}</p> - -<h3>Download</h3> -<p class="download">{%trans%}Current version: <a href="https://pypi.org/project/Sphinx/" alt="PyPI"><img src="https://img.shields.io/pypi/v/sphinx.svg"></a>{%endtrans%}</p> -<p>{%trans%}Install Sphinx with:{%endtrans%}</p> -<pre>pip install -U Sphinx</pre> - -<h3>{%trans%}Questions? Suggestions?{%endtrans%}</h3> - -<p>{%trans%}Join the <a href="https://groups.google.com/group/sphinx-users">sphinx-users</a> mailing list on Google Groups:{%endtrans%}</p> -<div class="subscribeformwrapper"> -<form action="https://groups.google.com/group/sphinx-users/boxsubscribe" - class="subscribeform"> - <input type="text" name="email" value="your@email" - onfocus="this.value = ''" /> - <input type="submit" name="sub" value="Subscribe" /> -</form> -</div> -<p>{%trans%}or come to the <tt>#sphinx-doc</tt> channel on <a href="https://web.libera.chat/?channel=#sphinx-doc">libera.chat</a>.{%endtrans%}</p> -<p>{%trans%}You can also open an issue at the - <a href="https://github.com/sphinx-doc/sphinx/issues">tracker</a>.{%endtrans%}</p> diff --git a/doc/_themes/sphinx13/layout.html b/doc/_themes/sphinx13/layout.html index 7fe550ebd..f6f858a57 100644 --- a/doc/_themes/sphinx13/layout.html +++ b/doc/_themes/sphinx13/layout.html @@ -1,75 +1,60 @@ -{# - sphinxdoc/layout.html - ~~~~~~~~~~~~~~~~~~~~~ - - Sphinx layout template for the sphinxdoc theme. - - :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS. - :license: BSD, see LICENSE for details. -#} +{# Sphinx layout template for the sphinxdoc theme. #} {%- extends "basic/layout.html" %} -{# put the sidebar before the body #} -{% block sidebar1 %}{{ sidebar() }}{% endblock %} -{% block sidebar2 %}{% endblock %} - {% block extrahead %} - <link href='https://fonts.googleapis.com/css?family=Open+Sans:300,400,700' - rel='stylesheet' type='text/css' /> {{ super() }} -{%- if not embedded %} - <style type="text/css"> - table.right { float: right; margin-left: 20px; } - table.right td { border: 1px solid #ccc; } - {% if pagename == 'index' %} - .related { display: none; } - {% endif %} - </style> - <script> - // intelligent scrolling of the sidebar content - window.onscroll = () => { - const sb = document.getElementsByClassName('sphinxsidebarwrapper')[0] - const sbh = sb.offsetHeight - const offset = document.getElementsByClassName('sphinxsidebar')[0].offsetTop; - const wintop = window.scrollTop; - const winbot = wintop + window.offsetHeight - const curtop = sb.offsetTop; - const curbot = curtop + sbh; - // does sidebar fit in window? - if (sbh < window.offsetHeight) { - // yes: easy case -- always keep at the top - sb.style.top = Math.min(Math.max(0, wintop - offset - 10), window.innerHeight - sbh - 200) - } else { - // no: only scroll if top/bottom edge of sidebar is at - // top/bottom edge of window - if (curtop > wintop && curbot > winbot) { - sb.style.top = Math.max(wintop - offset - 10, 0) - } else if (curtop < wintop && curbot < winbot) { - sb.style.top = Math.min(winbot - sbh - offset - 20, window.innerHeight - sbh - 200) - } - } - } - </script> +{%- if not embedded and pagename == 'index' %} +<style>.related { display: none; }</style> {%- endif %} {% endblock %} -{% block rootrellink %} - <li><a href="{{ pathto('index') }}">Sphinx home</a> |</li> - <li><a href="{{ pathto('contents') }}">Documentation</a> »</li> -{% endblock %} - {% block header %} <div class="pageheader"> +<a href="{{ pathto('index') }}"> + <img src="{{ pathto('_static/sphinxheader.png', 1) }}" alt="SPHINX" /> +</a> +</div> +{% endblock %} + +{%- block relbar1 %} +<div class="related" role="navigation" aria-label="related navigation"> + <h3>{{ _('Navigation') }}</h3> <ul> - <li><a href="{{ pathto('index') }}">Home</a></li> - <li><a href="{{ pathto('usage/installation') }}">Get it</a></li> - <li><a href="{{ pathto('contents') }}">Docs</a></li> - <li><a href="{{ pathto('development/index') }}">Extend</a></li> + <li><a href="{{ pathto('index') }}">Documentation</a> »</li> + {%- for parent in parents %} + <li class="nav-item nav-item-{{ loop.index }}"><a href="{{ parent.link|e }}" {% if loop.last %}{{ accesskey("U") }}{% endif %}>{{ parent.title }}</a>{{ reldelim1 }}</li> + {%- endfor %} + <li class="nav-item nav-item-this"><a href="{{ link|e }}">{{ title }}</a></li> </ul> +</div> +{% endblock %} + +{%- block content %} +<div class="document"> + <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> + {%- include "searchbox.html" %} <div> - <a href="{{ pathto('index') }}"> - <img src="{{ pathto('_static/sphinxheader.png', 1) }}" alt="SPHINX" /> - </a> + <h3>{{ _('Contents') }}</h3> + {%- if pagename != "index" %} + {{ toc }} + {%- else %} + {{ toctree(includehidden=True, maxdepth=3) }} + {%- endif %} + </div> + </div> + {%- block document %} + <div class="body" role="main"> + {% block body %}{% endblock %} </div> + {%- endblock %} </div> -{% endblock %} +{%- endblock %} + +{%- block relbar2 %}{% endblock %} + +{%- block footer %} +<div class="footer" role="contentinfo"> + {% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %} + {% trans sphinx_version=sphinx_version|e %}Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %} +</div> +{%- endblock %} diff --git a/doc/_themes/sphinx13/static/bodybg.png b/doc/_themes/sphinx13/static/bodybg.png Binary files differdeleted file mode 100644 index 6f667b99e..000000000 --- a/doc/_themes/sphinx13/static/bodybg.png +++ /dev/null diff --git a/doc/_themes/sphinx13/static/footerbg.png b/doc/_themes/sphinx13/static/footerbg.png Binary files differdeleted file mode 100644 index d1bcb009b..000000000 --- a/doc/_themes/sphinx13/static/footerbg.png +++ /dev/null diff --git a/doc/_themes/sphinx13/static/headerbg.png b/doc/_themes/sphinx13/static/headerbg.png Binary files differdeleted file mode 100644 index 522504964..000000000 --- a/doc/_themes/sphinx13/static/headerbg.png +++ /dev/null diff --git a/doc/_themes/sphinx13/static/listitem.png b/doc/_themes/sphinx13/static/listitem.png Binary files differdeleted file mode 100644 index f7f814d00..000000000 --- a/doc/_themes/sphinx13/static/listitem.png +++ /dev/null diff --git a/doc/_themes/sphinx13/static/relbg.png b/doc/_themes/sphinx13/static/relbg.png Binary files differdeleted file mode 100644 index 68a9b77eb..000000000 --- a/doc/_themes/sphinx13/static/relbg.png +++ /dev/null diff --git a/doc/_themes/sphinx13/static/sphinx13.css b/doc/_themes/sphinx13/static/sphinx13.css index 5d64eda51..562b1757b 100644 --- a/doc/_themes/sphinx13/static/sphinx13.css +++ b/doc/_themes/sphinx13/static/sphinx13.css @@ -1,187 +1,74 @@ -/* - * sphinx13.css - * ~~~~~~~~~~~~ - * - * Sphinx stylesheet -- sphinx13 theme. - * - * :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS. - * :license: BSD, see LICENSE for details. - * - */ +/* Stylesheet for Sphinx's documentation */ -@import url("basic.css"); - -/* -- page layout ----------------------------------------------------------- */ +/* Set master colours */ +:root { + --fonts-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; + --colour-sphinx-blue: #0A507A; + --colour-text: #333; + --colour-links-light: #057; +} body { - font-family: 'Open Sans', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', - 'Verdana', sans-serif; - font-size: 14px; - text-align: center; - background-image: url(bodybg.png); - color: black; - padding: 0; - border-right: 1px solid #0a507a; - border-left: 1px solid #0a507a; - + font-family: var(--fonts-sans-serif); margin: 0 auto; - min-width: 780px; - max-width: 1080px; + color: var(--colour-text); } .pageheader { - background-image: url(headerbg.png); - text-align: left; + background-color: var(--colour-sphinx-blue); padding: 10px 15px; } -.pageheader ul { - float: right; - color: white; - list-style-type: none; - padding-left: 0; - margin-top: 30px; - margin-right: 10px; -} - -.pageheader li { - float: left; - margin: 0 0 0 10px; -} - -.pageheader li a { - border-radius: 1px; - padding: 8px 12px; - color: #f9f9f0; - text-shadow: 0 0 5px rgba(0, 0, 0, 0.5); -} - -.pageheader li a:hover { - background-color: #f9f9f0; - color: #0a507a; - text-shadow: none; -} - div.document { - background-color: white; - text-align: left; -} - -div.bodywrapper { - margin: 0 240px 0 0; - border-right: 1px solid #0a507a; + display: flex; + margin: 0 0.5em; } div.body { + border-left: 1px solid var(--colour-sphinx-blue); margin: 0; - padding: 0.5em 20px 20px 20px; + padding: 0.5em 1.25em; + min-width: 0; + max-width: 800px; } div.related { - font-size: 1em; + display: flex; color: white; -} - -div.related ul { - background-image: url(relbg.png); - height: 1.9em; + background-color: var(--colour-sphinx-blue); border-top: 1px solid #002e50; - border-bottom: 1px solid #002e50; } div.related ul li { margin: 0 5px 0 0; - padding: 0; float: left; } -div.related ul li.right { - float: right; - margin-right: 5px; -} - div.related ul li a { - margin: 0; padding: 0 5px 0 5px; line-height: 1.75em; - color: #f9f9f0; - text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.5); + color: white; } div.related ul li a:hover { - color: white; - /*text-decoration: underline;*/ - text-shadow: 0px 0px 1px rgba(255, 255, 255, 0.5); + text-shadow: 0 0 1px rgba(255, 255, 255, 0.5); } div.sphinxsidebarwrapper { - position: relative; - top: 0px; padding: 0; } div.sphinxsidebar { + overflow-wrap: break-word; margin: 0; - padding: 0 15px 15px 0; + padding-right: 15px; width: 210px; - float: right; font-size: 1em; - text-align: left; - max-height: 0px; -} - -div.sphinxsidebar .logo { - font-size: 1.8em; - color: #0A507A; - font-weight: 300; - text-align: center; -} - -div.sphinxsidebar .logo img { - vertical-align: middle; -} - -div.sphinxsidebar .download a img { - vertical-align: middle; -} - -div.subscribeformwrapper { - display: block; - overflow: auto; - margin-bottom: 1.2em; -} - -div.sphinxsidebar input { - border: 1px solid #aaa; - font-family: 'Open Sans', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', - 'Verdana', sans-serif; -} - -div.sphinxsidebar .subscribeform { - margin-top: 0; -} - -div.sphinxsidebar .subscribeform input { - border: 1px solid #aaa; - font-size: 0.9em; - float: left; - padding: 0.25em 0.5em; - box-sizing: border-box; -} - -div.sphinxsidebar .subscribeform input[type="text"] { - width: 60%; -} - -div.sphinxsidebar .subscribeform input[type="submit"] { - width: 40%; - border-left: none; } div.sphinxsidebar h3 { font-size: 1.5em; - border-top: 1px solid #0a507a; - margin-top: 1em; + margin-top: 0; margin-bottom: 0.5em; padding-top: 0.5em; } @@ -198,12 +85,6 @@ div.sphinxsidebar h3, div.sphinxsidebar h4 { padding-left: 14px; color: #333; font-weight: 300; - /*text-shadow: 0px 0px 0.5px rgba(0, 0, 0, 0.4);*/ -} - -div.sphinxsidebarwrapper > h3:first-child { - margin-top: 0.5em; - border: none; } div.sphinxsidebar h3 a { @@ -219,17 +100,16 @@ div.sphinxsidebar ul { div.sphinxsidebar ul ul { margin-left: 20px; - list-style-image: url(listitem.png); + list-style-type: none; } div.footer { - background-image: url(footerbg.png); + background-color: var(--colour-sphinx-blue); color: #ccc; text-shadow: 0 0 .2px rgba(255, 255, 255, 0.8); padding: 3px 8px 3px 0; clear: both; font-size: 0.8em; - text-align: right; } /* no need to make a visible link to Sphinx on the Sphinx page */ @@ -244,14 +124,10 @@ p { } a { - color: #A2881D; + color: var(--colour-links-light); text-decoration: none; } -a:hover { - color: #E1C13F; -} - div.body a { text-decoration: underline; } @@ -259,12 +135,18 @@ div.body a { h1 { margin: 10px 0 0 0; font-size: 2.4em; - color: #0A507A; + color: var(--colour-sphinx-blue); font-weight: 300; } +h1 span.pre { + /* for code in titles */ + word-break: break-all; + white-space: normal; +} + h2 { - margin: 1.em 0 0.2em 0; + margin: 1em 0 0.2em 0; font-size: 1.5em; font-weight: 300; padding: 0; @@ -282,12 +164,12 @@ div.body h1 a, div.body h2 a, div.body h3 a, div.body h4 a, div.body h5 a, div.b } div.body h1 a tt, div.body h2 a tt, div.body h3 a tt, div.body h4 a tt, div.body h5 a tt, div.body h6 a tt { - color: #0A507A !important; + color: var(--colour-sphinx-blue) !important; font-size: inherit !important; } a.headerlink { - color: #0A507A !important; + color: var(--colour-sphinx-blue) !important; font-size: 12px; margin-left: 6px; padding: 0 4px 0 4px; @@ -308,7 +190,7 @@ h1 code, h2 code, h3 code, h4 code { cite, code, tt { font-family: 'Consolas', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; - font-size: 14px; + font-size: 1em; letter-spacing: -0.02em; } @@ -335,17 +217,13 @@ hr { a tt { border: 0; - color: #a2881d; -} - -a tt:hover { - color: #e1c13f; + color: var(--colour-links-light); } pre { font-family: 'Consolas', 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; - font-size: 13px; + font-size: 1em; letter-spacing: 0.015em; line-height: 120%; padding: 0.5em; @@ -428,8 +306,7 @@ div.admonition div.highlight { } .viewcode-back { - font-family: 'Open Sans', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', - 'Verdana', sans-serif; + font-family: var(--fonts-sans-serif); } div.viewcode-block:target { @@ -438,8 +315,15 @@ div.viewcode-block:target { border-bottom: 1px solid #ac9; } -.contentstable { - margin-left: 30px; - margin: 0 auto; - table-layout: fixed; + +/* media queries */ + +/* Reduce padding & margins for smaller screens */ +@media (max-width: 750px) { + .sphinxsidebar { + display: none; + } + div.body { + border-left: none; + } } diff --git a/doc/_themes/sphinx13/theme.conf b/doc/_themes/sphinx13/theme.conf index 19a480a6b..78bb78f10 100644 --- a/doc/_themes/sphinx13/theme.conf +++ b/doc/_themes/sphinx13/theme.conf @@ -1,4 +1,4 @@ [theme] inherit = basic -stylesheet = sphinx13.css pygments_style = default +sidebars = diff --git a/doc/conf.py b/doc/conf.py index 05e6a99ec..a721508de 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -2,6 +2,7 @@ import os import re +import time import sphinx @@ -10,23 +11,25 @@ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo', 'sphinx.ext.intersphinx', 'sphinx.ext.viewcode', 'sphinx.ext.inheritance_diagram'] -root_doc = 'contents' templates_path = ['_templates'] exclude_patterns = ['_build'] project = 'Sphinx' -copyright = '2007-2022, Georg Brandl and the Sphinx team' +copyright = f'2007-{time.strftime("%Y")}, the Sphinx developers' version = sphinx.__display_version__ release = version show_authors = True html_theme = 'sphinx13' html_theme_path = ['_themes'] +html_css_files = [ + # 'basic.css', # included through inheritance from the basic theme + 'sphinx13.css', +] modindex_common_prefix = ['sphinx.'] html_static_path = ['_static'] -html_sidebars = {'index': ['indexsidebar.html', 'searchbox.html']} html_title = 'Sphinx documentation' -html_additional_pages = {'index': 'index.html'} +html_additional_pages = {'contents': 'contents.html'} html_use_opensearch = 'https://www.sphinx-doc.org/en/master' html_baseurl = 'https://www.sphinx-doc.org/en/master/' html_favicon = '_static/favicon.svg' @@ -35,7 +38,7 @@ htmlhelp_basename = 'Sphinxdoc' epub_theme = 'epub' epub_basename = 'sphinx' -epub_author = 'Georg Brandl' +epub_author = 'the Sphinx developers' epub_publisher = 'https://www.sphinx-doc.org/' epub_uid = 'web-site' epub_scheme = 'url' @@ -52,11 +55,10 @@ epub_fix_images = False epub_max_image_width = 0 epub_show_urls = 'inline' epub_use_index = False -epub_guide = (('toc', 'contents.xhtml', 'Table of Contents'),) epub_description = 'Sphinx documentation generator system manual' -latex_documents = [('contents', 'sphinx.tex', 'Sphinx Documentation', - 'Georg Brandl', 'manual', 1)] +latex_documents = [('index', 'sphinx.tex', 'Sphinx Documentation', + 'the Sphinx developers', 'manual', 1)] latex_logo = '_static/sphinx.png' latex_elements = { 'fontenc': r'\usepackage[LGR,X2,T1]{fontenc}', @@ -95,8 +97,8 @@ extlinks = {'duref': ('https://docutils.sourceforge.io/docs/ref/rst/' 'directives.html#%s', '%s')} man_pages = [ - ('contents', 'sphinx-all', 'Sphinx documentation generator system manual', - 'Georg Brandl', 1), + ('index', 'sphinx-all', 'Sphinx documentation generator system manual', + 'the Sphinx developers', 1), ('man/sphinx-build', 'sphinx-build', 'Sphinx documentation generator tool', '', 1), ('man/sphinx-quickstart', 'sphinx-quickstart', 'Sphinx documentation ' @@ -108,7 +110,7 @@ man_pages = [ ] texinfo_documents = [ - ('contents', 'sphinx', 'Sphinx Documentation', 'Georg Brandl', + ('index', 'sphinx', 'Sphinx Documentation', 'the Sphinx developers', 'Sphinx', 'The Sphinx documentation builder.', 'Documentation tools', 1), ] diff --git a/doc/contents.rst b/doc/contents.rst deleted file mode 100644 index 21a27e233..000000000 --- a/doc/contents.rst +++ /dev/null @@ -1,39 +0,0 @@ -.. _contents: - -Sphinx documentation contents -============================= - -.. toctree:: - :maxdepth: 2 - - usage/index - tutorial/index - development/index - man/index - - templating - latex - extdev/index - - internals/index - - faq - glossary - changes - examples - - -Indices and tables -================== - -.. only:: builder_html - - * :ref:`genindex` - * :ref:`modindex` - * :ref:`search` - * :ref:`glossary` - -.. only:: not builder_html - - * :ref:`modindex` - * :ref:`glossary` diff --git a/doc/index.rst b/doc/index.rst new file mode 100644 index 000000000..50571cdb7 --- /dev/null +++ b/doc/index.rst @@ -0,0 +1,101 @@ +======= +Welcome +======= + +**Sphinx makes it easy to create intelligent and beautiful documentation.** + +Install +======= + +Install Sphinx with ``pip install -U Sphinx``. See :doc:`usage/installation` for +further details. + +Features +======== + +* **Output formats:** HTML (including Windows HTML Help), LaTeX (for printable + PDF versions), ePub, Texinfo, manual pages, plain text +* **Extensive cross-references:** semantic markup and automatic links for + functions, classes, citations, glossary terms and similar pieces of + information +* **Hierarchical structure:** easy definition of a document tree, with automatic + links to siblings, parents and children +* **Automatic indices:** general index as well as a language-specific module + indices +* **Code handling:** automatic highlighting using the Pygments_ highlighter +* **Extensions:** automatic testing of code snippets, inclusion of docstrings + from Python modules (API docs), and :ref:`more <builtin-extensions>` +* **Contributed extensions:** dozens of extensions + :ref:`contributed by users <third-party-extensions>`; most of them installable + from PyPI + +.. _Pygments: https://pygments.org/ + +Sphinx uses reStructuredText_ as its markup language, and many of its strengths +come from the power and straightforwardness of reStructuredText and its parsing +and translating suite, the Docutils_. + +.. _reStructuredText: https://docutils.sourceforge.io/rst.html +.. _Docutils: https://docutils.sourceforge.io/ + +Documentation +============= + +* :doc:`First steps with Sphinx <usage/quickstart>`: overview of basic tasks +* :doc:`Tutorial <tutorial/index>`: beginners tutorial +* :ref:`Search page <search>`: search the documentation +* :doc:`Changes <changes>`: release history +* :ref:`General Index <genindex>`: all functions, classes, terms +* :ref:`Python Module Index <modindex>`: the index of Python modules +* :doc:`Glossary <glossary>`: definitions of various terms +* :doc:`Sphinx's Authors <internals/authors>`: the Sphinx developers +* `Contents <contents.html>`__: full table of contents + +Support +======= + +For questions or to report problems with Sphinx, join the `sphinx-users`_ +mailing list on Google Groups, come to the ``#sphinx-doc`` channel on +`libera.chat`_, or open an issue at the tracker_. + +.. _sphinx-users: https://groups.google.com/group/sphinx-users +.. _libera.chat: https://web.libera.chat/?channel=#sphinx-doc +.. _tracker: https://github.com/sphinx-doc/sphinx/issues + +Examples of other projects using Sphinx can be found in the :doc:`examples page +<examples>`. A useful tutorial_ has been written by the matplotlib developers. + +.. _tutorial: http://matplotlib.sourceforge.net/sampledoc/ + +There is a translation team in Transifex_ of this documentation, thanks to the +Sphinx document translators. + +.. _Transifex: https://www.transifex.com/sphinx-doc/sphinx-doc/dashboard/ + +Contributor guide +================= + +See the :doc:`Sphinx contributors' guide <internals/contributing>` if you would +like to contribute to the project. + +.. master toctree: + +.. toctree:: + :maxdepth: 5 + :hidden: + + usage/index + tutorial/index + development/index + man/index + + templating + latex + extdev/index + + internals/index + + faq + glossary + changes + examples diff --git a/doc/tutorial/end.rst b/doc/tutorial/end.rst index ba96abca0..9f35b0752 100644 --- a/doc/tutorial/end.rst +++ b/doc/tutorial/end.rst @@ -2,5 +2,5 @@ Where to go from here ===================== This tutorial covered the very first steps to create a documentation project -with Sphinx. To continue learning more about Sphinx, check out the :ref:`rest -of the documentation <contents>`. +with Sphinx. To continue learning more about Sphinx, check out the `rest of the +documentation <../contents.html>`__. @@ -11,7 +11,7 @@ upload = upload --sign --identity=36580288 [flake8] max-line-length = 95 -ignore = E116,E241,E251,E741,W504,I101 +ignore = E116,E241,E251,E741,W504,I101,B006,B023 exclude = .git,.tox,.venv,tests/roots/*,build/*,doc/_build/*,sphinx/search/*,doc/usage/extensions/example*.py application-import-names = sphinx import-order-style = smarkets @@ -20,7 +20,7 @@ install_requires = [ 'sphinxcontrib-qthelp', 'Jinja2>=2.3', 'Pygments>=2.0', - 'docutils>=0.14,<0.19', + 'docutils>=0.14,<0.20', 'snowballstemmer>=1.1', 'babel>=1.3', 'alabaster>=0.7,<0.8', @@ -41,6 +41,7 @@ extras_require = { 'lint': [ 'flake8>=3.5.0', 'flake8-comprehensions', + 'flake8-bugbear', 'isort', 'mypy>=0.950', 'sphinx-lint', diff --git a/sphinx/application.py b/sphinx/application.py index 08c4af5ba..c11b48916 100644 --- a/sphinx/application.py +++ b/sphinx/application.py @@ -131,7 +131,8 @@ class Sphinx: buildername: str, confoverrides: Dict = None, status: Optional[IO] = sys.stdout, warning: Optional[IO] = sys.stderr, freshenv: bool = False, warningiserror: bool = False, tags: List[str] = None, - verbosity: int = 0, parallel: int = 0, keep_going: bool = False) -> None: + verbosity: int = 0, parallel: int = 0, keep_going: bool = False, + pdb: bool = False) -> None: self.phase = BuildPhase.INITIALIZATION self.verbosity = verbosity self.extensions: Dict[str, Extension] = {} @@ -173,6 +174,7 @@ class Sphinx: self.warningiserror = False else: self.warningiserror = warningiserror + self.pdb = pdb logging.setup(self, self._status, self._warning) self.events = EventManager(self) diff --git a/sphinx/builders/linkcheck.py b/sphinx/builders/linkcheck.py index ef8575486..4dff0d4a6 100644 --- a/sphinx/builders/linkcheck.py +++ b/sphinx/builders/linkcheck.py @@ -301,7 +301,7 @@ class HyperlinkAvailabilityCheckWorker(Thread): req_url = encode_uri(req_url) # Get auth info, if any - for pattern, auth_info in self.auth: + for pattern, auth_info in self.auth: # noqa: B007 (false positive) if pattern.match(uri): break else: diff --git a/sphinx/cmd/build.py b/sphinx/cmd/build.py index ce0b14c75..259af2eb2 100644 --- a/sphinx/cmd/build.py +++ b/sphinx/cmd/build.py @@ -272,7 +272,8 @@ def build_main(argv: List[str] = sys.argv[1:]) -> int: app = Sphinx(args.sourcedir, args.confdir, args.outputdir, args.doctreedir, args.builder, confoverrides, status, warning, args.freshenv, args.warningiserror, - args.tags, args.verbosity, args.jobs, args.keep_going) + args.tags, args.verbosity, args.jobs, args.keep_going, + args.pdb) app.build(args.force_all, filenames) return app.statuscode except (Exception, KeyboardInterrupt) as exc: diff --git a/sphinx/domains/c.py b/sphinx/domains/c.py index 375ed501a..ad5927019 100644 --- a/sphinx/domains/c.py +++ b/sphinx/domains/c.py @@ -197,11 +197,11 @@ class ASTNestedName(ASTBase): # just print the name part, with template args, not template params if mode == 'noneIsName': if self.rooted: - assert False, "Can this happen?" # TODO + raise AssertionError("Can this happen?") # TODO signode += nodes.Text('.') for i in range(len(self.names)): if i != 0: - assert False, "Can this happen?" # TODO + raise AssertionError("Can this happen?") # TODO signode += nodes.Text('.') n = self.names[i] n.describe_signature(signode, mode, env, '', symbol) @@ -1488,7 +1488,7 @@ class ASTDeclaration(ASTBaseBase): mainDeclNode += addnodes.desc_sig_keyword(prefix, prefix) mainDeclNode += addnodes.desc_sig_space() else: - assert False + raise AssertionError() self.declaration.describe_signature(mainDeclNode, mode, env, self.symbol) if self.semicolon: mainDeclNode += addnodes.desc_sig_punctuation(';', ';') @@ -1518,11 +1518,11 @@ class Symbol: debug_show_tree = False def __copy__(self): - assert False # shouldn't happen + raise AssertionError() # shouldn't happen def __deepcopy__(self, memo): if self.parent: - assert False # shouldn't happen + raise AssertionError() # shouldn't happen else: # the domain base class makes a copy of the initial data, which is fine return Symbol(None, None, None, None, None) @@ -1543,7 +1543,7 @@ class Symbol: def __setattr__(self, key: str, value: Any) -> None: if key == "children": - assert False + raise AssertionError() else: return super().__setattr__(key, value) @@ -3091,7 +3091,7 @@ class DefinitionParser(BaseParser): elif objectType == 'type': declaration = self._parse_type(named=True, outer='type') else: - assert False + raise AssertionError() if objectType != 'macro': self.skip_ws() semicolon = self.skip_string(';') diff --git a/sphinx/domains/cpp.py b/sphinx/domains/cpp.py index 9cfb68ca9..d7dbc8b48 100644 --- a/sphinx/domains/cpp.py +++ b/sphinx/domains/cpp.py @@ -754,15 +754,15 @@ class ASTNestedName(ASTBase): # just print the name part, with template args, not template params if mode == 'noneIsName': if self.rooted: - assert False, "Can this happen?" # TODO + raise AssertionError("Can this happen?") # TODO signode += nodes.Text('::') for i in range(len(self.names)): if i != 0: - assert False, "Can this happen?" # TODO + raise AssertionError("Can this happen?") # TODO signode += nodes.Text('::blah') n = self.names[i] if self.templates[i]: - assert False, "Can this happen?" # TODO + raise AssertionError("Can this happen?") # TODO signode += nodes.Text("template") signode += nodes.Text(" ") n.describe_signature(signode, mode, env, '', symbol) @@ -1386,7 +1386,7 @@ class ASTNewExpr(ASTExpression): if self.isNewTypeId: res.append(transform(self.typ)) else: - assert False + raise AssertionError() if self.initList is not None: res.append(transform(self.initList)) return ''.join(res) @@ -1413,7 +1413,7 @@ class ASTNewExpr(ASTExpression): if self.isNewTypeId: self.typ.describe_signature(signode, mode, env, symbol) else: - assert False + raise AssertionError() if self.initList is not None: self.initList.describe_signature(signode, mode, env, symbol) @@ -1990,7 +1990,7 @@ class ASTTrailingTypeSpecName(ASTTrailingTypeSpec): signode += addnodes.desc_sig_keyword('auto', 'auto') signode += addnodes.desc_sig_punctuation(')', ')') else: - assert False, self.placeholderType + raise AssertionError(self.placeholderType) class ASTFunctionParameter(ASTBase): @@ -3095,8 +3095,7 @@ class ASTType(ASTBase): elif objectType == 'type': # just the name res.append(symbol.get_full_nested_name().get_id(version)) else: - print(objectType) - assert False + raise AssertionError(objectType) else: # only type encoding if self.decl.is_function_type(): raise NoOldIdError() @@ -3125,8 +3124,7 @@ class ASTType(ASTBase): elif objectType == 'type': # just the name res.append(symbol.get_full_nested_name().get_id(version)) else: - print(objectType) - assert False + raise AssertionError(objectType) else: # only type encoding # the 'returnType' of a non-function type is simply just the last # type, i.e., for 'int*' it is 'int' @@ -4049,7 +4047,7 @@ class ASTDeclaration(ASTBase): mainDeclNode += addnodes.desc_sig_keyword('enumerator', 'enumerator') mainDeclNode += addnodes.desc_sig_space() else: - assert False, self.objectType + raise AssertionError(self.objectType) self.declaration.describe_signature(mainDeclNode, mode, env, self.symbol) lastDeclNode = mainDeclNode if self.trailingRequiresClause: @@ -4103,11 +4101,11 @@ class Symbol: debug_show_tree = False # overridden by the corresponding config value def __copy__(self): - assert False # shouldn't happen + raise AssertionError() # shouldn't happen def __deepcopy__(self, memo): if self.parent: - assert False # shouldn't happen + raise AssertionError() # shouldn't happen else: # the domain base class makes a copy of the initial data, which is fine return Symbol(None, None, None, None, None, None, None) @@ -4131,7 +4129,7 @@ class Symbol: def __setattr__(self, key: str, value: Any) -> None: if key == "children": - assert False + raise AssertionError() else: return super().__setattr__(key, value) @@ -5991,7 +5989,7 @@ class DefinitionParser(BaseParser): if modifier is not None: self.fail("Can not have {} without a floating point type.".format(modifier)) else: - assert False, "Unhandled type {}".format(typ) + raise AssertionError("Unhandled type {}".format(typ)) canonNames: List[str] = [] if modifier is not None: @@ -6513,7 +6511,7 @@ class DefinitionParser(BaseParser): elif outer == 'function': desc = "If the function has no return type" else: - assert False + raise AssertionError() prevErrors.append((exUntyped, desc)) self.pos = startPos try: @@ -6526,7 +6524,7 @@ class DefinitionParser(BaseParser): elif outer == 'function': desc = "If the function has a return type" else: - assert False + raise AssertionError() prevErrors.append((exTyped, desc)) # Retain the else branch for easier debugging. # TODO: it would be nice to save the previous stacktrace @@ -6538,7 +6536,7 @@ class DefinitionParser(BaseParser): elif outer == 'function': header = "Error when parsing function declaration." else: - assert False + raise AssertionError() raise self._make_multi_error(prevErrors, header) from exTyped else: # For testing purposes. @@ -6997,7 +6995,7 @@ class DefinitionParser(BaseParser): elif objectType == 'enumerator': declaration = self._parse_enumerator() else: - assert False + raise AssertionError() templatePrefix = self._check_template_consistency(declaration.name, templatePrefix, fullSpecShorthand=False, @@ -7924,7 +7922,7 @@ class CPPDomain(Domain): if objtypes: return declTyp in objtypes print("Type is %s, declaration type is %s" % (typ, declTyp)) - assert False + raise AssertionError() if not checkType(): logger.warning("cpp:%s targets a %s (%s).", typ, s.declaration.objectType, diff --git a/sphinx/events.py b/sphinx/events.py index 5302cd005..448af0695 100644 --- a/sphinx/events.py +++ b/sphinx/events.py @@ -98,6 +98,9 @@ class EventManager: except SphinxError: raise except Exception as exc: + if self.app.pdb: + # Just pass through the error, so that it can be debugged. + raise modname = safe_getattr(listener.handler, '__module__', None) raise ExtensionError(__("Handler %r for event %r threw an exception") % (listener.handler, name), exc, modname=modname) from exc diff --git a/sphinx/locale/ar/LC_MESSAGES/sphinx.mo b/sphinx/locale/ar/LC_MESSAGES/sphinx.mo Binary files differindex 167e452f7..345f78250 100644 --- a/sphinx/locale/ar/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/ar/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/ar/LC_MESSAGES/sphinx.po b/sphinx/locale/ar/LC_MESSAGES/sphinx.po index e743b5990..db2c8fb57 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Abdullah ahmed <Alhadab@hotmail.co.uk>, 2020\n" "Language-Team: Arabic (http://www.transifex.com/sphinx-doc/sphinx-1/language/ar/)\n" @@ -3548,12 +3548,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/bg/LC_MESSAGES/sphinx.mo b/sphinx/locale/bg/LC_MESSAGES/sphinx.mo Binary files differindex b65289182..685d9fc04 100644 --- a/sphinx/locale/bg/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/bg/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/bg/LC_MESSAGES/sphinx.po b/sphinx/locale/bg/LC_MESSAGES/sphinx.po index f5544df91..4e297595e 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: Bulgarian (http://www.transifex.com/sphinx-doc/sphinx-1/language/bg/)\n" @@ -3546,12 +3546,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/bn/LC_MESSAGES/sphinx.mo b/sphinx/locale/bn/LC_MESSAGES/sphinx.mo Binary files differindex 1132d485c..2bcd969bc 100644 --- a/sphinx/locale/bn/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/bn/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/bn/LC_MESSAGES/sphinx.po b/sphinx/locale/bn/LC_MESSAGES/sphinx.po index ab58ae15b..8e81414e7 100644 --- a/sphinx/locale/bn/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/bn/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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FIRST AUTHOR <EMAIL@ADDRESS>, 2009\n" "Language-Team: Bengali (http://www.transifex.com/sphinx-doc/sphinx-1/language/bn/)\n" @@ -3547,12 +3547,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/ca/LC_MESSAGES/sphinx.mo b/sphinx/locale/ca/LC_MESSAGES/sphinx.mo Binary files differindex a2bca6eb0..daf0f896c 100644 --- a/sphinx/locale/ca/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/ca/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/ca/LC_MESSAGES/sphinx.po b/sphinx/locale/ca/LC_MESSAGES/sphinx.po index bf05b56db..beb620ac1 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FIRST AUTHOR <EMAIL@ADDRESS>, 2009\n" "Language-Team: Catalan (http://www.transifex.com/sphinx-doc/sphinx-1/language/ca/)\n" @@ -3547,12 +3547,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/cak/LC_MESSAGES/sphinx.mo b/sphinx/locale/cak/LC_MESSAGES/sphinx.mo Binary files differindex 11a101ebf..e38ab326a 100644 --- a/sphinx/locale/cak/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/cak/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/cak/LC_MESSAGES/sphinx.po b/sphinx/locale/cak/LC_MESSAGES/sphinx.po index b69e017fe..a0e09e21c 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Julien Malard <julien.malard@mail.mcgill.ca>, 2019\n" "Language-Team: Kaqchikel (http://www.transifex.com/sphinx-doc/sphinx-1/language/cak/)\n" @@ -3547,12 +3547,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/cs/LC_MESSAGES/sphinx.mo b/sphinx/locale/cs/LC_MESSAGES/sphinx.mo Binary files differindex 022f74f3f..7cb370ccf 100644 --- a/sphinx/locale/cs/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/cs/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/cs/LC_MESSAGES/sphinx.po b/sphinx/locale/cs/LC_MESSAGES/sphinx.po index e39ce2ef0..c327b0aa8 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Vilibald W. <vilibald.wanca@gmail.com>, 2014-2015\n" "Language-Team: Czech (http://www.transifex.com/sphinx-doc/sphinx-1/language/cs/)\n" @@ -3548,12 +3548,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/cy/LC_MESSAGES/sphinx.mo b/sphinx/locale/cy/LC_MESSAGES/sphinx.mo Binary files differindex 7de3f5f1a..45586313b 100644 --- a/sphinx/locale/cy/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/cy/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/cy/LC_MESSAGES/sphinx.po b/sphinx/locale/cy/LC_MESSAGES/sphinx.po index 4eb5413d7..4c009726e 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Geraint Palmer <palmer.geraint@googlemail.com>, 2016\n" "Language-Team: Welsh (http://www.transifex.com/sphinx-doc/sphinx-1/language/cy/)\n" @@ -3548,12 +3548,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/da/LC_MESSAGES/sphinx.mo b/sphinx/locale/da/LC_MESSAGES/sphinx.mo Binary files differindex d32eb8759..f7997ea77 100644 --- a/sphinx/locale/da/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/da/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/da/LC_MESSAGES/sphinx.po b/sphinx/locale/da/LC_MESSAGES/sphinx.po index 272405acd..caf65563a 100644 --- a/sphinx/locale/da/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/da/LC_MESSAGES/sphinx.po @@ -6,14 +6,14 @@ # askhl <asklarsen@gmail.com>, 2010-2011 # Jakob Lykke Andersen <jakob@caput.dk>, 2014,2016 # Joe Hansen <joedalton2@yahoo.dk>, 2016,2019 -# Takeshi KOMIYA <i.tkomiya@gmail.com>, 2021 +# Komiya Takeshi <i.tkomiya@gmail.com>, 2021 msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" -"Last-Translator: Takeshi KOMIYA <i.tkomiya@gmail.com>, 2021\n" +"Last-Translator: Komiya Takeshi <i.tkomiya@gmail.com>, 2021\n" "Language-Team: Danish (http://www.transifex.com/sphinx-doc/sphinx-1/language/da/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -3550,12 +3550,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/de/LC_MESSAGES/sphinx.mo b/sphinx/locale/de/LC_MESSAGES/sphinx.mo Binary files differindex 8c7e02367..0bedad20c 100644 --- a/sphinx/locale/de/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/de/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/de/LC_MESSAGES/sphinx.po b/sphinx/locale/de/LC_MESSAGES/sphinx.po index 1b71d1b2a..18aeaa1fb 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Jean-François B. <jfbu@free.fr>, 2018\n" "Language-Team: German (http://www.transifex.com/sphinx-doc/sphinx-1/language/de/)\n" @@ -3550,12 +3550,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/el/LC_MESSAGES/sphinx.mo b/sphinx/locale/el/LC_MESSAGES/sphinx.mo Binary files differindex 6280ddc10..89826ca64 100644 --- a/sphinx/locale/el/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/el/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/el/LC_MESSAGES/sphinx.po b/sphinx/locale/el/LC_MESSAGES/sphinx.po index fc5ca8831..89503e01b 100644 --- a/sphinx/locale/el/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/el/LC_MESSAGES/sphinx.po @@ -4,15 +4,15 @@ # # Translators: # Stelios Vitalis <liberostelios@gmail.com>, 2015 -# Takeshi KOMIYA <i.tkomiya@gmail.com>, 2021 +# Komiya Takeshi <i.tkomiya@gmail.com>, 2021 # tzoumakers tzoumakers <tzoumakersx@gmail.com>, 2019 msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" -"Last-Translator: Takeshi KOMIYA <i.tkomiya@gmail.com>, 2021\n" +"Last-Translator: Komiya Takeshi <i.tkomiya@gmail.com>, 2021\n" "Language-Team: Greek (http://www.transifex.com/sphinx-doc/sphinx-1/language/el/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -3549,12 +3549,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "άγνωστος τύπος κόμβου: %r" diff --git a/sphinx/locale/en_FR/LC_MESSAGES/sphinx.mo b/sphinx/locale/en_FR/LC_MESSAGES/sphinx.mo Binary files differindex ba28d2c80..16fe295cc 100644 --- a/sphinx/locale/en_FR/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/en_FR/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/en_FR/LC_MESSAGES/sphinx.po b/sphinx/locale/en_FR/LC_MESSAGES/sphinx.po index e956e4411..168ad7273 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: English (France) (http://www.transifex.com/sphinx-doc/sphinx-1/language/en_FR/)\n" @@ -3546,12 +3546,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/en_GB/LC_MESSAGES/sphinx.mo b/sphinx/locale/en_GB/LC_MESSAGES/sphinx.mo Binary files differindex f4c6472d7..682979cc8 100644 --- a/sphinx/locale/en_GB/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/en_GB/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/en_GB/LC_MESSAGES/sphinx.po b/sphinx/locale/en_GB/LC_MESSAGES/sphinx.po index 58aebc1a0..67e00f82f 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+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" @@ -3547,12 +3547,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/en_HK/LC_MESSAGES/sphinx.mo b/sphinx/locale/en_HK/LC_MESSAGES/sphinx.mo Binary files differindex 488e95999..a7feb4cab 100644 --- a/sphinx/locale/en_HK/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/en_HK/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/en_HK/LC_MESSAGES/sphinx.po b/sphinx/locale/en_HK/LC_MESSAGES/sphinx.po index 1556318d6..562d13321 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: English (Hong Kong) (http://www.transifex.com/sphinx-doc/sphinx-1/language/en_HK/)\n" @@ -3546,12 +3546,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/eo/LC_MESSAGES/sphinx.mo b/sphinx/locale/eo/LC_MESSAGES/sphinx.mo Binary files differindex 8efb05731..a101e7e6c 100644 --- a/sphinx/locale/eo/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/eo/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/eo/LC_MESSAGES/sphinx.po b/sphinx/locale/eo/LC_MESSAGES/sphinx.po index e27b1aa42..f46d98326 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Tatsuro YOKOTA <hidaruma@outlook.jp>, 2021\n" "Language-Team: Esperanto (http://www.transifex.com/sphinx-doc/sphinx-1/language/eo/)\n" @@ -3548,12 +3548,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/es/LC_MESSAGES/sphinx.mo b/sphinx/locale/es/LC_MESSAGES/sphinx.mo Binary files differindex dbb3a27f0..73a4aec5a 100644 --- a/sphinx/locale/es/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/es/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/es/LC_MESSAGES/sphinx.po b/sphinx/locale/es/LC_MESSAGES/sphinx.po index a15266c29..a53e5fab5 100644 --- a/sphinx/locale/es/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/es/LC_MESSAGES/sphinx.po @@ -10,14 +10,14 @@ # Ivan García <ivan.garcia@studio-point.com>, 2019 # Leonardo J. Caballero G. <leonardocaballero@gmail.com>, 2013-2018,2020 # Leonardo J. Caballero G. <leonardocaballero@gmail.com>, 2022 -# Takeshi KOMIYA <i.tkomiya@gmail.com>, 2016,2021 +# Komiya Takeshi <i.tkomiya@gmail.com>, 2016,2021 msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" -"Last-Translator: Takeshi KOMIYA <i.tkomiya@gmail.com>, 2016,2021\n" +"Last-Translator: Komiya Takeshi <i.tkomiya@gmail.com>, 2016,2021\n" "Language-Team: Spanish (http://www.transifex.com/sphinx-doc/sphinx-1/language/es/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -3554,12 +3554,12 @@ msgid "" "not in the domain." msgstr "Problema en el dominio %s: se supone que el campo debe usar el rol '%s', pero ese rol no está en el dominio." -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "directiva desconocida o nombre de rol: %s:%s" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "tipo de nodo desconocido: %r" diff --git a/sphinx/locale/et/LC_MESSAGES/sphinx.mo b/sphinx/locale/et/LC_MESSAGES/sphinx.mo Binary files differindex 10ef2ed7e..178882c77 100644 --- a/sphinx/locale/et/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/et/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/et/LC_MESSAGES/sphinx.po b/sphinx/locale/et/LC_MESSAGES/sphinx.po index dea03a901..48ec6fd8f 100644 --- a/sphinx/locale/et/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/et/LC_MESSAGES/sphinx.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Ivar Smolin <okul@linux.ee>, 2013-2022\n" "Language-Team: Estonian (http://www.transifex.com/sphinx-doc/sphinx-1/language/et/)\n" @@ -3550,12 +3550,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/eu/LC_MESSAGES/sphinx.mo b/sphinx/locale/eu/LC_MESSAGES/sphinx.mo Binary files differindex 1a08e1263..836058014 100644 --- a/sphinx/locale/eu/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/eu/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/eu/LC_MESSAGES/sphinx.po b/sphinx/locale/eu/LC_MESSAGES/sphinx.po index c90b91dbe..a4a14bbf0 100644 --- a/sphinx/locale/eu/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/eu/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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Asier Iturralde Sarasola <asier.iturralde@gmail.com>, 2018\n" "Language-Team: Basque (http://www.transifex.com/sphinx-doc/sphinx-1/language/eu/)\n" @@ -3548,12 +3548,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/fa/LC_MESSAGES/sphinx.mo b/sphinx/locale/fa/LC_MESSAGES/sphinx.mo Binary files differindex 327affdb2..9f0cae070 100644 --- a/sphinx/locale/fa/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/fa/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/fa/LC_MESSAGES/sphinx.po b/sphinx/locale/fa/LC_MESSAGES/sphinx.po index 9363f4a1a..2dd79c178 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Hadi F <h_adi_f@yahoo.com>, 2020-2021\n" "Language-Team: Persian (http://www.transifex.com/sphinx-doc/sphinx-1/language/fa/)\n" @@ -3550,12 +3550,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "نام نقش یا دستورالعمل ناشناخته: %s:%s" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "بست از نوع ناشناخته: %r" diff --git a/sphinx/locale/fi/LC_MESSAGES/sphinx.mo b/sphinx/locale/fi/LC_MESSAGES/sphinx.mo Binary files differindex 3dd0c56d4..797e5c2c1 100644 --- a/sphinx/locale/fi/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/fi/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/fi/LC_MESSAGES/sphinx.po b/sphinx/locale/fi/LC_MESSAGES/sphinx.po index 5eaadae5d..2df928216 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FIRST AUTHOR <EMAIL@ADDRESS>, 2009\n" "Language-Team: Finnish (http://www.transifex.com/sphinx-doc/sphinx-1/language/fi/)\n" @@ -3547,12 +3547,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/fr/LC_MESSAGES/sphinx.mo b/sphinx/locale/fr/LC_MESSAGES/sphinx.mo Binary files differindex 450ed66e0..001eba3a7 100644 --- a/sphinx/locale/fr/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/fr/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/fr/LC_MESSAGES/sphinx.po b/sphinx/locale/fr/LC_MESSAGES/sphinx.po index bbeb8fcc2..1f2a397bf 100644 --- a/sphinx/locale/fr/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/fr/LC_MESSAGES/sphinx.po @@ -29,12 +29,12 @@ # Olivier Bonaventure <bonaventure@acm.org>, 2019 # Pierre Grépon <pgrepon@yahoo.fr>, 2016 # Sebastien Douche <sdouche@gmail.com>, 2008 -# Takeshi KOMIYA <i.tkomiya@gmail.com>, 2016,2020 +# Komiya Takeshi <i.tkomiya@gmail.com>, 2016,2020 msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Jean-François B. <jfbu@free.fr>, 2017-2019,2022\n" "Language-Team: French (http://www.transifex.com/sphinx-doc/sphinx-1/language/fr/)\n" @@ -3573,12 +3573,12 @@ msgid "" "not in the domain." msgstr "Problème dans le domaine %s : le champ est censé utiliser le rôle '%s', mais ce rôle ne figure pas dans le domaine." -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "nom de rôle ou de directive inconnu: %s:%s" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "type de node inconnu : %r" diff --git a/sphinx/locale/fr_FR/LC_MESSAGES/sphinx.mo b/sphinx/locale/fr_FR/LC_MESSAGES/sphinx.mo Binary files differindex c35f76a9a..62f5f0d18 100644 --- a/sphinx/locale/fr_FR/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/fr_FR/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/fr_FR/LC_MESSAGES/sphinx.po b/sphinx/locale/fr_FR/LC_MESSAGES/sphinx.po index 89f3f6d26..e131ce932 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: French (France) (http://www.transifex.com/sphinx-doc/sphinx-1/language/fr_FR/)\n" @@ -3546,12 +3546,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/he/LC_MESSAGES/sphinx.mo b/sphinx/locale/he/LC_MESSAGES/sphinx.mo Binary files differindex 7483aa766..4b285044b 100644 --- a/sphinx/locale/he/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/he/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/he/LC_MESSAGES/sphinx.po b/sphinx/locale/he/LC_MESSAGES/sphinx.po index 6ba7fa8bd..848a18799 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FIRST AUTHOR <EMAIL@ADDRESS>, 2011\n" "Language-Team: Hebrew (http://www.transifex.com/sphinx-doc/sphinx-1/language/he/)\n" @@ -3547,12 +3547,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/hi/LC_MESSAGES/sphinx.mo b/sphinx/locale/hi/LC_MESSAGES/sphinx.mo Binary files differindex 7ff8f2187..56eee6eff 100644 --- a/sphinx/locale/hi/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/hi/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/hi/LC_MESSAGES/sphinx.po b/sphinx/locale/hi/LC_MESSAGES/sphinx.po index 12da408e4..7ee5ed5fb 100644 --- a/sphinx/locale/hi/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/hi/LC_MESSAGES/sphinx.po @@ -6,12 +6,12 @@ # Ajay Singh <ajaysajay@gmail.com>, 2019 # Purnank H. Ghumalia <me@purnank.in>, 2015-2016 # Sumanjali Damarla <damarlasumanjali@gmail.com>, 2020 -# Takeshi KOMIYA <i.tkomiya@gmail.com>, 2019 +# Komiya Takeshi <i.tkomiya@gmail.com>, 2019 msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Sumanjali Damarla <damarlasumanjali@gmail.com>, 2020\n" "Language-Team: Hindi (http://www.transifex.com/sphinx-doc/sphinx-1/language/hi/)\n" @@ -3550,12 +3550,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "अज्ञात बिंदु प्रकार: %r" diff --git a/sphinx/locale/hi_IN/LC_MESSAGES/sphinx.mo b/sphinx/locale/hi_IN/LC_MESSAGES/sphinx.mo Binary files differindex 7f5597e52..356b3991f 100644 --- a/sphinx/locale/hi_IN/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/hi_IN/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/hi_IN/LC_MESSAGES/sphinx.po b/sphinx/locale/hi_IN/LC_MESSAGES/sphinx.po index 76f39b4c4..2201c3f3b 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: Hindi (India) (http://www.transifex.com/sphinx-doc/sphinx-1/language/hi_IN/)\n" @@ -3546,12 +3546,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/hr/LC_MESSAGES/sphinx.mo b/sphinx/locale/hr/LC_MESSAGES/sphinx.mo Binary files differindex 7f3dbdca7..53e21ca86 100644 --- a/sphinx/locale/hr/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/hr/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/hr/LC_MESSAGES/sphinx.po b/sphinx/locale/hr/LC_MESSAGES/sphinx.po index dbe2cd8d9..459c4ac4b 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+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" @@ -3547,12 +3547,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/hu/LC_MESSAGES/sphinx.mo b/sphinx/locale/hu/LC_MESSAGES/sphinx.mo Binary files differindex d6557d2be..b47add139 100644 --- a/sphinx/locale/hu/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/hu/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/hu/LC_MESSAGES/sphinx.po b/sphinx/locale/hu/LC_MESSAGES/sphinx.po index 6425e4417..28c1e85cf 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+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" @@ -3552,12 +3552,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/id/LC_MESSAGES/sphinx.mo b/sphinx/locale/id/LC_MESSAGES/sphinx.mo Binary files differindex 62f09ce1d..6188ade9a 100644 --- a/sphinx/locale/id/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/id/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/id/LC_MESSAGES/sphinx.po b/sphinx/locale/id/LC_MESSAGES/sphinx.po index ab5f03dab..066d0e278 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: oon arfiandwi <oon.arfiandwi@gmail.com>, 2019-2020\n" "Language-Team: Indonesian (http://www.transifex.com/sphinx-doc/sphinx-1/language/id/)\n" @@ -3551,12 +3551,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "tipe simpul tidak dikenal: %r" diff --git a/sphinx/locale/is/LC_MESSAGES/sphinx.mo b/sphinx/locale/is/LC_MESSAGES/sphinx.mo Binary files differindex d0f2b7360..c55b735e1 100644 --- a/sphinx/locale/is/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/is/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/is/LC_MESSAGES/sphinx.po b/sphinx/locale/is/LC_MESSAGES/sphinx.po index 19b2c6628..cf1e9a894 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Tryggvi Kalman <tkj3@hi.is>, 2021\n" "Language-Team: Icelandic (http://www.transifex.com/sphinx-doc/sphinx-1/language/is/)\n" @@ -3547,12 +3547,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/it/LC_MESSAGES/sphinx.mo b/sphinx/locale/it/LC_MESSAGES/sphinx.mo Binary files differindex d16f07e92..df0dd1787 100644 --- a/sphinx/locale/it/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/it/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/it/LC_MESSAGES/sphinx.po b/sphinx/locale/it/LC_MESSAGES/sphinx.po index f5629174e..f8f8ada1d 100644 --- a/sphinx/locale/it/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/it/LC_MESSAGES/sphinx.po @@ -8,12 +8,12 @@ # Paolo Cavallini <cavallini@faunalia.it>, 2013-2017 # Roland Puntaier <roland.puntaier@chello.at>, 2013 # Sandro Dentella <sandro@e-den.it>, 2008 -# Takeshi KOMIYA <i.tkomiya@gmail.com>, 2016 +# Komiya Takeshi <i.tkomiya@gmail.com>, 2016 msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+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" @@ -3552,12 +3552,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/ja/LC_MESSAGES/sphinx.mo b/sphinx/locale/ja/LC_MESSAGES/sphinx.mo Binary files differindex 85d6eb543..6f5c9ef9d 100644 --- a/sphinx/locale/ja/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/ja/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/ja/LC_MESSAGES/sphinx.po b/sphinx/locale/ja/LC_MESSAGES/sphinx.po index 3a67d9010..a8c0ed13d 100644 --- a/sphinx/locale/ja/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/ja/LC_MESSAGES/sphinx.po @@ -8,15 +8,15 @@ # tomo, 2018 # Hisahiro Ohmura, 2017 # KaKkouo, 2021 -# Takeshi KOMIYA <i.tkomiya@gmail.com>, 2021 +# Komiya Takeshi <i.tkomiya@gmail.com>, 2021 # Kouhei Sutou <kou@clear-code.com>, 2011 # sutefu7, 2019-2020 # shirou - しろう <shirou.faw@gmail.com>, 2017 # Taizo Ito <taizo.ito@hennge.com>, 2019 # Takayuki SHIMIZUKAWA <shimizukawa@gmail.com>, 2013-2016 # Takayuki SHIMIZUKAWA <shimizukawa@gmail.com>, 2016-2017,2019 -# Takeshi KOMIYA <i.tkomiya@gmail.com>, 2016-2017,2019,2022 -# Tetsuo Koyama <tkoyama010@gmail.com>, 2020-2021 +# Komiya Takeshi <i.tkomiya@gmail.com>, 2016-2017,2019,2022 +# Tetsuo Koyama <tkoyama010@gmail.com>, 2020-2022 # tomo, 2019 # shirou - しろう <shirou.faw@gmail.com>, 2014 # Yasushi Masuda <whosaysni@gmail.com>, 2008 @@ -24,9 +24,9 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" -"Last-Translator: Takeshi KOMIYA <i.tkomiya@gmail.com>, 2016-2017,2019,2022\n" +"Last-Translator: Tetsuo Koyama <tkoyama010@gmail.com>, 2020-2022\n" "Language-Team: Japanese (http://www.transifex.com/sphinx-doc/sphinx-1/language/ja/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -191,7 +191,7 @@ msgstr "conf.py が設定ディレクトリに存在しません (%s)" msgid "" "Invalid configuration value found: 'language = None'. Update your " "configuration to a valid language code. Falling back to 'en' (English)." -msgstr "" +msgstr "無効な設定値が見つかりました: 'language = None' 。設定を有効な言語コードに更新してください。 'en' (英語)にフォールバックしています。" #: sphinx/config.py:202 #, python-format @@ -484,12 +484,12 @@ msgstr "Python Enhancement Proposals; PEP %s" #: sphinx/roles.py:188 #, python-format msgid "invalid PEP number %s" -msgstr "" +msgstr "無効なPEP番号 %s" #: sphinx/roles.py:222 #, python-format msgid "invalid RFC number %s" -msgstr "" +msgstr "無効なRFC番号 %s" #: sphinx/theming.py:72 #, python-format @@ -1243,7 +1243,7 @@ msgid "" "\n" "By default, everything that is outdated is built. Output only for selected\n" "files can be built by specifying individual filenames.\n" -msgstr "" +msgstr "\nソースファイルからドキュメントを生成します。\n\nsphinx-build は、SOURCEDIR 内のファイルをもとにドキュメントを生成し、\nOUTPUTDIR 内に配置します。またコンフィグ\n設定用に SOURCEDIR 内から\n 'conf.py' を探します。'sphinx-quickstart' ツールを使うと\n 'conf.py' を含むテンプレートファイルを生成することができます。\n\nsphinx-build は、さまざまな形式のドキュメントを作成することができます。フォーマットは、\nコマンドラインでビルダー名を指定して選択します。デフォルトは\nHTML です。ビルダーはドキュメント化処理に関連した他のタスクも実行できます。\n\nデフォルトでは、古いものはすべてビルドされています。個別にファイル名を指定することで、\n選択したファイルのみ出力することもできます。\n" #: sphinx/cmd/build.py:120 msgid "path to documentation source files" @@ -1516,7 +1516,7 @@ msgid "" "Python the version is something like 2.5 or 3.0, while the release is\n" "something like 2.5.1 or 3.0a1. If you don't need this dual structure,\n" "just set both to the same value." -msgstr "" +msgstr "Sphinx には、ソフトウェアに対して \"バージョン\" と \"リリース\" という概念が\nあります。各バージョンは複数のリリースを持つことができます。\n例えば、Python だとバージョンが 2.5 や 3.0 のように分かれているように、\nリリースも 2.5.1 や 3.0a1 のように分けて持つことができます。もしこのような多重構成が必要ない場合は、\n両方を同じ値に設定するだけです。" #: sphinx/cmd/quickstart.py:259 msgid "Project version" @@ -3563,12 +3563,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "不明なディレクティブまたはロール名: %s:%s" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "不明なノードタイプ: %r" @@ -3632,7 +3632,7 @@ msgstr "この用語の解説へ" #: sphinx/writers/html.py:428 sphinx/writers/html.py:433 #: sphinx/writers/html5.py:387 sphinx/writers/html5.py:392 msgid "Permalink to this heading" -msgstr "" +msgstr "この見出しへのパーマリンク" #: sphinx/writers/html.py:437 sphinx/writers/html5.py:396 msgid "Permalink to this table" diff --git a/sphinx/locale/ko/LC_MESSAGES/sphinx.mo b/sphinx/locale/ko/LC_MESSAGES/sphinx.mo Binary files differindex 239fc406e..af1a83063 100644 --- a/sphinx/locale/ko/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/ko/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/ko/LC_MESSAGES/sphinx.po b/sphinx/locale/ko/LC_MESSAGES/sphinx.po index 7ba89147b..9197d1d4e 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: YT H <dev@theYT.net>, 2019-2022\n" "Language-Team: Korean (http://www.transifex.com/sphinx-doc/sphinx-1/language/ko/)\n" @@ -3548,12 +3548,12 @@ msgid "" "not in the domain." msgstr "%s 영역에서 문제 발생: 필드가 '%s' 역할을 사용해야 하지만, 해당 역할이 도메인에 없습니다." -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "알 수 없는 지시문 또는 역할 이름: %s:%s" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "알 수 없는 노드 유형: %r" diff --git a/sphinx/locale/lt/LC_MESSAGES/sphinx.mo b/sphinx/locale/lt/LC_MESSAGES/sphinx.mo Binary files differindex 0662e6b14..76e262623 100644 --- a/sphinx/locale/lt/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/lt/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/lt/LC_MESSAGES/sphinx.po b/sphinx/locale/lt/LC_MESSAGES/sphinx.po index 437f498c5..685673526 100644 --- a/sphinx/locale/lt/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/lt/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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: DALIUS DOBRAVOLSKAS <DALIUS@SANDBOX.LT>, 2010\n" "Language-Team: Lithuanian (http://www.transifex.com/sphinx-doc/sphinx-1/language/lt/)\n" @@ -3547,12 +3547,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/lv/LC_MESSAGES/sphinx.mo b/sphinx/locale/lv/LC_MESSAGES/sphinx.mo Binary files differindex ac5fda135..d34b0cdea 100644 --- a/sphinx/locale/lv/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/lv/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/lv/LC_MESSAGES/sphinx.po b/sphinx/locale/lv/LC_MESSAGES/sphinx.po index a52d93476..9cad57217 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: Latvian (http://www.transifex.com/sphinx-doc/sphinx-1/language/lv/)\n" @@ -3546,12 +3546,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/mk/LC_MESSAGES/sphinx.mo b/sphinx/locale/mk/LC_MESSAGES/sphinx.mo Binary files differindex bbff1a0a0..62e7a2f48 100644 --- a/sphinx/locale/mk/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/mk/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/mk/LC_MESSAGES/sphinx.po b/sphinx/locale/mk/LC_MESSAGES/sphinx.po index 18fc981ef..a4a211898 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Vasil Vangelovski <vvangelovski@gmail.com>, 2013\n" "Language-Team: Macedonian (http://www.transifex.com/sphinx-doc/sphinx-1/language/mk/)\n" @@ -3547,12 +3547,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/nb_NO/LC_MESSAGES/sphinx.mo b/sphinx/locale/nb_NO/LC_MESSAGES/sphinx.mo Binary files differindex 3c0b82c04..13770d81d 100644 --- a/sphinx/locale/nb_NO/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/nb_NO/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/nb_NO/LC_MESSAGES/sphinx.po b/sphinx/locale/nb_NO/LC_MESSAGES/sphinx.po index c1153daeb..5df03e772 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: Norwegian Bokmål (Norway) (http://www.transifex.com/sphinx-doc/sphinx-1/language/nb_NO/)\n" @@ -3546,12 +3546,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/ne/LC_MESSAGES/sphinx.mo b/sphinx/locale/ne/LC_MESSAGES/sphinx.mo Binary files differindex a1d0e1fa8..156b08a70 100644 --- a/sphinx/locale/ne/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/ne/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/ne/LC_MESSAGES/sphinx.po b/sphinx/locale/ne/LC_MESSAGES/sphinx.po index 2a17068b1..c78810752 100644 --- a/sphinx/locale/ne/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/ne/LC_MESSAGES/sphinx.po @@ -4,14 +4,14 @@ # # Translators: # FIRST AUTHOR <EMAIL@ADDRESS>, 2011 -# Takeshi KOMIYA <i.tkomiya@gmail.com>, 2016 +# Komiya Takeshi <i.tkomiya@gmail.com>, 2016 msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" -"Last-Translator: Takeshi KOMIYA <i.tkomiya@gmail.com>, 2016\n" +"Last-Translator: Komiya Takeshi <i.tkomiya@gmail.com>, 2016\n" "Language-Team: Nepali (http://www.transifex.com/sphinx-doc/sphinx-1/language/ne/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -3548,12 +3548,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/nl/LC_MESSAGES/sphinx.mo b/sphinx/locale/nl/LC_MESSAGES/sphinx.mo Binary files differindex ee90eb7f7..3c31c215f 100644 --- a/sphinx/locale/nl/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/nl/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/nl/LC_MESSAGES/sphinx.po b/sphinx/locale/nl/LC_MESSAGES/sphinx.po index 4fd7b6f27..ded2a3d5e 100644 --- a/sphinx/locale/nl/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/nl/LC_MESSAGES/sphinx.po @@ -9,14 +9,14 @@ # FIRST AUTHOR <EMAIL@ADDRESS>, 2008 # Gert van Dijk <gertvdijk@gmail.com>, 2019 # Jesse Tan, 2017 -# Takeshi KOMIYA <i.tkomiya@gmail.com>, 2021 +# Komiya Takeshi <i.tkomiya@gmail.com>, 2021 msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" -"Last-Translator: Takeshi KOMIYA <i.tkomiya@gmail.com>, 2021\n" +"Last-Translator: Komiya Takeshi <i.tkomiya@gmail.com>, 2021\n" "Language-Team: Dutch (http://www.transifex.com/sphinx-doc/sphinx-1/language/nl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -3553,12 +3553,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/pl/LC_MESSAGES/sphinx.mo b/sphinx/locale/pl/LC_MESSAGES/sphinx.mo Binary files differindex d527aab9a..a330cc482 100644 --- a/sphinx/locale/pl/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/pl/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/pl/LC_MESSAGES/sphinx.po b/sphinx/locale/pl/LC_MESSAGES/sphinx.po index 0eca7aafd..2e92a7561 100644 --- a/sphinx/locale/pl/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/pl/LC_MESSAGES/sphinx.po @@ -5,13 +5,13 @@ # Translators: # Maciej Olko <maciej.olko@gmail.com>, 2017-2020 # Michael Gielda <michal.gielda@gmail.com>, 2014 -# Takeshi KOMIYA <i.tkomiya@gmail.com>, 2018 +# Komiya Takeshi <i.tkomiya@gmail.com>, 2018 # Tawez, 2013-2019 msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Maciej Olko <maciej.olko@gmail.com>, 2017-2020\n" "Language-Team: Polish (http://www.transifex.com/sphinx-doc/sphinx-1/language/pl/)\n" @@ -3550,12 +3550,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/pt/LC_MESSAGES/sphinx.mo b/sphinx/locale/pt/LC_MESSAGES/sphinx.mo Binary files differindex b6e2a1019..c11d7e621 100644 --- a/sphinx/locale/pt/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/pt/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/pt/LC_MESSAGES/sphinx.po b/sphinx/locale/pt/LC_MESSAGES/sphinx.po index 4698f1f2a..1e05ad131 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: Portuguese (http://www.transifex.com/sphinx-doc/sphinx-1/language/pt/)\n" @@ -3546,12 +3546,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/pt_BR/LC_MESSAGES/sphinx.mo b/sphinx/locale/pt_BR/LC_MESSAGES/sphinx.mo Binary files differindex 4f26948ea..453df7774 100644 --- a/sphinx/locale/pt_BR/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/pt_BR/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/pt_BR/LC_MESSAGES/sphinx.po b/sphinx/locale/pt_BR/LC_MESSAGES/sphinx.po index d2d8ca2af..943d0b734 100644 --- a/sphinx/locale/pt_BR/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/pt_BR/LC_MESSAGES/sphinx.po @@ -8,12 +8,12 @@ # gilberto dos santos alves <gsavix@gmail.com>, 2015-2016 # Rafael Fontenelle <rafaelff@gnome.org>, 2019 # Rafael Fontenelle <rffontenelle@gmail.com>, 2019-2022 -# Takeshi KOMIYA <i.tkomiya@gmail.com>, 2016 +# Komiya Takeshi <i.tkomiya@gmail.com>, 2016 msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2019-2022\n" "Language-Team: Portuguese (Brazil) (http://www.transifex.com/sphinx-doc/sphinx-1/language/pt_BR/)\n" @@ -3552,12 +3552,12 @@ msgid "" "not in the domain." msgstr "Problema no domínio %s: o campo deveria usar o papel \"%s\", mas esse papel não está no domínio." -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "diretiva ou nome de papel desconhecida(o): %s:%s" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "tipo de nó desconhecido: %r" diff --git a/sphinx/locale/pt_PT/LC_MESSAGES/sphinx.mo b/sphinx/locale/pt_PT/LC_MESSAGES/sphinx.mo Binary files differindex 105347f3b..600b5d78f 100644 --- a/sphinx/locale/pt_PT/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/pt_PT/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/pt_PT/LC_MESSAGES/sphinx.po b/sphinx/locale/pt_PT/LC_MESSAGES/sphinx.po index db0e17094..b9148bc00 100644 --- a/sphinx/locale/pt_PT/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/pt_PT/LC_MESSAGES/sphinx.po @@ -4,14 +4,14 @@ # # Translators: # Pedro Algarvio <pedro@algarvio.me>, 2013 -# Takeshi KOMIYA <i.tkomiya@gmail.com>, 2016 +# Komiya Takeshi <i.tkomiya@gmail.com>, 2016 msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" -"Last-Translator: Takeshi KOMIYA <i.tkomiya@gmail.com>, 2016\n" +"Last-Translator: Komiya Takeshi <i.tkomiya@gmail.com>, 2016\n" "Language-Team: Portuguese (Portugal) (http://www.transifex.com/sphinx-doc/sphinx-1/language/pt_PT/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -3548,12 +3548,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/ro/LC_MESSAGES/sphinx.mo b/sphinx/locale/ro/LC_MESSAGES/sphinx.mo Binary files differindex f564d6cec..0194bef02 100644 --- a/sphinx/locale/ro/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/ro/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/ro/LC_MESSAGES/sphinx.po b/sphinx/locale/ro/LC_MESSAGES/sphinx.po index e6c8ec41a..75ffc5c7b 100644 --- a/sphinx/locale/ro/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/ro/LC_MESSAGES/sphinx.po @@ -4,12 +4,12 @@ # # Translators: # Razvan Stefanescu <razvan.stefanescu@gmail.com>, 2015-2017 -# Takeshi KOMIYA <i.tkomiya@gmail.com>, 2016 +# Komiya Takeshi <i.tkomiya@gmail.com>, 2016 msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Razvan Stefanescu <razvan.stefanescu@gmail.com>, 2015-2017\n" "Language-Team: Romanian (http://www.transifex.com/sphinx-doc/sphinx-1/language/ro/)\n" @@ -3548,12 +3548,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/ru/LC_MESSAGES/sphinx.mo b/sphinx/locale/ru/LC_MESSAGES/sphinx.mo Binary files differindex a053cda42..4f8e77021 100644 --- a/sphinx/locale/ru/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/ru/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/ru/LC_MESSAGES/sphinx.po b/sphinx/locale/ru/LC_MESSAGES/sphinx.po index 1b515fa79..3a3dd06ce 100644 --- a/sphinx/locale/ru/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/ru/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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Il'ya <ilya@marshal.dev>, 2022\n" "Language-Team: Russian (http://www.transifex.com/sphinx-doc/sphinx-1/language/ru/)\n" @@ -3553,12 +3553,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/si/LC_MESSAGES/sphinx.mo b/sphinx/locale/si/LC_MESSAGES/sphinx.mo Binary files differindex 79b9fff27..8d86a7a9f 100644 --- a/sphinx/locale/si/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/si/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/si/LC_MESSAGES/sphinx.po b/sphinx/locale/si/LC_MESSAGES/sphinx.po index 238d2ca66..e912da99b 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: callkalpa <callkalpa@gmail.com>, 2013\n" "Language-Team: Sinhala (http://www.transifex.com/sphinx-doc/sphinx-1/language/si/)\n" @@ -3547,12 +3547,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/sk/LC_MESSAGES/sphinx.mo b/sphinx/locale/sk/LC_MESSAGES/sphinx.mo Binary files differindex 5d6f4663c..1054a0b5b 100644 --- a/sphinx/locale/sk/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/sk/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/sk/LC_MESSAGES/sphinx.po b/sphinx/locale/sk/LC_MESSAGES/sphinx.po index 3bf28889b..1a3d910d8 100644 --- a/sphinx/locale/sk/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/sk/LC_MESSAGES/sphinx.po @@ -5,12 +5,12 @@ # Translators: # FIRST AUTHOR <EMAIL@ADDRESS>, 2008 # Slavko <linux@slavino.sk>, 2013-2019,2021 -# Takeshi KOMIYA <i.tkomiya@gmail.com>, 2016 +# Komiya Takeshi <i.tkomiya@gmail.com>, 2016 msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Slavko <linux@slavino.sk>, 2013-2019,2021\n" "Language-Team: Slovak (http://www.transifex.com/sphinx-doc/sphinx-1/language/sk/)\n" @@ -3549,12 +3549,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "neznáma direktíva alebo meno role: %s:%s" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "neznámy typ uzla: %r" diff --git a/sphinx/locale/sl/LC_MESSAGES/sphinx.mo b/sphinx/locale/sl/LC_MESSAGES/sphinx.mo Binary files differindex 5e8a210f7..d1f2c5d7e 100644 --- a/sphinx/locale/sl/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/sl/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/sl/LC_MESSAGES/sphinx.po b/sphinx/locale/sl/LC_MESSAGES/sphinx.po index 8b6664e43..8a3f100a2 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: Slovenian (http://www.transifex.com/sphinx-doc/sphinx-1/language/sl/)\n" @@ -3546,12 +3546,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/sphinx.pot b/sphinx/locale/sphinx.pot index 7c13d932c..d7b391aa1 100644 --- a/sphinx/locale/sphinx.pot +++ b/sphinx/locale/sphinx.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx 5.1.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -3567,12 +3567,12 @@ msgid "" "is not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/sq/LC_MESSAGES/sphinx.mo b/sphinx/locale/sq/LC_MESSAGES/sphinx.mo Binary files differindex d02564409..14c3762fc 100644 --- a/sphinx/locale/sq/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/sq/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/sq/LC_MESSAGES/sphinx.po b/sphinx/locale/sq/LC_MESSAGES/sphinx.po index c6f256c0b..1df813528 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Besnik Bleta <besnik@programeshqip.org>, 2021-2022\n" "Language-Team: Albanian (http://www.transifex.com/sphinx-doc/sphinx-1/language/sq/)\n" @@ -3547,12 +3547,12 @@ msgid "" "not in the domain." msgstr "Problem në përkatësinë %s: fusha supozohet të përdorë rol '%s', por ai rol s’gjendet te përkatësia." -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "emër direktive ose roli të panjohur: %s:%s" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "lloj i panjohur nyjeje: %r" diff --git a/sphinx/locale/sr/LC_MESSAGES/sphinx.mo b/sphinx/locale/sr/LC_MESSAGES/sphinx.mo Binary files differindex e8ee7749f..4041b257b 100644 --- a/sphinx/locale/sr/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/sr/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/sr/LC_MESSAGES/sphinx.po b/sphinx/locale/sr/LC_MESSAGES/sphinx.po index b2c4c2d27..b87386739 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Vladimir Milovanović <vmilovanovic@gmail.com>, 2020\n" "Language-Team: Serbian (http://www.transifex.com/sphinx-doc/sphinx-1/language/sr/)\n" @@ -3548,12 +3548,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/sr@latin/LC_MESSAGES/sphinx.mo b/sphinx/locale/sr@latin/LC_MESSAGES/sphinx.mo Binary files differindex 9879271ee..2715bd6fc 100644 --- a/sphinx/locale/sr@latin/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/sr@latin/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/sr@latin/LC_MESSAGES/sphinx.po b/sphinx/locale/sr@latin/LC_MESSAGES/sphinx.po index 3f413bb48..fb99edbb3 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: Serbian (Latin) (http://www.transifex.com/sphinx-doc/sphinx-1/language/sr@latin/)\n" @@ -3546,12 +3546,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.mo b/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.mo Binary files differindex 08106cdd7..ebfd3e6d7 100644 --- a/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.po b/sphinx/locale/sr_RS/LC_MESSAGES/sphinx.po index 48b3405ca..ce80c405a 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: Serbian (Serbia) (http://www.transifex.com/sphinx-doc/sphinx-1/language/sr_RS/)\n" @@ -3546,12 +3546,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/sv/LC_MESSAGES/sphinx.mo b/sphinx/locale/sv/LC_MESSAGES/sphinx.mo Binary files differindex 42084d183..472f206fe 100644 --- a/sphinx/locale/sv/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/sv/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/sv/LC_MESSAGES/sphinx.po b/sphinx/locale/sv/LC_MESSAGES/sphinx.po index ec2e9fe2e..1c2bf6a92 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: Swedish (http://www.transifex.com/sphinx-doc/sphinx-1/language/sv/)\n" @@ -3546,12 +3546,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/ta/LC_MESSAGES/sphinx.mo b/sphinx/locale/ta/LC_MESSAGES/sphinx.mo Binary files differindex 0010bc682..1318a17ae 100644 --- a/sphinx/locale/ta/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/ta/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/ta/LC_MESSAGES/sphinx.po b/sphinx/locale/ta/LC_MESSAGES/sphinx.po index 468194de6..154da4abb 100644 --- a/sphinx/locale/ta/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/ta/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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Julien Malard <julien.malard@mail.mcgill.ca>, 2019\n" "Language-Team: Tamil (http://www.transifex.com/sphinx-doc/sphinx-1/language/ta/)\n" @@ -3547,12 +3547,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/te/LC_MESSAGES/sphinx.mo b/sphinx/locale/te/LC_MESSAGES/sphinx.mo Binary files differindex c378aa41a..c47ba67a0 100644 --- a/sphinx/locale/te/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/te/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/te/LC_MESSAGES/sphinx.po b/sphinx/locale/te/LC_MESSAGES/sphinx.po index dc1a9b26b..3bdbc4634 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: Telugu (http://www.transifex.com/sphinx-doc/sphinx-1/language/te/)\n" @@ -3546,12 +3546,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/tr/LC_MESSAGES/sphinx.mo b/sphinx/locale/tr/LC_MESSAGES/sphinx.mo Binary files differindex c20f4637d..6d5f1364d 100644 --- a/sphinx/locale/tr/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/tr/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/tr/LC_MESSAGES/sphinx.po b/sphinx/locale/tr/LC_MESSAGES/sphinx.po index b8f2a642c..eecededfa 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+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" @@ -3550,12 +3550,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/uk_UA/LC_MESSAGES/sphinx.mo b/sphinx/locale/uk_UA/LC_MESSAGES/sphinx.mo Binary files differindex aaf19bb97..871d643cb 100644 --- a/sphinx/locale/uk_UA/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/uk_UA/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/uk_UA/LC_MESSAGES/sphinx.po b/sphinx/locale/uk_UA/LC_MESSAGES/sphinx.po index 4f44aaa0b..73cbfe53d 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Petro Sasnyk <petro@sasnyk.name>, 2009\n" "Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/sphinx-doc/sphinx-1/language/uk_UA/)\n" @@ -3547,12 +3547,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/ur/LC_MESSAGES/sphinx.mo b/sphinx/locale/ur/LC_MESSAGES/sphinx.mo Binary files differindex 046da2636..683cc95c1 100644 --- a/sphinx/locale/ur/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/ur/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/ur/LC_MESSAGES/sphinx.po b/sphinx/locale/ur/LC_MESSAGES/sphinx.po index 9fdb33272..fba592267 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: Urdu (http://www.transifex.com/sphinx-doc/sphinx-1/language/ur/)\n" @@ -3546,12 +3546,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/vi/LC_MESSAGES/sphinx.mo b/sphinx/locale/vi/LC_MESSAGES/sphinx.mo Binary files differindex 130a8aed8..536695904 100644 --- a/sphinx/locale/vi/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/vi/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/vi/LC_MESSAGES/sphinx.po b/sphinx/locale/vi/LC_MESSAGES/sphinx.po index 7ba104ae2..094d9feaa 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Hoat Le Van <hoatlevan@gmail.com>, 2014\n" "Language-Team: Vietnamese (http://www.transifex.com/sphinx-doc/sphinx-1/language/vi/)\n" @@ -3547,12 +3547,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/yue/LC_MESSAGES/sphinx.mo b/sphinx/locale/yue/LC_MESSAGES/sphinx.mo Binary files differindex f35d1b390..44af9cd53 100644 --- a/sphinx/locale/yue/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/yue/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/yue/LC_MESSAGES/sphinx.po b/sphinx/locale/yue/LC_MESSAGES/sphinx.po index c8f99115b..5be3181a1 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: Cantonese (http://www.transifex.com/sphinx-doc/sphinx-1/language/yue/)\n" @@ -3546,12 +3546,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/zh_CN/LC_MESSAGES/sphinx.mo b/sphinx/locale/zh_CN/LC_MESSAGES/sphinx.mo Binary files differindex 48ed84e70..9bb251c6c 100644 --- a/sphinx/locale/zh_CN/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/zh_CN/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/zh_CN/LC_MESSAGES/sphinx.po b/sphinx/locale/zh_CN/LC_MESSAGES/sphinx.po index 5381807b4..00d976ec4 100644 --- a/sphinx/locale/zh_CN/LC_MESSAGES/sphinx.po +++ b/sphinx/locale/zh_CN/LC_MESSAGES/sphinx.po @@ -15,7 +15,7 @@ # Lu <lu2github@gmail.com>, 2022 # Nomaka <nomakacyx@gmail.com>, 2018,2022 # Ryekee Zhong <ryekee@gmail.com>, 2013 -# Takeshi KOMIYA <i.tkomiya@gmail.com>, 2019,2021-2022 +# Komiya Takeshi <i.tkomiya@gmail.com>, 2019,2021-2022 # Tower Joo<zhutao.iscas@gmail.com>, 2009 # wendi cao <651645601@qq.com>, 2020 # Yinian Chin <yinian1992@live.com>, 2013,2018,2020,2022 @@ -24,7 +24,7 @@ msgid "" msgstr "" "Project-Id-Version: Sphinx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Yinian Chin <yinian1992@live.com>, 2013,2018,2020,2022\n" "Language-Team: Chinese (China) (http://www.transifex.com/sphinx-doc/sphinx-1/language/zh_CN/)\n" @@ -3563,12 +3563,12 @@ msgid "" "not in the domain." msgstr "%s 域中的问题:字段应采用“%s”角色,但域中并不包含该角色。" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "未知的指令或角色名称:%s:%s" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "未知节点类型:%r" diff --git a/sphinx/locale/zh_HK/LC_MESSAGES/sphinx.mo b/sphinx/locale/zh_HK/LC_MESSAGES/sphinx.mo Binary files differindex 46a237917..f14f69e12 100644 --- a/sphinx/locale/zh_HK/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/zh_HK/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/zh_HK/LC_MESSAGES/sphinx.po b/sphinx/locale/zh_HK/LC_MESSAGES/sphinx.po index 04d89e877..5e297f54a 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: Chinese (Hong Kong) (http://www.transifex.com/sphinx-doc/sphinx-1/language/zh_HK/)\n" @@ -3546,12 +3546,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/zh_TW.Big5/LC_MESSAGES/sphinx.mo b/sphinx/locale/zh_TW.Big5/LC_MESSAGES/sphinx.mo Binary files differindex 9a0e27d53..0794458ea 100644 --- a/sphinx/locale/zh_TW.Big5/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/zh_TW.Big5/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/zh_TW.Big5/LC_MESSAGES/sphinx.po b/sphinx/locale/zh_TW.Big5/LC_MESSAGES/sphinx.po index f6642cd66..e6446973b 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: Chinese (Taiwan) (Big5) (http://www.transifex.com/sphinx-doc/sphinx-1/language/zh_TW.Big5/)\n" @@ -3546,12 +3546,12 @@ msgid "" "not in the domain." msgstr "" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "" diff --git a/sphinx/locale/zh_TW/LC_MESSAGES/sphinx.mo b/sphinx/locale/zh_TW/LC_MESSAGES/sphinx.mo Binary files differindex 5e7f68554..ea76e971d 100644 --- a/sphinx/locale/zh_TW/LC_MESSAGES/sphinx.mo +++ b/sphinx/locale/zh_TW/LC_MESSAGES/sphinx.mo diff --git a/sphinx/locale/zh_TW/LC_MESSAGES/sphinx.po b/sphinx/locale/zh_TW/LC_MESSAGES/sphinx.po index 44b8dfbca..e4f7f03a5 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-03 00:22+0000\n" +"POT-Creation-Date: 2022-07-10 00:23+0000\n" "PO-Revision-Date: 2013-04-02 08:44+0000\n" "Last-Translator: Steven Hsu <hsuhaochun@gmail.com>, 2021-2022\n" "Language-Team: Chinese (Taiwan) (http://www.transifex.com/sphinx-doc/sphinx-1/language/zh_TW/)\n" @@ -3554,12 +3554,12 @@ msgid "" "not in the domain." msgstr "在 %s domain 中的問題:欄位應該要用角色 '%s' ,但是那個角色並不在該 domain。" -#: sphinx/util/docutils.py:256 +#: sphinx/util/docutils.py:293 #, python-format msgid "unknown directive or role name: %s:%s" msgstr "未知的指令或角色名稱: %s:%s" -#: sphinx/util/docutils.py:549 +#: sphinx/util/docutils.py:586 #, python-format msgid "unknown node type: %r" msgstr "未知的節點型別: %r" diff --git a/sphinx/testing/util.py b/sphinx/testing/util.py index 441e6da3b..672cdba8f 100644 --- a/sphinx/testing/util.py +++ b/sphinx/testing/util.py @@ -24,17 +24,17 @@ __all__ = [ def assert_re_search(regex: Pattern, text: str, flags: int = 0) -> None: if not re.search(regex, text, flags): - assert False, '%r did not match %r' % (regex, text) + raise AssertionError('%r did not match %r' % (regex, text)) def assert_not_re_search(regex: Pattern, text: str, flags: int = 0) -> None: if re.search(regex, text, flags): - assert False, '%r did match %r' % (regex, text) + raise AssertionError('%r did match %r' % (regex, text)) def assert_startswith(thing: str, prefix: str) -> None: if not thing.startswith(prefix): - assert False, '%r does not start with %r' % (thing, prefix) + raise AssertionError('%r does not start with %r' % (thing, prefix)) def assert_node(node: Node, cls: Any = None, xpath: str = "", **kwargs: Any) -> None: diff --git a/sphinx/themes/basic/static/basic.css_t b/sphinx/themes/basic/static/basic.css_t index c6b882d7c..2effcd963 100644 --- a/sphinx/themes/basic/static/basic.css_t +++ b/sphinx/themes/basic/static/basic.css_t @@ -340,7 +340,7 @@ p.sidebar-title { {%- if docutils_version_info[:2] >= (0, 18) %} nav.contents, aside.topic, -{% endif %} +{%- endif %} div.admonition, div.topic, blockquote { clear: left; } @@ -350,7 +350,7 @@ div.admonition, div.topic, blockquote { {%- if docutils_version_info[:2] >= (0, 18) %} nav.contents, aside.topic, -{% endif %} +{%- endif %} div.topic { border: 1px solid #ccc; padding: 7px; @@ -392,7 +392,7 @@ aside.sidebar > :last-child, {%- if docutils_version_info[:2] >= (0, 18) %} nav.contents > :last-child, aside.topic > :last-child, -{% endif %} +{%- endif %} div.topic > :last-child, div.admonition > :last-child { margin-bottom: 0; @@ -403,7 +403,7 @@ aside.sidebar::after, {%- if docutils_version_info[:2] >= (0, 18) %} nav.contents::after, aside.topic::after, -{% endif %} +{%- endif %} div.topic::after, div.admonition::after, blockquote::after { diff --git a/sphinx/themes/basic/static/searchtools.js b/sphinx/themes/basic/static/searchtools.js index ac4d5861f..5ed91c92d 100644 --- a/sphinx/themes/basic/static/searchtools.js +++ b/sphinx/themes/basic/static/searchtools.js @@ -158,7 +158,7 @@ const Search = { const htmlElement = document .createRange() .createContextualFragment(htmlString); - _removeChildren(htmlElement.querySelectorAll(".headerlink")); + htmlElement.querySelectorAll(".headerlink").forEach((el) => el.parentNode.removeChild(el)); const docContent = htmlElement.querySelector('[role="main"]'); if (docContent !== undefined) return docContent.textContent; console.warn( @@ -504,11 +504,12 @@ const Search = { * latter for highlighting it. */ makeSearchSummary: (htmlText, keywords, highlightWords) => { - const text = Search.htmlToText(htmlText).toLowerCase(); + const text = Search.htmlToText(htmlText); if (text === "") return null; + const textLower = text.toLowerCase(); const actualStartPosition = [...keywords] - .map((k) => text.indexOf(k.toLowerCase())) + .map((k) => textLower.indexOf(k.toLowerCase())) .filter((i) => i > -1) .slice(-1)[0]; const startWithContext = Math.max(actualStartPosition - 120, 0); @@ -516,7 +517,7 @@ const Search = { const top = startWithContext === 0 ? "" : "..."; const tail = startWithContext + 240 < text.length ? "..." : ""; - let summary = document.createElement("div"); + let summary = document.createElement("p"); summary.classList.add("context"); summary.innerText = top + text.substr(startWithContext, 240).trim() + tail; diff --git a/sphinx/writers/latex.py b/sphinx/writers/latex.py index ffadb67aa..447943c86 100644 --- a/sphinx/writers/latex.py +++ b/sphinx/writers/latex.py @@ -687,10 +687,10 @@ class LaTeXTranslator(SphinxTranslator): self.body.append('}') def visit_desc_signature(self, node: Element) -> None: + hyper = '' if node.parent['objtype'] != 'describe' and node['ids']: - hyper = self.hypertarget(node['ids'][0]) - else: - hyper = '' + for id in node['ids']: + hyper += self.hypertarget(id) self.body.append(hyper) if not self.in_desc_signature: self.in_desc_signature = True diff --git a/tests/test_build_epub.py b/tests/test_build_epub.py index 90dbb0ce1..80525112b 100644 --- a/tests/test_build_epub.py +++ b/tests/test_build_epub.py @@ -381,4 +381,4 @@ def test_run_epubcheck(app): except CalledProcessError as exc: print(exc.stdout.decode('utf-8')) print(exc.stderr.decode('utf-8')) - assert False, 'epubcheck exited with return code %s' % exc.returncode + raise AssertionError('epubcheck exited with return code %s' % exc.returncode) diff --git a/tests/test_build_gettext.py b/tests/test_build_gettext.py index cca6fab92..20fe60e85 100644 --- a/tests/test_build_gettext.py +++ b/tests/test_build_gettext.py @@ -60,7 +60,7 @@ def test_msgfmt(app): except CalledProcessError as exc: print(exc.stdout) print(exc.stderr) - assert False, 'msginit exited with return code %s' % exc.returncode + raise AssertionError('msginit exited with return code %s' % exc.returncode) assert (app.outdir / 'en_US.po').isfile(), 'msginit failed' try: @@ -72,7 +72,7 @@ def test_msgfmt(app): except CalledProcessError as exc: print(exc.stdout) print(exc.stderr) - assert False, 'msgfmt exited with return code %s' % exc.returncode + raise AssertionError('msgfmt exited with return code %s' % exc.returncode) mo = app.outdir / 'en' / 'LC_MESSAGES' / 'test_root.mo' assert mo.isfile(), 'msgfmt failed' diff --git a/tests/test_build_html.py b/tests/test_build_html.py index f9913a3cc..70141497b 100644 --- a/tests/test_build_html.py +++ b/tests/test_build_html.py @@ -79,7 +79,7 @@ def tail_check(check): for node in nodes: if node.tail and rex.search(node.tail): return True - assert False, '%r not found in tail of any nodes %s' % (check, nodes) + raise AssertionError('%r not found in tail of any nodes %s' % (check, nodes)) return checker @@ -114,9 +114,9 @@ def check_xpath(etree, fname, path, check, be_found=True): if all(not rex.search(get_text(node)) for node in nodes): return - assert False, ('%r not found in any node matching ' - 'path %s in %s: %r' % (check, path, fname, - [node.text for node in nodes])) + raise AssertionError(('%r not found in any node matching ' + 'path %s in %s: %r' % (check, path, fname, + [node.text for node in nodes]))) @pytest.mark.sphinx('html', testroot='warnings') @@ -1520,7 +1520,7 @@ def test_html_math_renderer_is_duplicated(make_app, app_params): try: args, kwargs = app_params make_app(*args, **kwargs) - assert False + raise AssertionError() except ConfigError as exc: assert str(exc) == ('Many math_renderers are registered. ' 'But no math_renderer is selected.') @@ -1550,7 +1550,7 @@ def test_html_math_renderer_is_mismatched(make_app, app_params): try: args, kwargs = app_params make_app(*args, **kwargs) - assert False + raise AssertionError() except ConfigError as exc: assert str(exc) == "Unknown math_renderer 'imgmath' is given." diff --git a/tests/test_build_latex.py b/tests/test_build_latex.py index 9a325a8d4..3728b3da7 100644 --- a/tests/test_build_latex.py +++ b/tests/test_build_latex.py @@ -60,8 +60,8 @@ def compile_latex_document(app, filename='python.tex'): except CalledProcessError as exc: print(exc.stdout) print(exc.stderr) - assert False, '%s exited with return code %s' % (app.config.latex_engine, - exc.returncode) + raise AssertionError('%s exited with return code %s' % (app.config.latex_engine, + exc.returncode)) def skip_if_requested(testfunc): @@ -992,7 +992,7 @@ def test_image_in_section(app, status, warning): def test_latex_logo_if_not_found(app, status, warning): try: app.builder.build_all() - assert False # SphinxError not raised + raise AssertionError() # SphinxError not raised except Exception as exc: assert isinstance(exc, SphinxError) diff --git a/tests/test_build_texinfo.py b/tests/test_build_texinfo.py index 5c72a3449..b33a7e01f 100644 --- a/tests/test_build_texinfo.py +++ b/tests/test_build_texinfo.py @@ -55,7 +55,7 @@ def test_texinfo(app, status, warning): except CalledProcessError as exc: print(exc.stdout) print(exc.stderr) - assert False, 'makeinfo exited with return code %s' % exc.retcode + raise AssertionError('makeinfo exited with return code %s' % exc.retcode) @pytest.mark.sphinx('texinfo', testroot='markup-rubric') diff --git a/tests/test_config.py b/tests/test_config.py index 4dabafc83..d31fae113 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -48,13 +48,13 @@ def test_core_config(app, status, warning): # invalid values with pytest.raises(AttributeError): - getattr(cfg, '_value') + cfg._value with pytest.raises(AttributeError): - getattr(cfg, 'nonexisting_value') + cfg.nonexisting_value # non-value attributes are deleted from the namespace with pytest.raises(AttributeError): - getattr(cfg, 'sys') + cfg.sys # setting attributes cfg.project = 'Foo' diff --git a/tests/test_domain_cpp.py b/tests/test_domain_cpp.py index 4cf757c4c..3f31aaa18 100644 --- a/tests/test_domain_cpp.py +++ b/tests/test_domain_cpp.py @@ -1140,7 +1140,7 @@ def test_domain_cpp_build_with_add_function_parentheses_is_True(app, status, war res = re.search(pattern, text) if not res: print("Pattern\n\t%s\nnot found in %s" % (pattern, file)) - assert False + raise AssertionError() rolePatterns = [ ('', 'Sphinx'), ('', 'Sphinx::version'), @@ -1181,7 +1181,7 @@ def test_domain_cpp_build_with_add_function_parentheses_is_False(app, status, wa res = re.search(pattern, text) if not res: print("Pattern\n\t%s\nnot found in %s" % (pattern, file)) - assert False + raise AssertionError() rolePatterns = [ ('', 'Sphinx'), ('', 'Sphinx::version'), diff --git a/tests/test_events.py b/tests/test_events.py index f36c86a87..8f01a673a 100644 --- a/tests/test_events.py +++ b/tests/test_events.py @@ -19,11 +19,16 @@ def test_event_priority(): assert result == [3, 1, 2, 5, 4] +class FakeApp: + def __init__(self, pdb: bool = False): + self.pdb = pdb + + def test_event_allowed_exceptions(): def raise_error(app): raise RuntimeError - events = EventManager(object()) # pass an dummy object as an app + events = EventManager(FakeApp()) # pass an dummy object as an app events.connect('builder-inited', raise_error, priority=500) # all errors are converted to ExtensionError @@ -33,3 +38,19 @@ def test_event_allowed_exceptions(): # Allow RuntimeError (pass-through) with pytest.raises(RuntimeError): events.emit('builder-inited', allowed_exceptions=(RuntimeError,)) + + +def test_event_pdb(): + def raise_error(app): + raise RuntimeError + + events = EventManager(FakeApp(pdb=True)) # pass an dummy object as an app + events.connect('builder-inited', raise_error, priority=500) + + # errors aren't converted + with pytest.raises(RuntimeError): + events.emit('builder-inited') + + # Allow RuntimeError (pass-through) + with pytest.raises(RuntimeError): + events.emit('builder-inited', allowed_exceptions=(RuntimeError,)) diff --git a/tests/test_ext_doctest.py b/tests/test_ext_doctest.py index 6e8a4123e..6ec0495ef 100644 --- a/tests/test_ext_doctest.py +++ b/tests/test_ext_doctest.py @@ -18,7 +18,7 @@ def test_build(app, status, warning): cleanup_called = 0 app.builder.build_all() if app.statuscode != 0: - assert False, 'failures in doctests:' + status.getvalue() + raise AssertionError('failures in doctests:' + status.getvalue()) # in doctest.txt, there are two named groups and the default group, # so the cleanup function must be called three times assert cleanup_called == 3, 'testcleanup did not get executed enough times' @@ -88,7 +88,7 @@ def test_skipif(app, status, warning): recorded_calls = Counter() app.builder.build_all() if app.statuscode != 0: - assert False, 'failures in doctests:' + status.getvalue() + raise AssertionError('failures in doctests:' + status.getvalue()) # The `:skipif:` expressions are always run. # Actual tests and setup/cleanup code is only run if the `:skipif:` # expression evaluates to a False value. diff --git a/tests/test_search.py b/tests/test_search.py index 18bc7de2e..0330bfbae 100644 --- a/tests/test_search.py +++ b/tests/test_search.py @@ -67,7 +67,7 @@ def test_objects_are_escaped(app, status, warning): if item[-1] == 'n::Array<T, d>': # n::Array<T,d> is escaped break else: - assert False, index.get('objects').get('') + raise AssertionError(index.get('objects').get('')) @pytest.mark.sphinx(testroot='search') diff --git a/tests/test_util_inspect.py b/tests/test_util_inspect.py index e84e32adf..98f6f0b88 100644 --- a/tests/test_util_inspect.py +++ b/tests/test_util_inspect.py @@ -730,7 +730,7 @@ def test_getdoc_inherited_decorated_method(): """ class Bar(Foo): - @functools.lru_cache() + @functools.lru_cache() # noqa: B019 def meth(self): # inherited and decorated method pass @@ -75,7 +75,7 @@ description = extras = docs commands = - python -X dev -X warn_default_encoding -m sphinx -M html ./doc ./build/sphinx -W + python -X dev -X warn_default_encoding -m sphinx -M html ./doc ./build/sphinx -W --keep-going [testenv:docslint] basepython = python3 |