diff options
33 files changed, 233 insertions, 4701 deletions
diff --git a/.travis.yml b/.travis.yml index 8cef03f44..82bcb9f23 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,8 +15,8 @@ env: - PYTHONFAULTHANDLER=x - PYTHONWARNINGS=all matrix: - - DOCUTILS=0.11 - DOCUTILS=0.12 + - DOCUTILS=0.13.1 addons: apt: packages: @@ -12,6 +12,30 @@ Features added Bugs fixed ---------- +Release 1.5.1 (in development) +============================== + +Features added +-------------- + +* #3214: Allow to suppress "unknown mimetype" warnings from epub builder using + :confval:`suppress_warnings`. + +Bugs fixed +---------- + +* #3195: Can not build in parallel +* #3198: AttributeError is raised when toctree has 'self' +* #3211: Remove untranslated sphinx locale catalogs (it was covered by + untranslated it_IT) +* #3212: HTML Builders crashes with docutils-0.13 +* #3207: more latex problems with references inside parsed-literal directive + (``\DUrole``) +* #3205: sphinx.util.requests crashes with old pyOpenSSL (< 0.14) +* #3220: KeyError when having a duplicate citation +* #3200: LaTeX: xref inside desc_name not allowed +* #3228: ``build_sphinx`` command crashes when missing dependency + Release 1.5 (released Dec 5, 2016) ================================== diff --git a/doc/config.rst b/doc/config.rst index 9c74d664f..647aa6bc7 100644 --- a/doc/config.rst +++ b/doc/config.rst @@ -233,6 +233,7 @@ General configuration * ref.citation * ref.doc * misc.highlighting_failure + * epub.unknown_project_files You can choose from these types. @@ -244,6 +245,10 @@ General configuration Added ``misc.highlighting_failure`` + .. versionchanged:: 1.5.1 + + Added ``epub.unknown_project_files`` + .. confval:: needs_sphinx If set to a ``major.minor`` version string like ``'1.1'``, Sphinx will diff --git a/sphinx/application.py b/sphinx/application.py index ca3c40be7..8ef373067 100644 --- a/sphinx/application.py +++ b/sphinx/application.py @@ -559,6 +559,12 @@ class Sphinx(object): # special-case for compatibility if extension == 'rst2pdf.pdfbuilder': ext_meta = {'parallel_read_safe': True} + elif extension in builtin_extensions: + ext_meta = { + 'version': 'builtin', + 'parallel_read_safe': True, + 'parallel_write_safe': True, + } try: if not ext_meta.get('version'): ext_meta['version'] = 'unknown version' diff --git a/sphinx/builders/epub.py b/sphinx/builders/epub.py index 2b8aba7bd..938a5cc34 100644 --- a/sphinx/builders/epub.py +++ b/sphinx/builders/epub.py @@ -614,7 +614,8 @@ class EpubBuilder(StandaloneHTMLBuilder): # we always have JS and potentially OpenSearch files, don't # always warn about them if ext not in ('.js', '.xml'): - self.warn('unknown mimetype for %s, ignoring' % filename) + self.warn('unknown mimetype for %s, ignoring' % filename, + type='epub', subtype='unknown_project_files') continue filename = filename.replace(os.sep, '/') projectfiles.append(self.file_template % { diff --git a/sphinx/builders/latex.py b/sphinx/builders/latex.py index 92eb39b74..fadafb699 100644 --- a/sphinx/builders/latex.py +++ b/sphinx/builders/latex.py @@ -250,7 +250,7 @@ def validate_config_values(app): app.config.latex_toplevel_sectioning = 'parts' # type: ignore if app.config.latex_use_modindex is not True: # changed by user - app.warn('latex_use_modeindex is deprecated. Use latex_domain_indices instead.') + app.warn('latex_use_modindex is deprecated. Use latex_domain_indices instead.') if app.config.latex_preamble: if app.config.latex_elements.get('preamble'): diff --git a/sphinx/domains/std.py b/sphinx/domains/std.py index 6044b5d59..53305899d 100644 --- a/sphinx/domains/std.py +++ b/sphinx/domains/std.py @@ -573,7 +573,7 @@ class StandardDomain(Domain): for node in document.traverse(nodes.citation): label = node[0].astext() if label in self.data['citations']: - path = env.doc2path(self.data['citations'][0]) + path = env.doc2path(self.data['citations'][label][0]) env.warn_node('duplicate citation %s, other instance in %s' % (label, path), node) self.data['citations'][label] = (docname, node['ids'][0]) diff --git a/sphinx/environment/managers/toctree.py b/sphinx/environment/managers/toctree.py index 26c8f385d..6d92d9b12 100644 --- a/sphinx/environment/managers/toctree.py +++ b/sphinx/environment/managers/toctree.py @@ -285,7 +285,7 @@ class Toctree(EnvironmentManager): # toctree originates ref = toctreenode['parent'] if not title: - title = clean_astext(self.titles[ref]) + title = clean_astext(self.env.titles[ref]) reference = nodes.reference('', '', internal=True, refuri=ref, anchorname='', diff --git a/sphinx/locale/cmn/LC_MESSAGES/sphinx.js b/sphinx/locale/cmn/LC_MESSAGES/sphinx.js deleted file mode 100644 index dee432c18..000000000 --- a/sphinx/locale/cmn/LC_MESSAGES/sphinx.js +++ /dev/null @@ -1 +0,0 @@ -Documentation.addTranslations({"locale": "zh_Hans_CN", "messages": {"%(filename)s — %(docstitle)s": "", "© <a href=\"%(path)s\">Copyright</a> %(copyright)s.": "", "© Copyright %(copyright)s.": "", ", in ": "", "About these documents": "", "Automatically generated list of changes in version %(version)s": "", "C API changes": "", "Changes in Version %(version)s — %(docstitle)s": "", "Collapse sidebar": "", "Complete Table of Contents": "", "Contents": "", "Copyright": "", "Created using <a href=\"http://sphinx-doc.org/\">Sphinx</a> %(sphinx_version)s.": "", "Expand sidebar": "", "From here you can search these documents. Enter your search\n words into the box below and click \"search\". Note that the search\n function will automatically search for all of the words. Pages\n containing fewer words won't appear in the result list.": "", "Full index on one page": "", "General Index": "", "Global Module Index": "", "Go": "", "Hide Search Matches": "", "Index": "", "Index – %(key)s": "", "Index pages by letter": "", "Indices and tables:": "", "Last updated on %(last_updated)s.": "", "Library changes": "", "Navigation": "", "Next topic": "", "Other changes": "", "Overview": "", "Permalink to this definition": "", "Permalink to this headline": "", "Please activate JavaScript to enable the search\n functionality.": "", "Preparing search...": "", "Previous topic": "", "Quick search": "", "Search": "", "Search Page": "", "Search Results": "", "Search finished, found %s page(s) matching the search query.": "", "Search within %(docstitle)s": "", "Searching": "", "Show Source": "", "Table Of Contents": "", "This Page": "", "Welcome! This is": "", "Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories.": "", "all functions, classes, terms": "", "can be huge": "", "last updated": "", "lists all sections and subsections": "", "next chapter": "", "previous chapter": "", "quick access to all modules": "", "search": "", "search this documentation": "", "the documentation for": ""}, "plural_expr": "0"});
\ No newline at end of file diff --git a/sphinx/locale/cmn/LC_MESSAGES/sphinx.mo b/sphinx/locale/cmn/LC_MESSAGES/sphinx.mo Binary files differdeleted file mode 100644 index 8986a35c2..000000000 --- a/sphinx/locale/cmn/LC_MESSAGES/sphinx.mo +++ /dev/null diff --git a/sphinx/locale/cmn/LC_MESSAGES/sphinx.po b/sphinx/locale/cmn/LC_MESSAGES/sphinx.po deleted file mode 100644 index e5a646df1..000000000 --- a/sphinx/locale/cmn/LC_MESSAGES/sphinx.po +++ /dev/null @@ -1,914 +0,0 @@ -# Translations template for Sphinx. -# Copyright (C) 2016 ORGANIZATION -# This file is distributed under the same license as the Sphinx project. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: Sphinx\n" -"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2016-11-06 22:40+0900\n" -"PO-Revision-Date: 2016-11-06 13:53+0000\n" -"Last-Translator: Takeshi KOMIYA <i.tkomiya@gmail.com>\n" -"Language-Team: Chinese (Mandarin) (http://www.transifex.com/sphinx-doc/sphinx-1/language/cmn/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.3.4\n" -"Language: cmn\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: sphinx/config.py:109 -#, python-format -msgid "Section %s" -msgstr "" - -#: sphinx/config.py:110 -#, python-format -msgid "Fig. %s" -msgstr "" - -#: sphinx/config.py:111 -#, python-format -msgid "Table %s" -msgstr "" - -#: sphinx/config.py:112 -#, python-format -msgid "Listing %s" -msgstr "" - -#: sphinx/roles.py:187 -#, python-format -msgid "Python Enhancement Proposals; PEP %s" -msgstr "" - -#: sphinx/builders/changes.py:75 -msgid "Builtins" -msgstr "" - -#: sphinx/builders/changes.py:77 -msgid "Module level" -msgstr "" - -#: sphinx/builders/html.py:294 sphinx/transforms/__init__.py:46 -#: sphinx/writers/latex.py:393 sphinx/writers/manpage.py:100 -#: sphinx/writers/texinfo.py:221 -#, python-format -msgid "%b %d, %Y" -msgstr "" - -#: sphinx/builders/html.py:315 sphinx/themes/basic/defindex.html:30 -msgid "General Index" -msgstr "" - -#: sphinx/builders/html.py:315 -msgid "index" -msgstr "" - -#: sphinx/builders/html.py:377 -msgid "next" -msgstr "" - -#: sphinx/builders/html.py:386 -msgid "previous" -msgstr "" - -#: sphinx/builders/html.py:1222 -#, python-format -msgid "%s %s documentation" -msgstr "" - -#: sphinx/builders/latex.py:177 sphinx/builders/texinfo.py:199 -msgid " (in " -msgstr "" - -#: sphinx/directives/code.py:140 sphinx/directives/code.py:370 -#, python-format -msgid "Invalid caption: %s" -msgstr "" - -#: sphinx/directives/other.py:149 -msgid "Section author: " -msgstr "" - -#: sphinx/directives/other.py:151 -msgid "Module author: " -msgstr "" - -#: sphinx/directives/other.py:153 -msgid "Code author: " -msgstr "" - -#: sphinx/directives/other.py:155 -msgid "Author: " -msgstr "" - -#: sphinx/domains/__init__.py:277 -#, python-format -msgid "%s %s" -msgstr "" - -#: sphinx/domains/c.py:58 sphinx/domains/cpp.py:4051 -#: sphinx/domains/python.py:149 -msgid "Parameters" -msgstr "" - -#: sphinx/domains/c.py:61 sphinx/domains/cpp.py:4060 -#: sphinx/domains/javascript.py:128 sphinx/domains/python.py:161 -msgid "Returns" -msgstr "" - -#: sphinx/domains/c.py:63 sphinx/domains/javascript.py:130 -#: sphinx/domains/python.py:163 -msgid "Return type" -msgstr "" - -#: sphinx/domains/c.py:177 -#, python-format -msgid "%s (C function)" -msgstr "" - -#: sphinx/domains/c.py:179 -#, python-format -msgid "%s (C member)" -msgstr "" - -#: sphinx/domains/c.py:181 -#, python-format -msgid "%s (C macro)" -msgstr "" - -#: sphinx/domains/c.py:183 -#, python-format -msgid "%s (C type)" -msgstr "" - -#: sphinx/domains/c.py:185 -#, python-format -msgid "%s (C variable)" -msgstr "" - -#: sphinx/domains/c.py:242 sphinx/domains/cpp.py:4418 -#: sphinx/domains/javascript.py:164 sphinx/domains/python.py:614 -msgid "function" -msgstr "" - -#: sphinx/domains/c.py:243 sphinx/domains/cpp.py:4419 -msgid "member" -msgstr "" - -#: sphinx/domains/c.py:244 -msgid "macro" -msgstr "" - -#: sphinx/domains/c.py:245 sphinx/domains/cpp.py:4420 -msgid "type" -msgstr "" - -#: sphinx/domains/c.py:246 -msgid "variable" -msgstr "" - -#: sphinx/domains/cpp.py:4054 -msgid "Template Parameters" -msgstr "" - -#: sphinx/domains/cpp.py:4057 sphinx/domains/javascript.py:125 -msgid "Throws" -msgstr "" - -#: sphinx/domains/cpp.py:4205 -#, python-format -msgid "%s (C++ type)" -msgstr "" - -#: sphinx/domains/cpp.py:4216 -#, python-format -msgid "%s (C++ concept)" -msgstr "" - -#: sphinx/domains/cpp.py:4227 -#, python-format -msgid "%s (C++ member)" -msgstr "" - -#: sphinx/domains/cpp.py:4238 -#, python-format -msgid "%s (C++ function)" -msgstr "" - -#: sphinx/domains/cpp.py:4249 -#, python-format -msgid "%s (C++ class)" -msgstr "" - -#: sphinx/domains/cpp.py:4260 -#, python-format -msgid "%s (C++ enum)" -msgstr "" - -#: sphinx/domains/cpp.py:4281 -#, python-format -msgid "%s (C++ enumerator)" -msgstr "" - -#: sphinx/domains/cpp.py:4417 sphinx/domains/javascript.py:165 -#: sphinx/domains/python.py:616 -msgid "class" -msgstr "" - -#: sphinx/domains/cpp.py:4421 -msgid "concept" -msgstr "" - -#: sphinx/domains/cpp.py:4422 -msgid "enum" -msgstr "" - -#: sphinx/domains/cpp.py:4423 -msgid "enumerator" -msgstr "" - -#: sphinx/domains/javascript.py:106 sphinx/domains/python.py:307 -#, python-format -msgid "%s() (built-in function)" -msgstr "" - -#: sphinx/domains/javascript.py:107 sphinx/domains/python.py:371 -#, python-format -msgid "%s() (%s method)" -msgstr "" - -#: sphinx/domains/javascript.py:109 -#, python-format -msgid "%s() (class)" -msgstr "" - -#: sphinx/domains/javascript.py:111 -#, python-format -msgid "%s (global variable or constant)" -msgstr "" - -#: sphinx/domains/javascript.py:113 sphinx/domains/python.py:409 -#, python-format -msgid "%s (%s attribute)" -msgstr "" - -#: sphinx/domains/javascript.py:122 -msgid "Arguments" -msgstr "" - -#: sphinx/domains/javascript.py:166 sphinx/domains/python.py:615 -msgid "data" -msgstr "" - -#: sphinx/domains/javascript.py:167 sphinx/domains/python.py:621 -msgid "attribute" -msgstr "" - -#: sphinx/domains/python.py:154 -msgid "Variables" -msgstr "" - -#: sphinx/domains/python.py:158 -msgid "Raises" -msgstr "" - -#: sphinx/domains/python.py:308 sphinx/domains/python.py:365 -#: sphinx/domains/python.py:377 sphinx/domains/python.py:390 -#, python-format -msgid "%s() (in module %s)" -msgstr "" - -#: sphinx/domains/python.py:311 -#, python-format -msgid "%s (built-in variable)" -msgstr "" - -#: sphinx/domains/python.py:312 sphinx/domains/python.py:403 -#, python-format -msgid "%s (in module %s)" -msgstr "" - -#: sphinx/domains/python.py:328 -#, python-format -msgid "%s (built-in class)" -msgstr "" - -#: sphinx/domains/python.py:329 -#, python-format -msgid "%s (class in %s)" -msgstr "" - -#: sphinx/domains/python.py:369 -#, python-format -msgid "%s() (%s.%s method)" -msgstr "" - -#: sphinx/domains/python.py:381 -#, python-format -msgid "%s() (%s.%s static method)" -msgstr "" - -#: sphinx/domains/python.py:384 -#, python-format -msgid "%s() (%s static method)" -msgstr "" - -#: sphinx/domains/python.py:394 -#, python-format -msgid "%s() (%s.%s class method)" -msgstr "" - -#: sphinx/domains/python.py:397 -#, python-format -msgid "%s() (%s class method)" -msgstr "" - -#: sphinx/domains/python.py:407 -#, python-format -msgid "%s (%s.%s attribute)" -msgstr "" - -#: sphinx/domains/python.py:488 -#, python-format -msgid "%s (module)" -msgstr "" - -#: sphinx/domains/python.py:545 -msgid "Python Module Index" -msgstr "" - -#: sphinx/domains/python.py:546 -msgid "modules" -msgstr "" - -#: sphinx/domains/python.py:592 -msgid "Deprecated" -msgstr "" - -#: sphinx/domains/python.py:617 sphinx/locale/__init__.py:183 -msgid "exception" -msgstr "" - -#: sphinx/domains/python.py:618 -msgid "method" -msgstr "" - -#: sphinx/domains/python.py:619 -msgid "class method" -msgstr "" - -#: sphinx/domains/python.py:620 -msgid "static method" -msgstr "" - -#: sphinx/domains/python.py:622 sphinx/locale/__init__.py:179 -msgid "module" -msgstr "" - -#: sphinx/domains/python.py:787 -msgid " (deprecated)" -msgstr "" - -#: sphinx/domains/rst.py:55 -#, python-format -msgid "%s (directive)" -msgstr "" - -#: sphinx/domains/rst.py:57 -#, python-format -msgid "%s (role)" -msgstr "" - -#: sphinx/domains/rst.py:106 -msgid "directive" -msgstr "" - -#: sphinx/domains/rst.py:107 -msgid "role" -msgstr "" - -#: sphinx/domains/std.py:72 sphinx/domains/std.py:88 -#, python-format -msgid "environment variable; %s" -msgstr "" - -#: sphinx/domains/std.py:186 -#, python-format -msgid "%scommand line option; %s" -msgstr "" - -#: sphinx/domains/std.py:434 -msgid "glossary term" -msgstr "" - -#: sphinx/domains/std.py:435 -msgid "grammar token" -msgstr "" - -#: sphinx/domains/std.py:436 -msgid "reference label" -msgstr "" - -#: sphinx/domains/std.py:438 -msgid "environment variable" -msgstr "" - -#: sphinx/domains/std.py:439 -msgid "program option" -msgstr "" - -#: sphinx/domains/std.py:473 sphinx/themes/basic/genindex-single.html:30 -#: sphinx/themes/basic/genindex-single.html:55 -#: sphinx/themes/basic/genindex-split.html:11 -#: sphinx/themes/basic/genindex-split.html:14 -#: sphinx/themes/basic/genindex.html:30 sphinx/themes/basic/genindex.html:33 -#: sphinx/themes/basic/genindex.html:66 sphinx/themes/basic/layout.html:135 -#: sphinx/writers/latex.py:381 sphinx/writers/texinfo.py:480 -msgid "Index" -msgstr "" - -#: sphinx/domains/std.py:474 -msgid "Module Index" -msgstr "" - -#: sphinx/domains/std.py:475 sphinx/themes/basic/defindex.html:25 -msgid "Search Page" -msgstr "" - -#: sphinx/environment/managers/indexentries.py:104 -#, python-format -msgid "see %s" -msgstr "" - -#: sphinx/environment/managers/indexentries.py:108 -#, python-format -msgid "see also %s" -msgstr "" - -#: sphinx/environment/managers/indexentries.py:168 -msgid "Symbols" -msgstr "" - -#: sphinx/ext/autodoc.py:1297 -#, python-format -msgid "Bases: %s" -msgstr "" - -#: sphinx/ext/autodoc.py:1350 -#, python-format -msgid "alias of :class:`%s`" -msgstr "" - -#: sphinx/ext/graphviz.py:331 sphinx/ext/graphviz.py:340 -#, python-format -msgid "[graph: %s]" -msgstr "" - -#: sphinx/ext/graphviz.py:333 sphinx/ext/graphviz.py:342 -msgid "[graph]" -msgstr "" - -#: sphinx/ext/imgmath.py:258 sphinx/ext/jsmath.py:39 sphinx/ext/mathjax.py:40 -msgid "Permalink to this equation" -msgstr "" - -#: sphinx/ext/intersphinx.py:337 -#, python-format -msgid "(in %s v%s)" -msgstr "" - -#: sphinx/ext/linkcode.py:69 sphinx/ext/viewcode.py:103 -msgid "[source]" -msgstr "" - -#: sphinx/ext/mathbase.py:92 -#, python-format -msgid "duplicate label of equation %s, other instance in %s" -msgstr "" - -#: sphinx/ext/todo.py:56 -msgid "Todo" -msgstr "" - -#: sphinx/ext/todo.py:134 -msgid "<<original entry>>" -msgstr "" - -#: sphinx/ext/todo.py:137 -#, python-format -msgid "(The <<original entry>> is located in %s, line %d.)" -msgstr "" - -#: sphinx/ext/todo.py:146 -msgid "original entry" -msgstr "" - -#: sphinx/ext/viewcode.py:166 -msgid "[docs]" -msgstr "" - -#: sphinx/ext/viewcode.py:180 -msgid "Module code" -msgstr "" - -#: sphinx/ext/viewcode.py:186 -#, python-format -msgid "<h1>Source code for %s</h1>" -msgstr "" - -#: sphinx/ext/viewcode.py:212 -msgid "Overview: module code" -msgstr "" - -#: sphinx/ext/viewcode.py:213 -msgid "<h1>All modules for which code is available</h1>" -msgstr "" - -#: sphinx/ext/napoleon/__init__.py:313 -msgid "Keyword Arguments" -msgstr "" - -#: sphinx/locale/__init__.py:159 -msgid "Attention" -msgstr "" - -#: sphinx/locale/__init__.py:160 -msgid "Caution" -msgstr "" - -#: sphinx/locale/__init__.py:161 -msgid "Danger" -msgstr "" - -#: sphinx/locale/__init__.py:162 -msgid "Error" -msgstr "" - -#: sphinx/locale/__init__.py:163 -msgid "Hint" -msgstr "" - -#: sphinx/locale/__init__.py:164 -msgid "Important" -msgstr "" - -#: sphinx/locale/__init__.py:165 -msgid "Note" -msgstr "" - -#: sphinx/locale/__init__.py:166 -msgid "See also" -msgstr "" - -#: sphinx/locale/__init__.py:167 -msgid "Tip" -msgstr "" - -#: sphinx/locale/__init__.py:168 -msgid "Warning" -msgstr "" - -#: sphinx/locale/__init__.py:172 -#, python-format -msgid "New in version %s" -msgstr "" - -#: sphinx/locale/__init__.py:173 -#, python-format -msgid "Changed in version %s" -msgstr "" - -#: sphinx/locale/__init__.py:174 -#, python-format -msgid "Deprecated since version %s" -msgstr "" - -#: sphinx/locale/__init__.py:180 -msgid "keyword" -msgstr "" - -#: sphinx/locale/__init__.py:181 -msgid "operator" -msgstr "" - -#: sphinx/locale/__init__.py:182 -msgid "object" -msgstr "" - -#: sphinx/locale/__init__.py:184 -msgid "statement" -msgstr "" - -#: sphinx/locale/__init__.py:185 -msgid "built-in function" -msgstr "" - -#: sphinx/themes/agogo/layout.html:46 sphinx/themes/basic/globaltoc.html:10 -#: sphinx/themes/basic/localtoc.html:11 sphinx/themes/scrolls/layout.html:35 -msgid "Table Of Contents" -msgstr "" - -#: sphinx/themes/agogo/layout.html:51 sphinx/themes/basic/layout.html:138 -#: sphinx/themes/basic/search.html:11 sphinx/themes/basic/search.html:23 -#: sphinx/themes/basic/searchresults.html:10 -msgid "Search" -msgstr "" - -#: sphinx/themes/agogo/layout.html:54 sphinx/themes/basic/searchbox.html:15 -msgid "Go" -msgstr "" - -#: sphinx/themes/agogo/layout.html:81 sphinx/themes/basic/sourcelink.html:15 -msgid "Show Source" -msgstr "" - -#: sphinx/themes/basic/defindex.html:11 -msgid "Overview" -msgstr "" - -#: sphinx/themes/basic/defindex.html:15 -msgid "Welcome! This is" -msgstr "" - -#: sphinx/themes/basic/defindex.html:16 -msgid "the documentation for" -msgstr "" - -#: sphinx/themes/basic/defindex.html:17 -msgid "last updated" -msgstr "" - -#: sphinx/themes/basic/defindex.html:20 -msgid "Indices and tables:" -msgstr "" - -#: sphinx/themes/basic/defindex.html:23 -msgid "Complete Table of Contents" -msgstr "" - -#: sphinx/themes/basic/defindex.html:24 -msgid "lists all sections and subsections" -msgstr "" - -#: sphinx/themes/basic/defindex.html:26 -msgid "search this documentation" -msgstr "" - -#: sphinx/themes/basic/defindex.html:28 -msgid "Global Module Index" -msgstr "" - -#: sphinx/themes/basic/defindex.html:29 -msgid "quick access to all modules" -msgstr "" - -#: sphinx/themes/basic/defindex.html:31 -msgid "all functions, classes, terms" -msgstr "" - -#: sphinx/themes/basic/genindex-single.html:33 -#, python-format -msgid "Index – %(key)s" -msgstr "" - -#: sphinx/themes/basic/genindex-single.html:61 -#: sphinx/themes/basic/genindex-split.html:24 -#: sphinx/themes/basic/genindex-split.html:38 -#: sphinx/themes/basic/genindex.html:72 -msgid "Full index on one page" -msgstr "" - -#: sphinx/themes/basic/genindex-split.html:16 -msgid "Index pages by letter" -msgstr "" - -#: sphinx/themes/basic/genindex-split.html:25 -msgid "can be huge" -msgstr "" - -#: sphinx/themes/basic/layout.html:29 -msgid "Navigation" -msgstr "" - -#: sphinx/themes/basic/layout.html:123 -#, python-format -msgid "Search within %(docstitle)s" -msgstr "" - -#: sphinx/themes/basic/layout.html:132 -msgid "About these documents" -msgstr "" - -#: sphinx/themes/basic/layout.html:141 -msgid "Copyright" -msgstr "" - -#: sphinx/themes/basic/layout.html:186 -#, python-format -msgid "© <a href=\"%(path)s\">Copyright</a> %(copyright)s." -msgstr "" - -#: sphinx/themes/basic/layout.html:188 -#, python-format -msgid "© Copyright %(copyright)s." -msgstr "" - -#: sphinx/themes/basic/layout.html:192 -#, python-format -msgid "Last updated on %(last_updated)s." -msgstr "" - -#: sphinx/themes/basic/layout.html:195 -#, python-format -msgid "" -"Created using <a href=\"http://sphinx-doc.org/\">Sphinx</a> " -"%(sphinx_version)s." -msgstr "" - -#: sphinx/themes/basic/opensearch.xml:4 -#, python-format -msgid "Search %(docstitle)s" -msgstr "" - -#: sphinx/themes/basic/relations.html:11 -msgid "Previous topic" -msgstr "" - -#: sphinx/themes/basic/relations.html:13 -msgid "previous chapter" -msgstr "" - -#: sphinx/themes/basic/relations.html:16 -msgid "Next topic" -msgstr "" - -#: sphinx/themes/basic/relations.html:18 -msgid "next chapter" -msgstr "" - -#: sphinx/themes/basic/search.html:27 -msgid "" -"Please activate JavaScript to enable the search\n" -" functionality." -msgstr "" - -#: sphinx/themes/basic/search.html:32 -msgid "" -"From here you can search these documents. Enter your search\n" -" words into the box below and click \"search\". Note that the search\n" -" function will automatically search for all of the words. Pages\n" -" containing fewer words won't appear in the result list." -msgstr "" - -#: sphinx/themes/basic/search.html:39 -#: sphinx/themes/basic/searchresults.html:17 -msgid "search" -msgstr "" - -#: sphinx/themes/basic/search.html:43 -#: sphinx/themes/basic/searchresults.html:21 -#: sphinx/themes/basic/static/searchtools.js_t:287 -msgid "Search Results" -msgstr "" - -#: sphinx/themes/basic/search.html:45 -#: sphinx/themes/basic/searchresults.html:23 -#: sphinx/themes/basic/static/searchtools.js_t:289 -msgid "" -"Your search did not match any documents. Please make sure that all words are" -" spelled correctly and that you've selected enough categories." -msgstr "" - -#: sphinx/themes/basic/searchbox.html:12 -msgid "Quick search" -msgstr "" - -#: sphinx/themes/basic/sourcelink.html:12 -msgid "This Page" -msgstr "" - -#: sphinx/themes/basic/changes/frameset.html:5 -#: sphinx/themes/basic/changes/versionchanges.html:12 -#, python-format -msgid "Changes in Version %(version)s — %(docstitle)s" -msgstr "" - -#: sphinx/themes/basic/changes/rstsource.html:5 -#, python-format -msgid "%(filename)s — %(docstitle)s" -msgstr "" - -#: sphinx/themes/basic/changes/versionchanges.html:17 -#, python-format -msgid "Automatically generated list of changes in version %(version)s" -msgstr "" - -#: sphinx/themes/basic/changes/versionchanges.html:18 -msgid "Library changes" -msgstr "" - -#: sphinx/themes/basic/changes/versionchanges.html:23 -msgid "C API changes" -msgstr "" - -#: sphinx/themes/basic/changes/versionchanges.html:25 -msgid "Other changes" -msgstr "" - -#: sphinx/themes/basic/static/doctools.js_t:169 sphinx/writers/html.py:708 -#: sphinx/writers/html.py:713 -msgid "Permalink to this headline" -msgstr "" - -#: sphinx/themes/basic/static/doctools.js_t:175 sphinx/writers/html.py:108 -#: sphinx/writers/html.py:117 -msgid "Permalink to this definition" -msgstr "" - -#: sphinx/themes/basic/static/doctools.js_t:208 -msgid "Hide Search Matches" -msgstr "" - -#: sphinx/themes/basic/static/searchtools.js_t:121 -msgid "Searching" -msgstr "" - -#: sphinx/themes/basic/static/searchtools.js_t:126 -msgid "Preparing search..." -msgstr "" - -#: sphinx/themes/basic/static/searchtools.js_t:291 -#, python-format -msgid "Search finished, found %s page(s) matching the search query." -msgstr "" - -#: sphinx/themes/basic/static/searchtools.js_t:344 -msgid ", in " -msgstr "" - -#: sphinx/themes/classic/static/sidebar.js_t:83 -msgid "Expand sidebar" -msgstr "" - -#: sphinx/themes/classic/static/sidebar.js_t:96 -#: sphinx/themes/classic/static/sidebar.js_t:124 -msgid "Collapse sidebar" -msgstr "" - -#: sphinx/themes/haiku/layout.html:24 -msgid "Contents" -msgstr "" - -#: sphinx/writers/html.py:389 -msgid "Permalink to this code" -msgstr "" - -#: sphinx/writers/html.py:393 -msgid "Permalink to this image" -msgstr "" - -#: sphinx/writers/html.py:395 -msgid "Permalink to this toctree" -msgstr "" - -#: sphinx/writers/html.py:717 -msgid "Permalink to this table" -msgstr "" - -#: sphinx/writers/latex.py:380 -msgid "Release" -msgstr "" - -#: sphinx/writers/latex.py:483 -msgid "page" -msgstr "" - -#: sphinx/writers/latex.py:528 -#, python-format -msgid "Unknown configure key: latex_elements[%r] is ignored." -msgstr "" - -#: sphinx/writers/latex.py:1003 sphinx/writers/manpage.py:238 -#: sphinx/writers/texinfo.py:619 -msgid "Footnotes" -msgstr "" - -#: sphinx/writers/latex.py:1112 -msgid "continued from previous page" -msgstr "" - -#: sphinx/writers/latex.py:1118 -msgid "Continued on next page" -msgstr "" - -#: sphinx/writers/manpage.py:287 sphinx/writers/text.py:591 -#, python-format -msgid "[image: %s]" -msgstr "" - -#: sphinx/writers/manpage.py:288 sphinx/writers/text.py:592 -msgid "[image]" -msgstr "" diff --git a/sphinx/locale/is/LC_MESSAGES/sphinx.js b/sphinx/locale/is/LC_MESSAGES/sphinx.js deleted file mode 100644 index a3fdfe10b..000000000 --- a/sphinx/locale/is/LC_MESSAGES/sphinx.js +++ /dev/null @@ -1 +0,0 @@ -Documentation.addTranslations({"locale": "is", "messages": {"%(filename)s — %(docstitle)s": "", "© <a href=\"%(path)s\">Copyright</a> %(copyright)s.": "", "© Copyright %(copyright)s.": "", ", in ": "", "About these documents": "", "Automatically generated list of changes in version %(version)s": "", "C API changes": "", "Changes in Version %(version)s — %(docstitle)s": "", "Collapse sidebar": "", "Complete Table of Contents": "", "Contents": "", "Copyright": "", "Created using <a href=\"http://sphinx-doc.org/\">Sphinx</a> %(sphinx_version)s.": "", "Expand sidebar": "", "From here you can search these documents. Enter your search\n words into the box below and click \"search\". Note that the search\n function will automatically search for all of the words. Pages\n containing fewer words won't appear in the result list.": "", "Full index on one page": "", "General Index": "", "Global Module Index": "", "Go": "", "Hide Search Matches": "", "Index": "", "Index – %(key)s": "", "Index pages by letter": "", "Indices and tables:": "", "Last updated on %(last_updated)s.": "", "Library changes": "", "Navigation": "", "Next topic": "", "Other changes": "", "Overview": "", "Permalink to this definition": "", "Permalink to this headline": "", "Please activate JavaScript to enable the search\n functionality.": "", "Preparing search...": "", "Previous topic": "", "Quick search": "", "Search": "", "Search Page": "", "Search Results": "", "Search finished, found %s page(s) matching the search query.": "", "Search within %(docstitle)s": "", "Searching": "", "Show Source": "", "Table Of Contents": "", "This Page": "", "Welcome! This is": "", "Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories.": "", "all functions, classes, terms": "", "can be huge": "", "last updated": "", "lists all sections and subsections": "", "next chapter": "", "previous chapter": "", "quick access to all modules": "", "search": "", "search this documentation": "", "the documentation for": ""}, "plural_expr": "(n % 10 != 1 || n % 100 == 11)"});
\ No newline at end of file diff --git a/sphinx/locale/is/LC_MESSAGES/sphinx.mo b/sphinx/locale/is/LC_MESSAGES/sphinx.mo Binary files differdeleted file mode 100644 index 20e92b47e..000000000 --- a/sphinx/locale/is/LC_MESSAGES/sphinx.mo +++ /dev/null diff --git a/sphinx/locale/is/LC_MESSAGES/sphinx.po b/sphinx/locale/is/LC_MESSAGES/sphinx.po deleted file mode 100644 index 09f99f4aa..000000000 --- a/sphinx/locale/is/LC_MESSAGES/sphinx.po +++ /dev/null @@ -1,914 +0,0 @@ -# Translations template for Sphinx. -# Copyright (C) 2016 ORGANIZATION -# This file is distributed under the same license as the Sphinx project. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: Sphinx\n" -"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2016-11-06 22:40+0900\n" -"PO-Revision-Date: 2016-11-06 13:53+0000\n" -"Last-Translator: Takeshi KOMIYA <i.tkomiya@gmail.com>\n" -"Language-Team: Icelandic (http://www.transifex.com/sphinx-doc/sphinx-1/language/is/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.3.4\n" -"Language: is\n" -"Plural-Forms: nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);\n" - -#: sphinx/config.py:109 -#, python-format -msgid "Section %s" -msgstr "" - -#: sphinx/config.py:110 -#, python-format -msgid "Fig. %s" -msgstr "" - -#: sphinx/config.py:111 -#, python-format -msgid "Table %s" -msgstr "" - -#: sphinx/config.py:112 -#, python-format -msgid "Listing %s" -msgstr "" - -#: sphinx/roles.py:187 -#, python-format -msgid "Python Enhancement Proposals; PEP %s" -msgstr "" - -#: sphinx/builders/changes.py:75 -msgid "Builtins" -msgstr "" - -#: sphinx/builders/changes.py:77 -msgid "Module level" -msgstr "" - -#: sphinx/builders/html.py:294 sphinx/transforms/__init__.py:46 -#: sphinx/writers/latex.py:393 sphinx/writers/manpage.py:100 -#: sphinx/writers/texinfo.py:221 -#, python-format -msgid "%b %d, %Y" -msgstr "" - -#: sphinx/builders/html.py:315 sphinx/themes/basic/defindex.html:30 -msgid "General Index" -msgstr "" - -#: sphinx/builders/html.py:315 -msgid "index" -msgstr "" - -#: sphinx/builders/html.py:377 -msgid "next" -msgstr "" - -#: sphinx/builders/html.py:386 -msgid "previous" -msgstr "" - -#: sphinx/builders/html.py:1222 -#, python-format -msgid "%s %s documentation" -msgstr "" - -#: sphinx/builders/latex.py:177 sphinx/builders/texinfo.py:199 -msgid " (in " -msgstr "" - -#: sphinx/directives/code.py:140 sphinx/directives/code.py:370 -#, python-format -msgid "Invalid caption: %s" -msgstr "" - -#: sphinx/directives/other.py:149 -msgid "Section author: " -msgstr "" - -#: sphinx/directives/other.py:151 -msgid "Module author: " -msgstr "" - -#: sphinx/directives/other.py:153 -msgid "Code author: " -msgstr "" - -#: sphinx/directives/other.py:155 -msgid "Author: " -msgstr "" - -#: sphinx/domains/__init__.py:277 -#, python-format -msgid "%s %s" -msgstr "" - -#: sphinx/domains/c.py:58 sphinx/domains/cpp.py:4051 -#: sphinx/domains/python.py:149 -msgid "Parameters" -msgstr "" - -#: sphinx/domains/c.py:61 sphinx/domains/cpp.py:4060 -#: sphinx/domains/javascript.py:128 sphinx/domains/python.py:161 -msgid "Returns" -msgstr "" - -#: sphinx/domains/c.py:63 sphinx/domains/javascript.py:130 -#: sphinx/domains/python.py:163 -msgid "Return type" -msgstr "" - -#: sphinx/domains/c.py:177 -#, python-format -msgid "%s (C function)" -msgstr "" - -#: sphinx/domains/c.py:179 -#, python-format -msgid "%s (C member)" -msgstr "" - -#: sphinx/domains/c.py:181 -#, python-format -msgid "%s (C macro)" -msgstr "" - -#: sphinx/domains/c.py:183 -#, python-format -msgid "%s (C type)" -msgstr "" - -#: sphinx/domains/c.py:185 -#, python-format -msgid "%s (C variable)" -msgstr "" - -#: sphinx/domains/c.py:242 sphinx/domains/cpp.py:4418 -#: sphinx/domains/javascript.py:164 sphinx/domains/python.py:614 -msgid "function" -msgstr "" - -#: sphinx/domains/c.py:243 sphinx/domains/cpp.py:4419 -msgid "member" -msgstr "" - -#: sphinx/domains/c.py:244 -msgid "macro" -msgstr "" - -#: sphinx/domains/c.py:245 sphinx/domains/cpp.py:4420 -msgid "type" -msgstr "" - -#: sphinx/domains/c.py:246 -msgid "variable" -msgstr "" - -#: sphinx/domains/cpp.py:4054 -msgid "Template Parameters" -msgstr "" - -#: sphinx/domains/cpp.py:4057 sphinx/domains/javascript.py:125 -msgid "Throws" -msgstr "" - -#: sphinx/domains/cpp.py:4205 -#, python-format -msgid "%s (C++ type)" -msgstr "" - -#: sphinx/domains/cpp.py:4216 -#, python-format -msgid "%s (C++ concept)" -msgstr "" - -#: sphinx/domains/cpp.py:4227 -#, python-format -msgid "%s (C++ member)" -msgstr "" - -#: sphinx/domains/cpp.py:4238 -#, python-format -msgid "%s (C++ function)" -msgstr "" - -#: sphinx/domains/cpp.py:4249 -#, python-format -msgid "%s (C++ class)" -msgstr "" - -#: sphinx/domains/cpp.py:4260 -#, python-format -msgid "%s (C++ enum)" -msgstr "" - -#: sphinx/domains/cpp.py:4281 -#, python-format -msgid "%s (C++ enumerator)" -msgstr "" - -#: sphinx/domains/cpp.py:4417 sphinx/domains/javascript.py:165 -#: sphinx/domains/python.py:616 -msgid "class" -msgstr "" - -#: sphinx/domains/cpp.py:4421 -msgid "concept" -msgstr "" - -#: sphinx/domains/cpp.py:4422 -msgid "enum" -msgstr "" - -#: sphinx/domains/cpp.py:4423 -msgid "enumerator" -msgstr "" - -#: sphinx/domains/javascript.py:106 sphinx/domains/python.py:307 -#, python-format -msgid "%s() (built-in function)" -msgstr "" - -#: sphinx/domains/javascript.py:107 sphinx/domains/python.py:371 -#, python-format -msgid "%s() (%s method)" -msgstr "" - -#: sphinx/domains/javascript.py:109 -#, python-format -msgid "%s() (class)" -msgstr "" - -#: sphinx/domains/javascript.py:111 -#, python-format -msgid "%s (global variable or constant)" -msgstr "" - -#: sphinx/domains/javascript.py:113 sphinx/domains/python.py:409 -#, python-format -msgid "%s (%s attribute)" -msgstr "" - -#: sphinx/domains/javascript.py:122 -msgid "Arguments" -msgstr "" - -#: sphinx/domains/javascript.py:166 sphinx/domains/python.py:615 -msgid "data" -msgstr "" - -#: sphinx/domains/javascript.py:167 sphinx/domains/python.py:621 -msgid "attribute" -msgstr "" - -#: sphinx/domains/python.py:154 -msgid "Variables" -msgstr "" - -#: sphinx/domains/python.py:158 -msgid "Raises" -msgstr "" - -#: sphinx/domains/python.py:308 sphinx/domains/python.py:365 -#: sphinx/domains/python.py:377 sphinx/domains/python.py:390 -#, python-format -msgid "%s() (in module %s)" -msgstr "" - -#: sphinx/domains/python.py:311 -#, python-format -msgid "%s (built-in variable)" -msgstr "" - -#: sphinx/domains/python.py:312 sphinx/domains/python.py:403 -#, python-format -msgid "%s (in module %s)" -msgstr "" - -#: sphinx/domains/python.py:328 -#, python-format -msgid "%s (built-in class)" -msgstr "" - -#: sphinx/domains/python.py:329 -#, python-format -msgid "%s (class in %s)" -msgstr "" - -#: sphinx/domains/python.py:369 -#, python-format -msgid "%s() (%s.%s method)" -msgstr "" - -#: sphinx/domains/python.py:381 -#, python-format -msgid "%s() (%s.%s static method)" -msgstr "" - -#: sphinx/domains/python.py:384 -#, python-format -msgid "%s() (%s static method)" -msgstr "" - -#: sphinx/domains/python.py:394 -#, python-format -msgid "%s() (%s.%s class method)" -msgstr "" - -#: sphinx/domains/python.py:397 -#, python-format -msgid "%s() (%s class method)" -msgstr "" - -#: sphinx/domains/python.py:407 -#, python-format -msgid "%s (%s.%s attribute)" -msgstr "" - -#: sphinx/domains/python.py:488 -#, python-format -msgid "%s (module)" -msgstr "" - -#: sphinx/domains/python.py:545 -msgid "Python Module Index" -msgstr "" - -#: sphinx/domains/python.py:546 -msgid "modules" -msgstr "" - -#: sphinx/domains/python.py:592 -msgid "Deprecated" -msgstr "" - -#: sphinx/domains/python.py:617 sphinx/locale/__init__.py:183 -msgid "exception" -msgstr "" - -#: sphinx/domains/python.py:618 -msgid "method" -msgstr "" - -#: sphinx/domains/python.py:619 -msgid "class method" -msgstr "" - -#: sphinx/domains/python.py:620 -msgid "static method" -msgstr "" - -#: sphinx/domains/python.py:622 sphinx/locale/__init__.py:179 -msgid "module" -msgstr "" - -#: sphinx/domains/python.py:787 -msgid " (deprecated)" -msgstr "" - -#: sphinx/domains/rst.py:55 -#, python-format -msgid "%s (directive)" -msgstr "" - -#: sphinx/domains/rst.py:57 -#, python-format -msgid "%s (role)" -msgstr "" - -#: sphinx/domains/rst.py:106 -msgid "directive" -msgstr "" - -#: sphinx/domains/rst.py:107 -msgid "role" -msgstr "" - -#: sphinx/domains/std.py:72 sphinx/domains/std.py:88 -#, python-format -msgid "environment variable; %s" -msgstr "" - -#: sphinx/domains/std.py:186 -#, python-format -msgid "%scommand line option; %s" -msgstr "" - -#: sphinx/domains/std.py:434 -msgid "glossary term" -msgstr "" - -#: sphinx/domains/std.py:435 -msgid "grammar token" -msgstr "" - -#: sphinx/domains/std.py:436 -msgid "reference label" -msgstr "" - -#: sphinx/domains/std.py:438 -msgid "environment variable" -msgstr "" - -#: sphinx/domains/std.py:439 -msgid "program option" -msgstr "" - -#: sphinx/domains/std.py:473 sphinx/themes/basic/genindex-single.html:30 -#: sphinx/themes/basic/genindex-single.html:55 -#: sphinx/themes/basic/genindex-split.html:11 -#: sphinx/themes/basic/genindex-split.html:14 -#: sphinx/themes/basic/genindex.html:30 sphinx/themes/basic/genindex.html:33 -#: sphinx/themes/basic/genindex.html:66 sphinx/themes/basic/layout.html:135 -#: sphinx/writers/latex.py:381 sphinx/writers/texinfo.py:480 -msgid "Index" -msgstr "" - -#: sphinx/domains/std.py:474 -msgid "Module Index" -msgstr "" - -#: sphinx/domains/std.py:475 sphinx/themes/basic/defindex.html:25 -msgid "Search Page" -msgstr "" - -#: sphinx/environment/managers/indexentries.py:104 -#, python-format -msgid "see %s" -msgstr "" - -#: sphinx/environment/managers/indexentries.py:108 -#, python-format -msgid "see also %s" -msgstr "" - -#: sphinx/environment/managers/indexentries.py:168 -msgid "Symbols" -msgstr "" - -#: sphinx/ext/autodoc.py:1297 -#, python-format -msgid "Bases: %s" -msgstr "" - -#: sphinx/ext/autodoc.py:1350 -#, python-format -msgid "alias of :class:`%s`" -msgstr "" - -#: sphinx/ext/graphviz.py:331 sphinx/ext/graphviz.py:340 -#, python-format -msgid "[graph: %s]" -msgstr "" - -#: sphinx/ext/graphviz.py:333 sphinx/ext/graphviz.py:342 -msgid "[graph]" -msgstr "" - -#: sphinx/ext/imgmath.py:258 sphinx/ext/jsmath.py:39 sphinx/ext/mathjax.py:40 -msgid "Permalink to this equation" -msgstr "" - -#: sphinx/ext/intersphinx.py:337 -#, python-format -msgid "(in %s v%s)" -msgstr "" - -#: sphinx/ext/linkcode.py:69 sphinx/ext/viewcode.py:103 -msgid "[source]" -msgstr "" - -#: sphinx/ext/mathbase.py:92 -#, python-format -msgid "duplicate label of equation %s, other instance in %s" -msgstr "" - -#: sphinx/ext/todo.py:56 -msgid "Todo" -msgstr "" - -#: sphinx/ext/todo.py:134 -msgid "<<original entry>>" -msgstr "" - -#: sphinx/ext/todo.py:137 -#, python-format -msgid "(The <<original entry>> is located in %s, line %d.)" -msgstr "" - -#: sphinx/ext/todo.py:146 -msgid "original entry" -msgstr "" - -#: sphinx/ext/viewcode.py:166 -msgid "[docs]" -msgstr "" - -#: sphinx/ext/viewcode.py:180 -msgid "Module code" -msgstr "" - -#: sphinx/ext/viewcode.py:186 -#, python-format -msgid "<h1>Source code for %s</h1>" -msgstr "" - -#: sphinx/ext/viewcode.py:212 -msgid "Overview: module code" -msgstr "" - -#: sphinx/ext/viewcode.py:213 -msgid "<h1>All modules for which code is available</h1>" -msgstr "" - -#: sphinx/ext/napoleon/__init__.py:313 -msgid "Keyword Arguments" -msgstr "" - -#: sphinx/locale/__init__.py:159 -msgid "Attention" -msgstr "" - -#: sphinx/locale/__init__.py:160 -msgid "Caution" -msgstr "" - -#: sphinx/locale/__init__.py:161 -msgid "Danger" -msgstr "" - -#: sphinx/locale/__init__.py:162 -msgid "Error" -msgstr "" - -#: sphinx/locale/__init__.py:163 -msgid "Hint" -msgstr "" - -#: sphinx/locale/__init__.py:164 -msgid "Important" -msgstr "" - -#: sphinx/locale/__init__.py:165 -msgid "Note" -msgstr "" - -#: sphinx/locale/__init__.py:166 -msgid "See also" -msgstr "" - -#: sphinx/locale/__init__.py:167 -msgid "Tip" -msgstr "" - -#: sphinx/locale/__init__.py:168 -msgid "Warning" -msgstr "" - -#: sphinx/locale/__init__.py:172 -#, python-format -msgid "New in version %s" -msgstr "" - -#: sphinx/locale/__init__.py:173 -#, python-format -msgid "Changed in version %s" -msgstr "" - -#: sphinx/locale/__init__.py:174 -#, python-format -msgid "Deprecated since version %s" -msgstr "" - -#: sphinx/locale/__init__.py:180 -msgid "keyword" -msgstr "" - -#: sphinx/locale/__init__.py:181 -msgid "operator" -msgstr "" - -#: sphinx/locale/__init__.py:182 -msgid "object" -msgstr "" - -#: sphinx/locale/__init__.py:184 -msgid "statement" -msgstr "" - -#: sphinx/locale/__init__.py:185 -msgid "built-in function" -msgstr "" - -#: sphinx/themes/agogo/layout.html:46 sphinx/themes/basic/globaltoc.html:10 -#: sphinx/themes/basic/localtoc.html:11 sphinx/themes/scrolls/layout.html:35 -msgid "Table Of Contents" -msgstr "" - -#: sphinx/themes/agogo/layout.html:51 sphinx/themes/basic/layout.html:138 -#: sphinx/themes/basic/search.html:11 sphinx/themes/basic/search.html:23 -#: sphinx/themes/basic/searchresults.html:10 -msgid "Search" -msgstr "" - -#: sphinx/themes/agogo/layout.html:54 sphinx/themes/basic/searchbox.html:15 -msgid "Go" -msgstr "" - -#: sphinx/themes/agogo/layout.html:81 sphinx/themes/basic/sourcelink.html:15 -msgid "Show Source" -msgstr "" - -#: sphinx/themes/basic/defindex.html:11 -msgid "Overview" -msgstr "" - -#: sphinx/themes/basic/defindex.html:15 -msgid "Welcome! This is" -msgstr "" - -#: sphinx/themes/basic/defindex.html:16 -msgid "the documentation for" -msgstr "" - -#: sphinx/themes/basic/defindex.html:17 -msgid "last updated" -msgstr "" - -#: sphinx/themes/basic/defindex.html:20 -msgid "Indices and tables:" -msgstr "" - -#: sphinx/themes/basic/defindex.html:23 -msgid "Complete Table of Contents" -msgstr "" - -#: sphinx/themes/basic/defindex.html:24 -msgid "lists all sections and subsections" -msgstr "" - -#: sphinx/themes/basic/defindex.html:26 -msgid "search this documentation" -msgstr "" - -#: sphinx/themes/basic/defindex.html:28 -msgid "Global Module Index" -msgstr "" - -#: sphinx/themes/basic/defindex.html:29 -msgid "quick access to all modules" -msgstr "" - -#: sphinx/themes/basic/defindex.html:31 -msgid "all functions, classes, terms" -msgstr "" - -#: sphinx/themes/basic/genindex-single.html:33 -#, python-format -msgid "Index – %(key)s" -msgstr "" - -#: sphinx/themes/basic/genindex-single.html:61 -#: sphinx/themes/basic/genindex-split.html:24 -#: sphinx/themes/basic/genindex-split.html:38 -#: sphinx/themes/basic/genindex.html:72 -msgid "Full index on one page" -msgstr "" - -#: sphinx/themes/basic/genindex-split.html:16 -msgid "Index pages by letter" -msgstr "" - -#: sphinx/themes/basic/genindex-split.html:25 -msgid "can be huge" -msgstr "" - -#: sphinx/themes/basic/layout.html:29 -msgid "Navigation" -msgstr "" - -#: sphinx/themes/basic/layout.html:123 -#, python-format -msgid "Search within %(docstitle)s" -msgstr "" - -#: sphinx/themes/basic/layout.html:132 -msgid "About these documents" -msgstr "" - -#: sphinx/themes/basic/layout.html:141 -msgid "Copyright" -msgstr "" - -#: sphinx/themes/basic/layout.html:186 -#, python-format -msgid "© <a href=\"%(path)s\">Copyright</a> %(copyright)s." -msgstr "" - -#: sphinx/themes/basic/layout.html:188 -#, python-format -msgid "© Copyright %(copyright)s." -msgstr "" - -#: sphinx/themes/basic/layout.html:192 -#, python-format -msgid "Last updated on %(last_updated)s." -msgstr "" - -#: sphinx/themes/basic/layout.html:195 -#, python-format -msgid "" -"Created using <a href=\"http://sphinx-doc.org/\">Sphinx</a> " -"%(sphinx_version)s." -msgstr "" - -#: sphinx/themes/basic/opensearch.xml:4 -#, python-format -msgid "Search %(docstitle)s" -msgstr "" - -#: sphinx/themes/basic/relations.html:11 -msgid "Previous topic" -msgstr "" - -#: sphinx/themes/basic/relations.html:13 -msgid "previous chapter" -msgstr "" - -#: sphinx/themes/basic/relations.html:16 -msgid "Next topic" -msgstr "" - -#: sphinx/themes/basic/relations.html:18 -msgid "next chapter" -msgstr "" - -#: sphinx/themes/basic/search.html:27 -msgid "" -"Please activate JavaScript to enable the search\n" -" functionality." -msgstr "" - -#: sphinx/themes/basic/search.html:32 -msgid "" -"From here you can search these documents. Enter your search\n" -" words into the box below and click \"search\". Note that the search\n" -" function will automatically search for all of the words. Pages\n" -" containing fewer words won't appear in the result list." -msgstr "" - -#: sphinx/themes/basic/search.html:39 -#: sphinx/themes/basic/searchresults.html:17 -msgid "search" -msgstr "" - -#: sphinx/themes/basic/search.html:43 -#: sphinx/themes/basic/searchresults.html:21 -#: sphinx/themes/basic/static/searchtools.js_t:287 -msgid "Search Results" -msgstr "" - -#: sphinx/themes/basic/search.html:45 -#: sphinx/themes/basic/searchresults.html:23 -#: sphinx/themes/basic/static/searchtools.js_t:289 -msgid "" -"Your search did not match any documents. Please make sure that all words are" -" spelled correctly and that you've selected enough categories." -msgstr "" - -#: sphinx/themes/basic/searchbox.html:12 -msgid "Quick search" -msgstr "" - -#: sphinx/themes/basic/sourcelink.html:12 -msgid "This Page" -msgstr "" - -#: sphinx/themes/basic/changes/frameset.html:5 -#: sphinx/themes/basic/changes/versionchanges.html:12 -#, python-format -msgid "Changes in Version %(version)s — %(docstitle)s" -msgstr "" - -#: sphinx/themes/basic/changes/rstsource.html:5 -#, python-format -msgid "%(filename)s — %(docstitle)s" -msgstr "" - -#: sphinx/themes/basic/changes/versionchanges.html:17 -#, python-format -msgid "Automatically generated list of changes in version %(version)s" -msgstr "" - -#: sphinx/themes/basic/changes/versionchanges.html:18 -msgid "Library changes" -msgstr "" - -#: sphinx/themes/basic/changes/versionchanges.html:23 -msgid "C API changes" -msgstr "" - -#: sphinx/themes/basic/changes/versionchanges.html:25 -msgid "Other changes" -msgstr "" - -#: sphinx/themes/basic/static/doctools.js_t:169 sphinx/writers/html.py:708 -#: sphinx/writers/html.py:713 -msgid "Permalink to this headline" -msgstr "" - -#: sphinx/themes/basic/static/doctools.js_t:175 sphinx/writers/html.py:108 -#: sphinx/writers/html.py:117 -msgid "Permalink to this definition" -msgstr "" - -#: sphinx/themes/basic/static/doctools.js_t:208 -msgid "Hide Search Matches" -msgstr "" - -#: sphinx/themes/basic/static/searchtools.js_t:121 -msgid "Searching" -msgstr "" - -#: sphinx/themes/basic/static/searchtools.js_t:126 -msgid "Preparing search..." -msgstr "" - -#: sphinx/themes/basic/static/searchtools.js_t:291 -#, python-format -msgid "Search finished, found %s page(s) matching the search query." -msgstr "" - -#: sphinx/themes/basic/static/searchtools.js_t:344 -msgid ", in " -msgstr "" - -#: sphinx/themes/classic/static/sidebar.js_t:83 -msgid "Expand sidebar" -msgstr "" - -#: sphinx/themes/classic/static/sidebar.js_t:96 -#: sphinx/themes/classic/static/sidebar.js_t:124 -msgid "Collapse sidebar" -msgstr "" - -#: sphinx/themes/haiku/layout.html:24 -msgid "Contents" -msgstr "" - -#: sphinx/writers/html.py:389 -msgid "Permalink to this code" -msgstr "" - -#: sphinx/writers/html.py:393 -msgid "Permalink to this image" -msgstr "" - -#: sphinx/writers/html.py:395 -msgid "Permalink to this toctree" -msgstr "" - -#: sphinx/writers/html.py:717 -msgid "Permalink to this table" -msgstr "" - -#: sphinx/writers/latex.py:380 -msgid "Release" -msgstr "" - -#: sphinx/writers/latex.py:483 -msgid "page" -msgstr "" - -#: sphinx/writers/latex.py:528 -#, python-format -msgid "Unknown configure key: latex_elements[%r] is ignored." -msgstr "" - -#: sphinx/writers/latex.py:1003 sphinx/writers/manpage.py:238 -#: sphinx/writers/texinfo.py:619 -msgid "Footnotes" -msgstr "" - -#: sphinx/writers/latex.py:1112 -msgid "continued from previous page" -msgstr "" - -#: sphinx/writers/latex.py:1118 -msgid "Continued on next page" -msgstr "" - -#: sphinx/writers/manpage.py:287 sphinx/writers/text.py:591 -#, python-format -msgid "[image: %s]" -msgstr "" - -#: sphinx/writers/manpage.py:288 sphinx/writers/text.py:592 -msgid "[image]" -msgstr "" diff --git a/sphinx/locale/it_IT/LC_MESSAGES/sphinx.js b/sphinx/locale/it_IT/LC_MESSAGES/sphinx.js deleted file mode 100644 index 8c89bc811..000000000 --- a/sphinx/locale/it_IT/LC_MESSAGES/sphinx.js +++ /dev/null @@ -1 +0,0 @@ -Documentation.addTranslations({"locale": "it_IT", "messages": {"%(filename)s — %(docstitle)s": "", "© <a href=\"%(path)s\">Copyright</a> %(copyright)s.": "", "© Copyright %(copyright)s.": "", ", in ": "", "About these documents": "", "Automatically generated list of changes in version %(version)s": "", "C API changes": "", "Changes in Version %(version)s — %(docstitle)s": "", "Collapse sidebar": "", "Complete Table of Contents": "", "Contents": "", "Copyright": "", "Created using <a href=\"http://sphinx-doc.org/\">Sphinx</a> %(sphinx_version)s.": "", "Expand sidebar": "", "From here you can search these documents. Enter your search\n words into the box below and click \"search\". Note that the search\n function will automatically search for all of the words. Pages\n containing fewer words won't appear in the result list.": "", "Full index on one page": "", "General Index": "", "Global Module Index": "", "Go": "", "Hide Search Matches": "", "Index": "", "Index – %(key)s": "", "Index pages by letter": "", "Indices and tables:": "", "Last updated on %(last_updated)s.": "", "Library changes": "", "Navigation": "", "Next topic": "", "Other changes": "", "Overview": "", "Permalink to this definition": "", "Permalink to this headline": "", "Please activate JavaScript to enable the search\n functionality.": "", "Preparing search...": "", "Previous topic": "", "Quick search": "", "Search": "", "Search Page": "", "Search Results": "", "Search finished, found %s page(s) matching the search query.": "", "Search within %(docstitle)s": "", "Searching": "", "Show Source": "", "Table Of Contents": "", "This Page": "", "Welcome! This is": "", "Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories.": "", "all functions, classes, terms": "", "can be huge": "", "last updated": "", "lists all sections and subsections": "", "next chapter": "", "previous chapter": "", "quick access to all modules": "", "search": "", "search this documentation": "", "the documentation for": ""}, "plural_expr": "(n != 1)"});
\ No newline at end of file diff --git a/sphinx/locale/it_IT/LC_MESSAGES/sphinx.mo b/sphinx/locale/it_IT/LC_MESSAGES/sphinx.mo Binary files differdeleted file mode 100644 index 0e90f7375..000000000 --- a/sphinx/locale/it_IT/LC_MESSAGES/sphinx.mo +++ /dev/null diff --git a/sphinx/locale/it_IT/LC_MESSAGES/sphinx.po b/sphinx/locale/it_IT/LC_MESSAGES/sphinx.po deleted file mode 100644 index 7e2891b7d..000000000 --- a/sphinx/locale/it_IT/LC_MESSAGES/sphinx.po +++ /dev/null @@ -1,914 +0,0 @@ -# Translations template for Sphinx. -# Copyright (C) 2016 ORGANIZATION -# This file is distributed under the same license as the Sphinx project. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: Sphinx\n" -"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2016-11-06 22:40+0900\n" -"PO-Revision-Date: 2013-04-02 08:44+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Italian (Italy) (http://www.transifex.com/sphinx-doc/sphinx-1/language/it_IT/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.3.4\n" -"Language: it_IT\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: sphinx/config.py:109 -#, python-format -msgid "Section %s" -msgstr "" - -#: sphinx/config.py:110 -#, python-format -msgid "Fig. %s" -msgstr "" - -#: sphinx/config.py:111 -#, python-format -msgid "Table %s" -msgstr "" - -#: sphinx/config.py:112 -#, python-format -msgid "Listing %s" -msgstr "" - -#: sphinx/roles.py:187 -#, python-format -msgid "Python Enhancement Proposals; PEP %s" -msgstr "" - -#: sphinx/builders/changes.py:75 -msgid "Builtins" -msgstr "" - -#: sphinx/builders/changes.py:77 -msgid "Module level" -msgstr "" - -#: sphinx/builders/html.py:294 sphinx/transforms/__init__.py:46 -#: sphinx/writers/latex.py:393 sphinx/writers/manpage.py:100 -#: sphinx/writers/texinfo.py:221 -#, python-format -msgid "%b %d, %Y" -msgstr "" - -#: sphinx/builders/html.py:315 sphinx/themes/basic/defindex.html:30 -msgid "General Index" -msgstr "" - -#: sphinx/builders/html.py:315 -msgid "index" -msgstr "" - -#: sphinx/builders/html.py:377 -msgid "next" -msgstr "" - -#: sphinx/builders/html.py:386 -msgid "previous" -msgstr "" - -#: sphinx/builders/html.py:1222 -#, python-format -msgid "%s %s documentation" -msgstr "" - -#: sphinx/builders/latex.py:177 sphinx/builders/texinfo.py:199 -msgid " (in " -msgstr "" - -#: sphinx/directives/code.py:140 sphinx/directives/code.py:370 -#, python-format -msgid "Invalid caption: %s" -msgstr "" - -#: sphinx/directives/other.py:149 -msgid "Section author: " -msgstr "" - -#: sphinx/directives/other.py:151 -msgid "Module author: " -msgstr "" - -#: sphinx/directives/other.py:153 -msgid "Code author: " -msgstr "" - -#: sphinx/directives/other.py:155 -msgid "Author: " -msgstr "" - -#: sphinx/domains/__init__.py:277 -#, python-format -msgid "%s %s" -msgstr "" - -#: sphinx/domains/c.py:58 sphinx/domains/cpp.py:4051 -#: sphinx/domains/python.py:149 -msgid "Parameters" -msgstr "" - -#: sphinx/domains/c.py:61 sphinx/domains/cpp.py:4060 -#: sphinx/domains/javascript.py:128 sphinx/domains/python.py:161 -msgid "Returns" -msgstr "" - -#: sphinx/domains/c.py:63 sphinx/domains/javascript.py:130 -#: sphinx/domains/python.py:163 -msgid "Return type" -msgstr "" - -#: sphinx/domains/c.py:177 -#, python-format -msgid "%s (C function)" -msgstr "" - -#: sphinx/domains/c.py:179 -#, python-format -msgid "%s (C member)" -msgstr "" - -#: sphinx/domains/c.py:181 -#, python-format -msgid "%s (C macro)" -msgstr "" - -#: sphinx/domains/c.py:183 -#, python-format -msgid "%s (C type)" -msgstr "" - -#: sphinx/domains/c.py:185 -#, python-format -msgid "%s (C variable)" -msgstr "" - -#: sphinx/domains/c.py:242 sphinx/domains/cpp.py:4418 -#: sphinx/domains/javascript.py:164 sphinx/domains/python.py:614 -msgid "function" -msgstr "" - -#: sphinx/domains/c.py:243 sphinx/domains/cpp.py:4419 -msgid "member" -msgstr "" - -#: sphinx/domains/c.py:244 -msgid "macro" -msgstr "" - -#: sphinx/domains/c.py:245 sphinx/domains/cpp.py:4420 -msgid "type" -msgstr "" - -#: sphinx/domains/c.py:246 -msgid "variable" -msgstr "" - -#: sphinx/domains/cpp.py:4054 -msgid "Template Parameters" -msgstr "" - -#: sphinx/domains/cpp.py:4057 sphinx/domains/javascript.py:125 -msgid "Throws" -msgstr "" - -#: sphinx/domains/cpp.py:4205 -#, python-format -msgid "%s (C++ type)" -msgstr "" - -#: sphinx/domains/cpp.py:4216 -#, python-format -msgid "%s (C++ concept)" -msgstr "" - -#: sphinx/domains/cpp.py:4227 -#, python-format -msgid "%s (C++ member)" -msgstr "" - -#: sphinx/domains/cpp.py:4238 -#, python-format -msgid "%s (C++ function)" -msgstr "" - -#: sphinx/domains/cpp.py:4249 -#, python-format -msgid "%s (C++ class)" -msgstr "" - -#: sphinx/domains/cpp.py:4260 -#, python-format -msgid "%s (C++ enum)" -msgstr "" - -#: sphinx/domains/cpp.py:4281 -#, python-format -msgid "%s (C++ enumerator)" -msgstr "" - -#: sphinx/domains/cpp.py:4417 sphinx/domains/javascript.py:165 -#: sphinx/domains/python.py:616 -msgid "class" -msgstr "" - -#: sphinx/domains/cpp.py:4421 -msgid "concept" -msgstr "" - -#: sphinx/domains/cpp.py:4422 -msgid "enum" -msgstr "" - -#: sphinx/domains/cpp.py:4423 -msgid "enumerator" -msgstr "" - -#: sphinx/domains/javascript.py:106 sphinx/domains/python.py:307 -#, python-format -msgid "%s() (built-in function)" -msgstr "" - -#: sphinx/domains/javascript.py:107 sphinx/domains/python.py:371 -#, python-format -msgid "%s() (%s method)" -msgstr "" - -#: sphinx/domains/javascript.py:109 -#, python-format -msgid "%s() (class)" -msgstr "" - -#: sphinx/domains/javascript.py:111 -#, python-format -msgid "%s (global variable or constant)" -msgstr "" - -#: sphinx/domains/javascript.py:113 sphinx/domains/python.py:409 -#, python-format -msgid "%s (%s attribute)" -msgstr "" - -#: sphinx/domains/javascript.py:122 -msgid "Arguments" -msgstr "" - -#: sphinx/domains/javascript.py:166 sphinx/domains/python.py:615 -msgid "data" -msgstr "" - -#: sphinx/domains/javascript.py:167 sphinx/domains/python.py:621 -msgid "attribute" -msgstr "" - -#: sphinx/domains/python.py:154 -msgid "Variables" -msgstr "" - -#: sphinx/domains/python.py:158 -msgid "Raises" -msgstr "" - -#: sphinx/domains/python.py:308 sphinx/domains/python.py:365 -#: sphinx/domains/python.py:377 sphinx/domains/python.py:390 -#, python-format -msgid "%s() (in module %s)" -msgstr "" - -#: sphinx/domains/python.py:311 -#, python-format -msgid "%s (built-in variable)" -msgstr "" - -#: sphinx/domains/python.py:312 sphinx/domains/python.py:403 -#, python-format -msgid "%s (in module %s)" -msgstr "" - -#: sphinx/domains/python.py:328 -#, python-format -msgid "%s (built-in class)" -msgstr "" - -#: sphinx/domains/python.py:329 -#, python-format -msgid "%s (class in %s)" -msgstr "" - -#: sphinx/domains/python.py:369 -#, python-format -msgid "%s() (%s.%s method)" -msgstr "" - -#: sphinx/domains/python.py:381 -#, python-format -msgid "%s() (%s.%s static method)" -msgstr "" - -#: sphinx/domains/python.py:384 -#, python-format -msgid "%s() (%s static method)" -msgstr "" - -#: sphinx/domains/python.py:394 -#, python-format -msgid "%s() (%s.%s class method)" -msgstr "" - -#: sphinx/domains/python.py:397 -#, python-format -msgid "%s() (%s class method)" -msgstr "" - -#: sphinx/domains/python.py:407 -#, python-format -msgid "%s (%s.%s attribute)" -msgstr "" - -#: sphinx/domains/python.py:488 -#, python-format -msgid "%s (module)" -msgstr "" - -#: sphinx/domains/python.py:545 -msgid "Python Module Index" -msgstr "" - -#: sphinx/domains/python.py:546 -msgid "modules" -msgstr "" - -#: sphinx/domains/python.py:592 -msgid "Deprecated" -msgstr "" - -#: sphinx/domains/python.py:617 sphinx/locale/__init__.py:183 -msgid "exception" -msgstr "" - -#: sphinx/domains/python.py:618 -msgid "method" -msgstr "" - -#: sphinx/domains/python.py:619 -msgid "class method" -msgstr "" - -#: sphinx/domains/python.py:620 -msgid "static method" -msgstr "" - -#: sphinx/domains/python.py:622 sphinx/locale/__init__.py:179 -msgid "module" -msgstr "" - -#: sphinx/domains/python.py:787 -msgid " (deprecated)" -msgstr "" - -#: sphinx/domains/rst.py:55 -#, python-format -msgid "%s (directive)" -msgstr "" - -#: sphinx/domains/rst.py:57 -#, python-format -msgid "%s (role)" -msgstr "" - -#: sphinx/domains/rst.py:106 -msgid "directive" -msgstr "" - -#: sphinx/domains/rst.py:107 -msgid "role" -msgstr "" - -#: sphinx/domains/std.py:72 sphinx/domains/std.py:88 -#, python-format -msgid "environment variable; %s" -msgstr "" - -#: sphinx/domains/std.py:186 -#, python-format -msgid "%scommand line option; %s" -msgstr "" - -#: sphinx/domains/std.py:434 -msgid "glossary term" -msgstr "" - -#: sphinx/domains/std.py:435 -msgid "grammar token" -msgstr "" - -#: sphinx/domains/std.py:436 -msgid "reference label" -msgstr "" - -#: sphinx/domains/std.py:438 -msgid "environment variable" -msgstr "" - -#: sphinx/domains/std.py:439 -msgid "program option" -msgstr "" - -#: sphinx/domains/std.py:473 sphinx/themes/basic/genindex-single.html:30 -#: sphinx/themes/basic/genindex-single.html:55 -#: sphinx/themes/basic/genindex-split.html:11 -#: sphinx/themes/basic/genindex-split.html:14 -#: sphinx/themes/basic/genindex.html:30 sphinx/themes/basic/genindex.html:33 -#: sphinx/themes/basic/genindex.html:66 sphinx/themes/basic/layout.html:135 -#: sphinx/writers/latex.py:381 sphinx/writers/texinfo.py:480 -msgid "Index" -msgstr "" - -#: sphinx/domains/std.py:474 -msgid "Module Index" -msgstr "" - -#: sphinx/domains/std.py:475 sphinx/themes/basic/defindex.html:25 -msgid "Search Page" -msgstr "" - -#: sphinx/environment/managers/indexentries.py:104 -#, python-format -msgid "see %s" -msgstr "" - -#: sphinx/environment/managers/indexentries.py:108 -#, python-format -msgid "see also %s" -msgstr "" - -#: sphinx/environment/managers/indexentries.py:168 -msgid "Symbols" -msgstr "" - -#: sphinx/ext/autodoc.py:1297 -#, python-format -msgid "Bases: %s" -msgstr "" - -#: sphinx/ext/autodoc.py:1350 -#, python-format -msgid "alias of :class:`%s`" -msgstr "" - -#: sphinx/ext/graphviz.py:331 sphinx/ext/graphviz.py:340 -#, python-format -msgid "[graph: %s]" -msgstr "" - -#: sphinx/ext/graphviz.py:333 sphinx/ext/graphviz.py:342 -msgid "[graph]" -msgstr "" - -#: sphinx/ext/imgmath.py:258 sphinx/ext/jsmath.py:39 sphinx/ext/mathjax.py:40 -msgid "Permalink to this equation" -msgstr "" - -#: sphinx/ext/intersphinx.py:337 -#, python-format -msgid "(in %s v%s)" -msgstr "" - -#: sphinx/ext/linkcode.py:69 sphinx/ext/viewcode.py:103 -msgid "[source]" -msgstr "" - -#: sphinx/ext/mathbase.py:92 -#, python-format -msgid "duplicate label of equation %s, other instance in %s" -msgstr "" - -#: sphinx/ext/todo.py:56 -msgid "Todo" -msgstr "" - -#: sphinx/ext/todo.py:134 -msgid "<<original entry>>" -msgstr "" - -#: sphinx/ext/todo.py:137 -#, python-format -msgid "(The <<original entry>> is located in %s, line %d.)" -msgstr "" - -#: sphinx/ext/todo.py:146 -msgid "original entry" -msgstr "" - -#: sphinx/ext/viewcode.py:166 -msgid "[docs]" -msgstr "" - -#: sphinx/ext/viewcode.py:180 -msgid "Module code" -msgstr "" - -#: sphinx/ext/viewcode.py:186 -#, python-format -msgid "<h1>Source code for %s</h1>" -msgstr "" - -#: sphinx/ext/viewcode.py:212 -msgid "Overview: module code" -msgstr "" - -#: sphinx/ext/viewcode.py:213 -msgid "<h1>All modules for which code is available</h1>" -msgstr "" - -#: sphinx/ext/napoleon/__init__.py:313 -msgid "Keyword Arguments" -msgstr "" - -#: sphinx/locale/__init__.py:159 -msgid "Attention" -msgstr "" - -#: sphinx/locale/__init__.py:160 -msgid "Caution" -msgstr "" - -#: sphinx/locale/__init__.py:161 -msgid "Danger" -msgstr "" - -#: sphinx/locale/__init__.py:162 -msgid "Error" -msgstr "" - -#: sphinx/locale/__init__.py:163 -msgid "Hint" -msgstr "" - -#: sphinx/locale/__init__.py:164 -msgid "Important" -msgstr "" - -#: sphinx/locale/__init__.py:165 -msgid "Note" -msgstr "" - -#: sphinx/locale/__init__.py:166 -msgid "See also" -msgstr "" - -#: sphinx/locale/__init__.py:167 -msgid "Tip" -msgstr "" - -#: sphinx/locale/__init__.py:168 -msgid "Warning" -msgstr "" - -#: sphinx/locale/__init__.py:172 -#, python-format -msgid "New in version %s" -msgstr "" - -#: sphinx/locale/__init__.py:173 -#, python-format -msgid "Changed in version %s" -msgstr "" - -#: sphinx/locale/__init__.py:174 -#, python-format -msgid "Deprecated since version %s" -msgstr "" - -#: sphinx/locale/__init__.py:180 -msgid "keyword" -msgstr "" - -#: sphinx/locale/__init__.py:181 -msgid "operator" -msgstr "" - -#: sphinx/locale/__init__.py:182 -msgid "object" -msgstr "" - -#: sphinx/locale/__init__.py:184 -msgid "statement" -msgstr "" - -#: sphinx/locale/__init__.py:185 -msgid "built-in function" -msgstr "" - -#: sphinx/themes/agogo/layout.html:46 sphinx/themes/basic/globaltoc.html:10 -#: sphinx/themes/basic/localtoc.html:11 sphinx/themes/scrolls/layout.html:35 -msgid "Table Of Contents" -msgstr "" - -#: sphinx/themes/agogo/layout.html:51 sphinx/themes/basic/layout.html:138 -#: sphinx/themes/basic/search.html:11 sphinx/themes/basic/search.html:23 -#: sphinx/themes/basic/searchresults.html:10 -msgid "Search" -msgstr "" - -#: sphinx/themes/agogo/layout.html:54 sphinx/themes/basic/searchbox.html:15 -msgid "Go" -msgstr "" - -#: sphinx/themes/agogo/layout.html:81 sphinx/themes/basic/sourcelink.html:15 -msgid "Show Source" -msgstr "" - -#: sphinx/themes/basic/defindex.html:11 -msgid "Overview" -msgstr "" - -#: sphinx/themes/basic/defindex.html:15 -msgid "Welcome! This is" -msgstr "" - -#: sphinx/themes/basic/defindex.html:16 -msgid "the documentation for" -msgstr "" - -#: sphinx/themes/basic/defindex.html:17 -msgid "last updated" -msgstr "" - -#: sphinx/themes/basic/defindex.html:20 -msgid "Indices and tables:" -msgstr "" - -#: sphinx/themes/basic/defindex.html:23 -msgid "Complete Table of Contents" -msgstr "" - -#: sphinx/themes/basic/defindex.html:24 -msgid "lists all sections and subsections" -msgstr "" - -#: sphinx/themes/basic/defindex.html:26 -msgid "search this documentation" -msgstr "" - -#: sphinx/themes/basic/defindex.html:28 -msgid "Global Module Index" -msgstr "" - -#: sphinx/themes/basic/defindex.html:29 -msgid "quick access to all modules" -msgstr "" - -#: sphinx/themes/basic/defindex.html:31 -msgid "all functions, classes, terms" -msgstr "" - -#: sphinx/themes/basic/genindex-single.html:33 -#, python-format -msgid "Index – %(key)s" -msgstr "" - -#: sphinx/themes/basic/genindex-single.html:61 -#: sphinx/themes/basic/genindex-split.html:24 -#: sphinx/themes/basic/genindex-split.html:38 -#: sphinx/themes/basic/genindex.html:72 -msgid "Full index on one page" -msgstr "" - -#: sphinx/themes/basic/genindex-split.html:16 -msgid "Index pages by letter" -msgstr "" - -#: sphinx/themes/basic/genindex-split.html:25 -msgid "can be huge" -msgstr "" - -#: sphinx/themes/basic/layout.html:29 -msgid "Navigation" -msgstr "" - -#: sphinx/themes/basic/layout.html:123 -#, python-format -msgid "Search within %(docstitle)s" -msgstr "" - -#: sphinx/themes/basic/layout.html:132 -msgid "About these documents" -msgstr "" - -#: sphinx/themes/basic/layout.html:141 -msgid "Copyright" -msgstr "" - -#: sphinx/themes/basic/layout.html:186 -#, python-format -msgid "© <a href=\"%(path)s\">Copyright</a> %(copyright)s." -msgstr "" - -#: sphinx/themes/basic/layout.html:188 -#, python-format -msgid "© Copyright %(copyright)s." -msgstr "" - -#: sphinx/themes/basic/layout.html:192 -#, python-format -msgid "Last updated on %(last_updated)s." -msgstr "" - -#: sphinx/themes/basic/layout.html:195 -#, python-format -msgid "" -"Created using <a href=\"http://sphinx-doc.org/\">Sphinx</a> " -"%(sphinx_version)s." -msgstr "" - -#: sphinx/themes/basic/opensearch.xml:4 -#, python-format -msgid "Search %(docstitle)s" -msgstr "" - -#: sphinx/themes/basic/relations.html:11 -msgid "Previous topic" -msgstr "" - -#: sphinx/themes/basic/relations.html:13 -msgid "previous chapter" -msgstr "" - -#: sphinx/themes/basic/relations.html:16 -msgid "Next topic" -msgstr "" - -#: sphinx/themes/basic/relations.html:18 -msgid "next chapter" -msgstr "" - -#: sphinx/themes/basic/search.html:27 -msgid "" -"Please activate JavaScript to enable the search\n" -" functionality." -msgstr "" - -#: sphinx/themes/basic/search.html:32 -msgid "" -"From here you can search these documents. Enter your search\n" -" words into the box below and click \"search\". Note that the search\n" -" function will automatically search for all of the words. Pages\n" -" containing fewer words won't appear in the result list." -msgstr "" - -#: sphinx/themes/basic/search.html:39 -#: sphinx/themes/basic/searchresults.html:17 -msgid "search" -msgstr "" - -#: sphinx/themes/basic/search.html:43 -#: sphinx/themes/basic/searchresults.html:21 -#: sphinx/themes/basic/static/searchtools.js_t:287 -msgid "Search Results" -msgstr "" - -#: sphinx/themes/basic/search.html:45 -#: sphinx/themes/basic/searchresults.html:23 -#: sphinx/themes/basic/static/searchtools.js_t:289 -msgid "" -"Your search did not match any documents. Please make sure that all words are" -" spelled correctly and that you've selected enough categories." -msgstr "" - -#: sphinx/themes/basic/searchbox.html:12 -msgid "Quick search" -msgstr "" - -#: sphinx/themes/basic/sourcelink.html:12 -msgid "This Page" -msgstr "" - -#: sphinx/themes/basic/changes/frameset.html:5 -#: sphinx/themes/basic/changes/versionchanges.html:12 -#, python-format -msgid "Changes in Version %(version)s — %(docstitle)s" -msgstr "" - -#: sphinx/themes/basic/changes/rstsource.html:5 -#, python-format -msgid "%(filename)s — %(docstitle)s" -msgstr "" - -#: sphinx/themes/basic/changes/versionchanges.html:17 -#, python-format -msgid "Automatically generated list of changes in version %(version)s" -msgstr "" - -#: sphinx/themes/basic/changes/versionchanges.html:18 -msgid "Library changes" -msgstr "" - -#: sphinx/themes/basic/changes/versionchanges.html:23 -msgid "C API changes" -msgstr "" - -#: sphinx/themes/basic/changes/versionchanges.html:25 -msgid "Other changes" -msgstr "" - -#: sphinx/themes/basic/static/doctools.js_t:169 sphinx/writers/html.py:708 -#: sphinx/writers/html.py:713 -msgid "Permalink to this headline" -msgstr "" - -#: sphinx/themes/basic/static/doctools.js_t:175 sphinx/writers/html.py:108 -#: sphinx/writers/html.py:117 -msgid "Permalink to this definition" -msgstr "" - -#: sphinx/themes/basic/static/doctools.js_t:208 -msgid "Hide Search Matches" -msgstr "" - -#: sphinx/themes/basic/static/searchtools.js_t:121 -msgid "Searching" -msgstr "" - -#: sphinx/themes/basic/static/searchtools.js_t:126 -msgid "Preparing search..." -msgstr "" - -#: sphinx/themes/basic/static/searchtools.js_t:291 -#, python-format -msgid "Search finished, found %s page(s) matching the search query." -msgstr "" - -#: sphinx/themes/basic/static/searchtools.js_t:344 -msgid ", in " -msgstr "" - -#: sphinx/themes/classic/static/sidebar.js_t:83 -msgid "Expand sidebar" -msgstr "" - -#: sphinx/themes/classic/static/sidebar.js_t:96 -#: sphinx/themes/classic/static/sidebar.js_t:124 -msgid "Collapse sidebar" -msgstr "" - -#: sphinx/themes/haiku/layout.html:24 -msgid "Contents" -msgstr "" - -#: sphinx/writers/html.py:389 -msgid "Permalink to this code" -msgstr "" - -#: sphinx/writers/html.py:393 -msgid "Permalink to this image" -msgstr "" - -#: sphinx/writers/html.py:395 -msgid "Permalink to this toctree" -msgstr "" - -#: sphinx/writers/html.py:717 -msgid "Permalink to this table" -msgstr "" - -#: sphinx/writers/latex.py:380 -msgid "Release" -msgstr "" - -#: sphinx/writers/latex.py:483 -msgid "page" -msgstr "" - -#: sphinx/writers/latex.py:528 -#, python-format -msgid "Unknown configure key: latex_elements[%r] is ignored." -msgstr "" - -#: sphinx/writers/latex.py:1003 sphinx/writers/manpage.py:238 -#: sphinx/writers/texinfo.py:619 -msgid "Footnotes" -msgstr "" - -#: sphinx/writers/latex.py:1112 -msgid "continued from previous page" -msgstr "" - -#: sphinx/writers/latex.py:1118 -msgid "Continued on next page" -msgstr "" - -#: sphinx/writers/manpage.py:287 sphinx/writers/text.py:591 -#, python-format -msgid "[image: %s]" -msgstr "" - -#: sphinx/writers/manpage.py:288 sphinx/writers/text.py:592 -msgid "[image]" -msgstr "" diff --git a/sphinx/locale/nb/LC_MESSAGES/sphinx.js b/sphinx/locale/nb/LC_MESSAGES/sphinx.js deleted file mode 100644 index 89472ee60..000000000 --- a/sphinx/locale/nb/LC_MESSAGES/sphinx.js +++ /dev/null @@ -1 +0,0 @@ -Documentation.addTranslations({"locale": "nb", "messages": {"%(filename)s — %(docstitle)s": "", "© <a href=\"%(path)s\">Copyright</a> %(copyright)s.": "", "© Copyright %(copyright)s.": "", ", in ": "", "About these documents": "", "Automatically generated list of changes in version %(version)s": "", "C API changes": "", "Changes in Version %(version)s — %(docstitle)s": "", "Collapse sidebar": "", "Complete Table of Contents": "", "Contents": "", "Copyright": "", "Created using <a href=\"http://sphinx-doc.org/\">Sphinx</a> %(sphinx_version)s.": "", "Expand sidebar": "", "From here you can search these documents. Enter your search\n words into the box below and click \"search\". Note that the search\n function will automatically search for all of the words. Pages\n containing fewer words won't appear in the result list.": "", "Full index on one page": "", "General Index": "", "Global Module Index": "", "Go": "", "Hide Search Matches": "", "Index": "", "Index – %(key)s": "", "Index pages by letter": "", "Indices and tables:": "", "Last updated on %(last_updated)s.": "", "Library changes": "", "Navigation": "", "Next topic": "", "Other changes": "", "Overview": "", "Permalink to this definition": "", "Permalink to this headline": "", "Please activate JavaScript to enable the search\n functionality.": "", "Preparing search...": "", "Previous topic": "", "Quick search": "", "Search": "", "Search Page": "", "Search Results": "", "Search finished, found %s page(s) matching the search query.": "", "Search within %(docstitle)s": "", "Searching": "", "Show Source": "", "Table Of Contents": "", "This Page": "", "Welcome! This is": "", "Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories.": "", "all functions, classes, terms": "", "can be huge": "", "last updated": "", "lists all sections and subsections": "", "next chapter": "", "previous chapter": "", "quick access to all modules": "", "search": "", "search this documentation": "", "the documentation for": ""}, "plural_expr": "(n != 1)"});
\ No newline at end of file diff --git a/sphinx/locale/nb/LC_MESSAGES/sphinx.mo b/sphinx/locale/nb/LC_MESSAGES/sphinx.mo Binary files differdeleted file mode 100644 index 178d1785a..000000000 --- a/sphinx/locale/nb/LC_MESSAGES/sphinx.mo +++ /dev/null diff --git a/sphinx/locale/nb/LC_MESSAGES/sphinx.po b/sphinx/locale/nb/LC_MESSAGES/sphinx.po deleted file mode 100644 index cdd31369e..000000000 --- a/sphinx/locale/nb/LC_MESSAGES/sphinx.po +++ /dev/null @@ -1,914 +0,0 @@ -# Translations template for Sphinx. -# Copyright (C) 2016 ORGANIZATION -# This file is distributed under the same license as the Sphinx project. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: Sphinx\n" -"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2016-11-06 22:40+0900\n" -"PO-Revision-Date: 2016-11-06 13:53+0000\n" -"Last-Translator: Takeshi KOMIYA <i.tkomiya@gmail.com>\n" -"Language-Team: Norwegian BokmÃ¥l (http://www.transifex.com/sphinx-doc/sphinx-1/language/nb/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.3.4\n" -"Language: nb\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: sphinx/config.py:109 -#, python-format -msgid "Section %s" -msgstr "" - -#: sphinx/config.py:110 -#, python-format -msgid "Fig. %s" -msgstr "" - -#: sphinx/config.py:111 -#, python-format -msgid "Table %s" -msgstr "" - -#: sphinx/config.py:112 -#, python-format -msgid "Listing %s" -msgstr "" - -#: sphinx/roles.py:187 -#, python-format -msgid "Python Enhancement Proposals; PEP %s" -msgstr "" - -#: sphinx/builders/changes.py:75 -msgid "Builtins" -msgstr "" - -#: sphinx/builders/changes.py:77 -msgid "Module level" -msgstr "" - -#: sphinx/builders/html.py:294 sphinx/transforms/__init__.py:46 -#: sphinx/writers/latex.py:393 sphinx/writers/manpage.py:100 -#: sphinx/writers/texinfo.py:221 -#, python-format -msgid "%b %d, %Y" -msgstr "" - -#: sphinx/builders/html.py:315 sphinx/themes/basic/defindex.html:30 -msgid "General Index" -msgstr "" - -#: sphinx/builders/html.py:315 -msgid "index" -msgstr "" - -#: sphinx/builders/html.py:377 -msgid "next" -msgstr "" - -#: sphinx/builders/html.py:386 -msgid "previous" -msgstr "" - -#: sphinx/builders/html.py:1222 -#, python-format -msgid "%s %s documentation" -msgstr "" - -#: sphinx/builders/latex.py:177 sphinx/builders/texinfo.py:199 -msgid " (in " -msgstr "" - -#: sphinx/directives/code.py:140 sphinx/directives/code.py:370 -#, python-format -msgid "Invalid caption: %s" -msgstr "" - -#: sphinx/directives/other.py:149 -msgid "Section author: " -msgstr "" - -#: sphinx/directives/other.py:151 -msgid "Module author: " -msgstr "" - -#: sphinx/directives/other.py:153 -msgid "Code author: " -msgstr "" - -#: sphinx/directives/other.py:155 -msgid "Author: " -msgstr "" - -#: sphinx/domains/__init__.py:277 -#, python-format -msgid "%s %s" -msgstr "" - -#: sphinx/domains/c.py:58 sphinx/domains/cpp.py:4051 -#: sphinx/domains/python.py:149 -msgid "Parameters" -msgstr "" - -#: sphinx/domains/c.py:61 sphinx/domains/cpp.py:4060 -#: sphinx/domains/javascript.py:128 sphinx/domains/python.py:161 -msgid "Returns" -msgstr "" - -#: sphinx/domains/c.py:63 sphinx/domains/javascript.py:130 -#: sphinx/domains/python.py:163 -msgid "Return type" -msgstr "" - -#: sphinx/domains/c.py:177 -#, python-format -msgid "%s (C function)" -msgstr "" - -#: sphinx/domains/c.py:179 -#, python-format -msgid "%s (C member)" -msgstr "" - -#: sphinx/domains/c.py:181 -#, python-format -msgid "%s (C macro)" -msgstr "" - -#: sphinx/domains/c.py:183 -#, python-format -msgid "%s (C type)" -msgstr "" - -#: sphinx/domains/c.py:185 -#, python-format -msgid "%s (C variable)" -msgstr "" - -#: sphinx/domains/c.py:242 sphinx/domains/cpp.py:4418 -#: sphinx/domains/javascript.py:164 sphinx/domains/python.py:614 -msgid "function" -msgstr "" - -#: sphinx/domains/c.py:243 sphinx/domains/cpp.py:4419 -msgid "member" -msgstr "" - -#: sphinx/domains/c.py:244 -msgid "macro" -msgstr "" - -#: sphinx/domains/c.py:245 sphinx/domains/cpp.py:4420 -msgid "type" -msgstr "" - -#: sphinx/domains/c.py:246 -msgid "variable" -msgstr "" - -#: sphinx/domains/cpp.py:4054 -msgid "Template Parameters" -msgstr "" - -#: sphinx/domains/cpp.py:4057 sphinx/domains/javascript.py:125 -msgid "Throws" -msgstr "" - -#: sphinx/domains/cpp.py:4205 -#, python-format -msgid "%s (C++ type)" -msgstr "" - -#: sphinx/domains/cpp.py:4216 -#, python-format -msgid "%s (C++ concept)" -msgstr "" - -#: sphinx/domains/cpp.py:4227 -#, python-format -msgid "%s (C++ member)" -msgstr "" - -#: sphinx/domains/cpp.py:4238 -#, python-format -msgid "%s (C++ function)" -msgstr "" - -#: sphinx/domains/cpp.py:4249 -#, python-format -msgid "%s (C++ class)" -msgstr "" - -#: sphinx/domains/cpp.py:4260 -#, python-format -msgid "%s (C++ enum)" -msgstr "" - -#: sphinx/domains/cpp.py:4281 -#, python-format -msgid "%s (C++ enumerator)" -msgstr "" - -#: sphinx/domains/cpp.py:4417 sphinx/domains/javascript.py:165 -#: sphinx/domains/python.py:616 -msgid "class" -msgstr "" - -#: sphinx/domains/cpp.py:4421 -msgid "concept" -msgstr "" - -#: sphinx/domains/cpp.py:4422 -msgid "enum" -msgstr "" - -#: sphinx/domains/cpp.py:4423 -msgid "enumerator" -msgstr "" - -#: sphinx/domains/javascript.py:106 sphinx/domains/python.py:307 -#, python-format -msgid "%s() (built-in function)" -msgstr "" - -#: sphinx/domains/javascript.py:107 sphinx/domains/python.py:371 -#, python-format -msgid "%s() (%s method)" -msgstr "" - -#: sphinx/domains/javascript.py:109 -#, python-format -msgid "%s() (class)" -msgstr "" - -#: sphinx/domains/javascript.py:111 -#, python-format -msgid "%s (global variable or constant)" -msgstr "" - -#: sphinx/domains/javascript.py:113 sphinx/domains/python.py:409 -#, python-format -msgid "%s (%s attribute)" -msgstr "" - -#: sphinx/domains/javascript.py:122 -msgid "Arguments" -msgstr "" - -#: sphinx/domains/javascript.py:166 sphinx/domains/python.py:615 -msgid "data" -msgstr "" - -#: sphinx/domains/javascript.py:167 sphinx/domains/python.py:621 -msgid "attribute" -msgstr "" - -#: sphinx/domains/python.py:154 -msgid "Variables" -msgstr "" - -#: sphinx/domains/python.py:158 -msgid "Raises" -msgstr "" - -#: sphinx/domains/python.py:308 sphinx/domains/python.py:365 -#: sphinx/domains/python.py:377 sphinx/domains/python.py:390 -#, python-format -msgid "%s() (in module %s)" -msgstr "" - -#: sphinx/domains/python.py:311 -#, python-format -msgid "%s (built-in variable)" -msgstr "" - -#: sphinx/domains/python.py:312 sphinx/domains/python.py:403 -#, python-format -msgid "%s (in module %s)" -msgstr "" - -#: sphinx/domains/python.py:328 -#, python-format -msgid "%s (built-in class)" -msgstr "" - -#: sphinx/domains/python.py:329 -#, python-format -msgid "%s (class in %s)" -msgstr "" - -#: sphinx/domains/python.py:369 -#, python-format -msgid "%s() (%s.%s method)" -msgstr "" - -#: sphinx/domains/python.py:381 -#, python-format -msgid "%s() (%s.%s static method)" -msgstr "" - -#: sphinx/domains/python.py:384 -#, python-format -msgid "%s() (%s static method)" -msgstr "" - -#: sphinx/domains/python.py:394 -#, python-format -msgid "%s() (%s.%s class method)" -msgstr "" - -#: sphinx/domains/python.py:397 -#, python-format -msgid "%s() (%s class method)" -msgstr "" - -#: sphinx/domains/python.py:407 -#, python-format -msgid "%s (%s.%s attribute)" -msgstr "" - -#: sphinx/domains/python.py:488 -#, python-format -msgid "%s (module)" -msgstr "" - -#: sphinx/domains/python.py:545 -msgid "Python Module Index" -msgstr "" - -#: sphinx/domains/python.py:546 -msgid "modules" -msgstr "" - -#: sphinx/domains/python.py:592 -msgid "Deprecated" -msgstr "" - -#: sphinx/domains/python.py:617 sphinx/locale/__init__.py:183 -msgid "exception" -msgstr "" - -#: sphinx/domains/python.py:618 -msgid "method" -msgstr "" - -#: sphinx/domains/python.py:619 -msgid "class method" -msgstr "" - -#: sphinx/domains/python.py:620 -msgid "static method" -msgstr "" - -#: sphinx/domains/python.py:622 sphinx/locale/__init__.py:179 -msgid "module" -msgstr "" - -#: sphinx/domains/python.py:787 -msgid " (deprecated)" -msgstr "" - -#: sphinx/domains/rst.py:55 -#, python-format -msgid "%s (directive)" -msgstr "" - -#: sphinx/domains/rst.py:57 -#, python-format -msgid "%s (role)" -msgstr "" - -#: sphinx/domains/rst.py:106 -msgid "directive" -msgstr "" - -#: sphinx/domains/rst.py:107 -msgid "role" -msgstr "" - -#: sphinx/domains/std.py:72 sphinx/domains/std.py:88 -#, python-format -msgid "environment variable; %s" -msgstr "" - -#: sphinx/domains/std.py:186 -#, python-format -msgid "%scommand line option; %s" -msgstr "" - -#: sphinx/domains/std.py:434 -msgid "glossary term" -msgstr "" - -#: sphinx/domains/std.py:435 -msgid "grammar token" -msgstr "" - -#: sphinx/domains/std.py:436 -msgid "reference label" -msgstr "" - -#: sphinx/domains/std.py:438 -msgid "environment variable" -msgstr "" - -#: sphinx/domains/std.py:439 -msgid "program option" -msgstr "" - -#: sphinx/domains/std.py:473 sphinx/themes/basic/genindex-single.html:30 -#: sphinx/themes/basic/genindex-single.html:55 -#: sphinx/themes/basic/genindex-split.html:11 -#: sphinx/themes/basic/genindex-split.html:14 -#: sphinx/themes/basic/genindex.html:30 sphinx/themes/basic/genindex.html:33 -#: sphinx/themes/basic/genindex.html:66 sphinx/themes/basic/layout.html:135 -#: sphinx/writers/latex.py:381 sphinx/writers/texinfo.py:480 -msgid "Index" -msgstr "" - -#: sphinx/domains/std.py:474 -msgid "Module Index" -msgstr "" - -#: sphinx/domains/std.py:475 sphinx/themes/basic/defindex.html:25 -msgid "Search Page" -msgstr "" - -#: sphinx/environment/managers/indexentries.py:104 -#, python-format -msgid "see %s" -msgstr "" - -#: sphinx/environment/managers/indexentries.py:108 -#, python-format -msgid "see also %s" -msgstr "" - -#: sphinx/environment/managers/indexentries.py:168 -msgid "Symbols" -msgstr "" - -#: sphinx/ext/autodoc.py:1297 -#, python-format -msgid "Bases: %s" -msgstr "" - -#: sphinx/ext/autodoc.py:1350 -#, python-format -msgid "alias of :class:`%s`" -msgstr "" - -#: sphinx/ext/graphviz.py:331 sphinx/ext/graphviz.py:340 -#, python-format -msgid "[graph: %s]" -msgstr "" - -#: sphinx/ext/graphviz.py:333 sphinx/ext/graphviz.py:342 -msgid "[graph]" -msgstr "" - -#: sphinx/ext/imgmath.py:258 sphinx/ext/jsmath.py:39 sphinx/ext/mathjax.py:40 -msgid "Permalink to this equation" -msgstr "" - -#: sphinx/ext/intersphinx.py:337 -#, python-format -msgid "(in %s v%s)" -msgstr "" - -#: sphinx/ext/linkcode.py:69 sphinx/ext/viewcode.py:103 -msgid "[source]" -msgstr "" - -#: sphinx/ext/mathbase.py:92 -#, python-format -msgid "duplicate label of equation %s, other instance in %s" -msgstr "" - -#: sphinx/ext/todo.py:56 -msgid "Todo" -msgstr "" - -#: sphinx/ext/todo.py:134 -msgid "<<original entry>>" -msgstr "" - -#: sphinx/ext/todo.py:137 -#, python-format -msgid "(The <<original entry>> is located in %s, line %d.)" -msgstr "" - -#: sphinx/ext/todo.py:146 -msgid "original entry" -msgstr "" - -#: sphinx/ext/viewcode.py:166 -msgid "[docs]" -msgstr "" - -#: sphinx/ext/viewcode.py:180 -msgid "Module code" -msgstr "" - -#: sphinx/ext/viewcode.py:186 -#, python-format -msgid "<h1>Source code for %s</h1>" -msgstr "" - -#: sphinx/ext/viewcode.py:212 -msgid "Overview: module code" -msgstr "" - -#: sphinx/ext/viewcode.py:213 -msgid "<h1>All modules for which code is available</h1>" -msgstr "" - -#: sphinx/ext/napoleon/__init__.py:313 -msgid "Keyword Arguments" -msgstr "" - -#: sphinx/locale/__init__.py:159 -msgid "Attention" -msgstr "" - -#: sphinx/locale/__init__.py:160 -msgid "Caution" -msgstr "" - -#: sphinx/locale/__init__.py:161 -msgid "Danger" -msgstr "" - -#: sphinx/locale/__init__.py:162 -msgid "Error" -msgstr "" - -#: sphinx/locale/__init__.py:163 -msgid "Hint" -msgstr "" - -#: sphinx/locale/__init__.py:164 -msgid "Important" -msgstr "" - -#: sphinx/locale/__init__.py:165 -msgid "Note" -msgstr "" - -#: sphinx/locale/__init__.py:166 -msgid "See also" -msgstr "" - -#: sphinx/locale/__init__.py:167 -msgid "Tip" -msgstr "" - -#: sphinx/locale/__init__.py:168 -msgid "Warning" -msgstr "" - -#: sphinx/locale/__init__.py:172 -#, python-format -msgid "New in version %s" -msgstr "" - -#: sphinx/locale/__init__.py:173 -#, python-format -msgid "Changed in version %s" -msgstr "" - -#: sphinx/locale/__init__.py:174 -#, python-format -msgid "Deprecated since version %s" -msgstr "" - -#: sphinx/locale/__init__.py:180 -msgid "keyword" -msgstr "" - -#: sphinx/locale/__init__.py:181 -msgid "operator" -msgstr "" - -#: sphinx/locale/__init__.py:182 -msgid "object" -msgstr "" - -#: sphinx/locale/__init__.py:184 -msgid "statement" -msgstr "" - -#: sphinx/locale/__init__.py:185 -msgid "built-in function" -msgstr "" - -#: sphinx/themes/agogo/layout.html:46 sphinx/themes/basic/globaltoc.html:10 -#: sphinx/themes/basic/localtoc.html:11 sphinx/themes/scrolls/layout.html:35 -msgid "Table Of Contents" -msgstr "" - -#: sphinx/themes/agogo/layout.html:51 sphinx/themes/basic/layout.html:138 -#: sphinx/themes/basic/search.html:11 sphinx/themes/basic/search.html:23 -#: sphinx/themes/basic/searchresults.html:10 -msgid "Search" -msgstr "" - -#: sphinx/themes/agogo/layout.html:54 sphinx/themes/basic/searchbox.html:15 -msgid "Go" -msgstr "" - -#: sphinx/themes/agogo/layout.html:81 sphinx/themes/basic/sourcelink.html:15 -msgid "Show Source" -msgstr "" - -#: sphinx/themes/basic/defindex.html:11 -msgid "Overview" -msgstr "" - -#: sphinx/themes/basic/defindex.html:15 -msgid "Welcome! This is" -msgstr "" - -#: sphinx/themes/basic/defindex.html:16 -msgid "the documentation for" -msgstr "" - -#: sphinx/themes/basic/defindex.html:17 -msgid "last updated" -msgstr "" - -#: sphinx/themes/basic/defindex.html:20 -msgid "Indices and tables:" -msgstr "" - -#: sphinx/themes/basic/defindex.html:23 -msgid "Complete Table of Contents" -msgstr "" - -#: sphinx/themes/basic/defindex.html:24 -msgid "lists all sections and subsections" -msgstr "" - -#: sphinx/themes/basic/defindex.html:26 -msgid "search this documentation" -msgstr "" - -#: sphinx/themes/basic/defindex.html:28 -msgid "Global Module Index" -msgstr "" - -#: sphinx/themes/basic/defindex.html:29 -msgid "quick access to all modules" -msgstr "" - -#: sphinx/themes/basic/defindex.html:31 -msgid "all functions, classes, terms" -msgstr "" - -#: sphinx/themes/basic/genindex-single.html:33 -#, python-format -msgid "Index – %(key)s" -msgstr "" - -#: sphinx/themes/basic/genindex-single.html:61 -#: sphinx/themes/basic/genindex-split.html:24 -#: sphinx/themes/basic/genindex-split.html:38 -#: sphinx/themes/basic/genindex.html:72 -msgid "Full index on one page" -msgstr "" - -#: sphinx/themes/basic/genindex-split.html:16 -msgid "Index pages by letter" -msgstr "" - -#: sphinx/themes/basic/genindex-split.html:25 -msgid "can be huge" -msgstr "" - -#: sphinx/themes/basic/layout.html:29 -msgid "Navigation" -msgstr "" - -#: sphinx/themes/basic/layout.html:123 -#, python-format -msgid "Search within %(docstitle)s" -msgstr "" - -#: sphinx/themes/basic/layout.html:132 -msgid "About these documents" -msgstr "" - -#: sphinx/themes/basic/layout.html:141 -msgid "Copyright" -msgstr "" - -#: sphinx/themes/basic/layout.html:186 -#, python-format -msgid "© <a href=\"%(path)s\">Copyright</a> %(copyright)s." -msgstr "" - -#: sphinx/themes/basic/layout.html:188 -#, python-format -msgid "© Copyright %(copyright)s." -msgstr "" - -#: sphinx/themes/basic/layout.html:192 -#, python-format -msgid "Last updated on %(last_updated)s." -msgstr "" - -#: sphinx/themes/basic/layout.html:195 -#, python-format -msgid "" -"Created using <a href=\"http://sphinx-doc.org/\">Sphinx</a> " -"%(sphinx_version)s." -msgstr "" - -#: sphinx/themes/basic/opensearch.xml:4 -#, python-format -msgid "Search %(docstitle)s" -msgstr "" - -#: sphinx/themes/basic/relations.html:11 -msgid "Previous topic" -msgstr "" - -#: sphinx/themes/basic/relations.html:13 -msgid "previous chapter" -msgstr "" - -#: sphinx/themes/basic/relations.html:16 -msgid "Next topic" -msgstr "" - -#: sphinx/themes/basic/relations.html:18 -msgid "next chapter" -msgstr "" - -#: sphinx/themes/basic/search.html:27 -msgid "" -"Please activate JavaScript to enable the search\n" -" functionality." -msgstr "" - -#: sphinx/themes/basic/search.html:32 -msgid "" -"From here you can search these documents. Enter your search\n" -" words into the box below and click \"search\". Note that the search\n" -" function will automatically search for all of the words. Pages\n" -" containing fewer words won't appear in the result list." -msgstr "" - -#: sphinx/themes/basic/search.html:39 -#: sphinx/themes/basic/searchresults.html:17 -msgid "search" -msgstr "" - -#: sphinx/themes/basic/search.html:43 -#: sphinx/themes/basic/searchresults.html:21 -#: sphinx/themes/basic/static/searchtools.js_t:287 -msgid "Search Results" -msgstr "" - -#: sphinx/themes/basic/search.html:45 -#: sphinx/themes/basic/searchresults.html:23 -#: sphinx/themes/basic/static/searchtools.js_t:289 -msgid "" -"Your search did not match any documents. Please make sure that all words are" -" spelled correctly and that you've selected enough categories." -msgstr "" - -#: sphinx/themes/basic/searchbox.html:12 -msgid "Quick search" -msgstr "" - -#: sphinx/themes/basic/sourcelink.html:12 -msgid "This Page" -msgstr "" - -#: sphinx/themes/basic/changes/frameset.html:5 -#: sphinx/themes/basic/changes/versionchanges.html:12 -#, python-format -msgid "Changes in Version %(version)s — %(docstitle)s" -msgstr "" - -#: sphinx/themes/basic/changes/rstsource.html:5 -#, python-format -msgid "%(filename)s — %(docstitle)s" -msgstr "" - -#: sphinx/themes/basic/changes/versionchanges.html:17 -#, python-format -msgid "Automatically generated list of changes in version %(version)s" -msgstr "" - -#: sphinx/themes/basic/changes/versionchanges.html:18 -msgid "Library changes" -msgstr "" - -#: sphinx/themes/basic/changes/versionchanges.html:23 -msgid "C API changes" -msgstr "" - -#: sphinx/themes/basic/changes/versionchanges.html:25 -msgid "Other changes" -msgstr "" - -#: sphinx/themes/basic/static/doctools.js_t:169 sphinx/writers/html.py:708 -#: sphinx/writers/html.py:713 -msgid "Permalink to this headline" -msgstr "" - -#: sphinx/themes/basic/static/doctools.js_t:175 sphinx/writers/html.py:108 -#: sphinx/writers/html.py:117 -msgid "Permalink to this definition" -msgstr "" - -#: sphinx/themes/basic/static/doctools.js_t:208 -msgid "Hide Search Matches" -msgstr "" - -#: sphinx/themes/basic/static/searchtools.js_t:121 -msgid "Searching" -msgstr "" - -#: sphinx/themes/basic/static/searchtools.js_t:126 -msgid "Preparing search..." -msgstr "" - -#: sphinx/themes/basic/static/searchtools.js_t:291 -#, python-format -msgid "Search finished, found %s page(s) matching the search query." -msgstr "" - -#: sphinx/themes/basic/static/searchtools.js_t:344 -msgid ", in " -msgstr "" - -#: sphinx/themes/classic/static/sidebar.js_t:83 -msgid "Expand sidebar" -msgstr "" - -#: sphinx/themes/classic/static/sidebar.js_t:96 -#: sphinx/themes/classic/static/sidebar.js_t:124 -msgid "Collapse sidebar" -msgstr "" - -#: sphinx/themes/haiku/layout.html:24 -msgid "Contents" -msgstr "" - -#: sphinx/writers/html.py:389 -msgid "Permalink to this code" -msgstr "" - -#: sphinx/writers/html.py:393 -msgid "Permalink to this image" -msgstr "" - -#: sphinx/writers/html.py:395 -msgid "Permalink to this toctree" -msgstr "" - -#: sphinx/writers/html.py:717 -msgid "Permalink to this table" -msgstr "" - -#: sphinx/writers/latex.py:380 -msgid "Release" -msgstr "" - -#: sphinx/writers/latex.py:483 -msgid "page" -msgstr "" - -#: sphinx/writers/latex.py:528 -#, python-format -msgid "Unknown configure key: latex_elements[%r] is ignored." -msgstr "" - -#: sphinx/writers/latex.py:1003 sphinx/writers/manpage.py:238 -#: sphinx/writers/texinfo.py:619 -msgid "Footnotes" -msgstr "" - -#: sphinx/writers/latex.py:1112 -msgid "continued from previous page" -msgstr "" - -#: sphinx/writers/latex.py:1118 -msgid "Continued on next page" -msgstr "" - -#: sphinx/writers/manpage.py:287 sphinx/writers/text.py:591 -#, python-format -msgid "[image: %s]" -msgstr "" - -#: sphinx/writers/manpage.py:288 sphinx/writers/text.py:592 -msgid "[image]" -msgstr "" diff --git a/sphinx/locale/no/LC_MESSAGES/sphinx.js b/sphinx/locale/no/LC_MESSAGES/sphinx.js deleted file mode 100644 index bfabd34ce..000000000 --- a/sphinx/locale/no/LC_MESSAGES/sphinx.js +++ /dev/null @@ -1 +0,0 @@ -Documentation.addTranslations({"locale": "nb_NO", "messages": {"%(filename)s — %(docstitle)s": "", "© <a href=\"%(path)s\">Copyright</a> %(copyright)s.": "", "© Copyright %(copyright)s.": "", ", in ": "", "About these documents": "", "Automatically generated list of changes in version %(version)s": "", "C API changes": "", "Changes in Version %(version)s — %(docstitle)s": "", "Collapse sidebar": "", "Complete Table of Contents": "", "Contents": "", "Copyright": "", "Created using <a href=\"http://sphinx-doc.org/\">Sphinx</a> %(sphinx_version)s.": "", "Expand sidebar": "", "From here you can search these documents. Enter your search\n words into the box below and click \"search\". Note that the search\n function will automatically search for all of the words. Pages\n containing fewer words won't appear in the result list.": "", "Full index on one page": "", "General Index": "", "Global Module Index": "", "Go": "", "Hide Search Matches": "", "Index": "", "Index – %(key)s": "", "Index pages by letter": "", "Indices and tables:": "", "Last updated on %(last_updated)s.": "", "Library changes": "", "Navigation": "", "Next topic": "", "Other changes": "", "Overview": "", "Permalink to this definition": "", "Permalink to this headline": "", "Please activate JavaScript to enable the search\n functionality.": "", "Preparing search...": "", "Previous topic": "", "Quick search": "", "Search": "", "Search Page": "", "Search Results": "", "Search finished, found %s page(s) matching the search query.": "", "Search within %(docstitle)s": "", "Searching": "", "Show Source": "", "Table Of Contents": "", "This Page": "", "Welcome! This is": "", "Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories.": "", "all functions, classes, terms": "", "can be huge": "", "last updated": "", "lists all sections and subsections": "", "next chapter": "", "previous chapter": "", "quick access to all modules": "", "search": "", "search this documentation": "", "the documentation for": ""}, "plural_expr": "(n != 1)"});
\ No newline at end of file diff --git a/sphinx/locale/no/LC_MESSAGES/sphinx.mo b/sphinx/locale/no/LC_MESSAGES/sphinx.mo Binary files differdeleted file mode 100644 index 6fb754638..000000000 --- a/sphinx/locale/no/LC_MESSAGES/sphinx.mo +++ /dev/null diff --git a/sphinx/locale/no/LC_MESSAGES/sphinx.po b/sphinx/locale/no/LC_MESSAGES/sphinx.po deleted file mode 100644 index a9cc10ed4..000000000 --- a/sphinx/locale/no/LC_MESSAGES/sphinx.po +++ /dev/null @@ -1,914 +0,0 @@ -# Translations template for Sphinx. -# Copyright (C) 2016 ORGANIZATION -# This file is distributed under the same license as the Sphinx project. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: Sphinx\n" -"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2016-11-06 22:40+0900\n" -"PO-Revision-Date: 2016-11-06 13:53+0000\n" -"Last-Translator: Takeshi KOMIYA <i.tkomiya@gmail.com>\n" -"Language-Team: Norwegian (http://www.transifex.com/sphinx-doc/sphinx-1/language/no/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.3.4\n" -"Language: no\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: sphinx/config.py:109 -#, python-format -msgid "Section %s" -msgstr "" - -#: sphinx/config.py:110 -#, python-format -msgid "Fig. %s" -msgstr "" - -#: sphinx/config.py:111 -#, python-format -msgid "Table %s" -msgstr "" - -#: sphinx/config.py:112 -#, python-format -msgid "Listing %s" -msgstr "" - -#: sphinx/roles.py:187 -#, python-format -msgid "Python Enhancement Proposals; PEP %s" -msgstr "" - -#: sphinx/builders/changes.py:75 -msgid "Builtins" -msgstr "" - -#: sphinx/builders/changes.py:77 -msgid "Module level" -msgstr "" - -#: sphinx/builders/html.py:294 sphinx/transforms/__init__.py:46 -#: sphinx/writers/latex.py:393 sphinx/writers/manpage.py:100 -#: sphinx/writers/texinfo.py:221 -#, python-format -msgid "%b %d, %Y" -msgstr "" - -#: sphinx/builders/html.py:315 sphinx/themes/basic/defindex.html:30 -msgid "General Index" -msgstr "" - -#: sphinx/builders/html.py:315 -msgid "index" -msgstr "" - -#: sphinx/builders/html.py:377 -msgid "next" -msgstr "" - -#: sphinx/builders/html.py:386 -msgid "previous" -msgstr "" - -#: sphinx/builders/html.py:1222 -#, python-format -msgid "%s %s documentation" -msgstr "" - -#: sphinx/builders/latex.py:177 sphinx/builders/texinfo.py:199 -msgid " (in " -msgstr "" - -#: sphinx/directives/code.py:140 sphinx/directives/code.py:370 -#, python-format -msgid "Invalid caption: %s" -msgstr "" - -#: sphinx/directives/other.py:149 -msgid "Section author: " -msgstr "" - -#: sphinx/directives/other.py:151 -msgid "Module author: " -msgstr "" - -#: sphinx/directives/other.py:153 -msgid "Code author: " -msgstr "" - -#: sphinx/directives/other.py:155 -msgid "Author: " -msgstr "" - -#: sphinx/domains/__init__.py:277 -#, python-format -msgid "%s %s" -msgstr "" - -#: sphinx/domains/c.py:58 sphinx/domains/cpp.py:4051 -#: sphinx/domains/python.py:149 -msgid "Parameters" -msgstr "" - -#: sphinx/domains/c.py:61 sphinx/domains/cpp.py:4060 -#: sphinx/domains/javascript.py:128 sphinx/domains/python.py:161 -msgid "Returns" -msgstr "" - -#: sphinx/domains/c.py:63 sphinx/domains/javascript.py:130 -#: sphinx/domains/python.py:163 -msgid "Return type" -msgstr "" - -#: sphinx/domains/c.py:177 -#, python-format -msgid "%s (C function)" -msgstr "" - -#: sphinx/domains/c.py:179 -#, python-format -msgid "%s (C member)" -msgstr "" - -#: sphinx/domains/c.py:181 -#, python-format -msgid "%s (C macro)" -msgstr "" - -#: sphinx/domains/c.py:183 -#, python-format -msgid "%s (C type)" -msgstr "" - -#: sphinx/domains/c.py:185 -#, python-format -msgid "%s (C variable)" -msgstr "" - -#: sphinx/domains/c.py:242 sphinx/domains/cpp.py:4418 -#: sphinx/domains/javascript.py:164 sphinx/domains/python.py:614 -msgid "function" -msgstr "" - -#: sphinx/domains/c.py:243 sphinx/domains/cpp.py:4419 -msgid "member" -msgstr "" - -#: sphinx/domains/c.py:244 -msgid "macro" -msgstr "" - -#: sphinx/domains/c.py:245 sphinx/domains/cpp.py:4420 -msgid "type" -msgstr "" - -#: sphinx/domains/c.py:246 -msgid "variable" -msgstr "" - -#: sphinx/domains/cpp.py:4054 -msgid "Template Parameters" -msgstr "" - -#: sphinx/domains/cpp.py:4057 sphinx/domains/javascript.py:125 -msgid "Throws" -msgstr "" - -#: sphinx/domains/cpp.py:4205 -#, python-format -msgid "%s (C++ type)" -msgstr "" - -#: sphinx/domains/cpp.py:4216 -#, python-format -msgid "%s (C++ concept)" -msgstr "" - -#: sphinx/domains/cpp.py:4227 -#, python-format -msgid "%s (C++ member)" -msgstr "" - -#: sphinx/domains/cpp.py:4238 -#, python-format -msgid "%s (C++ function)" -msgstr "" - -#: sphinx/domains/cpp.py:4249 -#, python-format -msgid "%s (C++ class)" -msgstr "" - -#: sphinx/domains/cpp.py:4260 -#, python-format -msgid "%s (C++ enum)" -msgstr "" - -#: sphinx/domains/cpp.py:4281 -#, python-format -msgid "%s (C++ enumerator)" -msgstr "" - -#: sphinx/domains/cpp.py:4417 sphinx/domains/javascript.py:165 -#: sphinx/domains/python.py:616 -msgid "class" -msgstr "" - -#: sphinx/domains/cpp.py:4421 -msgid "concept" -msgstr "" - -#: sphinx/domains/cpp.py:4422 -msgid "enum" -msgstr "" - -#: sphinx/domains/cpp.py:4423 -msgid "enumerator" -msgstr "" - -#: sphinx/domains/javascript.py:106 sphinx/domains/python.py:307 -#, python-format -msgid "%s() (built-in function)" -msgstr "" - -#: sphinx/domains/javascript.py:107 sphinx/domains/python.py:371 -#, python-format -msgid "%s() (%s method)" -msgstr "" - -#: sphinx/domains/javascript.py:109 -#, python-format -msgid "%s() (class)" -msgstr "" - -#: sphinx/domains/javascript.py:111 -#, python-format -msgid "%s (global variable or constant)" -msgstr "" - -#: sphinx/domains/javascript.py:113 sphinx/domains/python.py:409 -#, python-format -msgid "%s (%s attribute)" -msgstr "" - -#: sphinx/domains/javascript.py:122 -msgid "Arguments" -msgstr "" - -#: sphinx/domains/javascript.py:166 sphinx/domains/python.py:615 -msgid "data" -msgstr "" - -#: sphinx/domains/javascript.py:167 sphinx/domains/python.py:621 -msgid "attribute" -msgstr "" - -#: sphinx/domains/python.py:154 -msgid "Variables" -msgstr "" - -#: sphinx/domains/python.py:158 -msgid "Raises" -msgstr "" - -#: sphinx/domains/python.py:308 sphinx/domains/python.py:365 -#: sphinx/domains/python.py:377 sphinx/domains/python.py:390 -#, python-format -msgid "%s() (in module %s)" -msgstr "" - -#: sphinx/domains/python.py:311 -#, python-format -msgid "%s (built-in variable)" -msgstr "" - -#: sphinx/domains/python.py:312 sphinx/domains/python.py:403 -#, python-format -msgid "%s (in module %s)" -msgstr "" - -#: sphinx/domains/python.py:328 -#, python-format -msgid "%s (built-in class)" -msgstr "" - -#: sphinx/domains/python.py:329 -#, python-format -msgid "%s (class in %s)" -msgstr "" - -#: sphinx/domains/python.py:369 -#, python-format -msgid "%s() (%s.%s method)" -msgstr "" - -#: sphinx/domains/python.py:381 -#, python-format -msgid "%s() (%s.%s static method)" -msgstr "" - -#: sphinx/domains/python.py:384 -#, python-format -msgid "%s() (%s static method)" -msgstr "" - -#: sphinx/domains/python.py:394 -#, python-format -msgid "%s() (%s.%s class method)" -msgstr "" - -#: sphinx/domains/python.py:397 -#, python-format -msgid "%s() (%s class method)" -msgstr "" - -#: sphinx/domains/python.py:407 -#, python-format -msgid "%s (%s.%s attribute)" -msgstr "" - -#: sphinx/domains/python.py:488 -#, python-format -msgid "%s (module)" -msgstr "" - -#: sphinx/domains/python.py:545 -msgid "Python Module Index" -msgstr "" - -#: sphinx/domains/python.py:546 -msgid "modules" -msgstr "" - -#: sphinx/domains/python.py:592 -msgid "Deprecated" -msgstr "" - -#: sphinx/domains/python.py:617 sphinx/locale/__init__.py:183 -msgid "exception" -msgstr "" - -#: sphinx/domains/python.py:618 -msgid "method" -msgstr "" - -#: sphinx/domains/python.py:619 -msgid "class method" -msgstr "" - -#: sphinx/domains/python.py:620 -msgid "static method" -msgstr "" - -#: sphinx/domains/python.py:622 sphinx/locale/__init__.py:179 -msgid "module" -msgstr "" - -#: sphinx/domains/python.py:787 -msgid " (deprecated)" -msgstr "" - -#: sphinx/domains/rst.py:55 -#, python-format -msgid "%s (directive)" -msgstr "" - -#: sphinx/domains/rst.py:57 -#, python-format -msgid "%s (role)" -msgstr "" - -#: sphinx/domains/rst.py:106 -msgid "directive" -msgstr "" - -#: sphinx/domains/rst.py:107 -msgid "role" -msgstr "" - -#: sphinx/domains/std.py:72 sphinx/domains/std.py:88 -#, python-format -msgid "environment variable; %s" -msgstr "" - -#: sphinx/domains/std.py:186 -#, python-format -msgid "%scommand line option; %s" -msgstr "" - -#: sphinx/domains/std.py:434 -msgid "glossary term" -msgstr "" - -#: sphinx/domains/std.py:435 -msgid "grammar token" -msgstr "" - -#: sphinx/domains/std.py:436 -msgid "reference label" -msgstr "" - -#: sphinx/domains/std.py:438 -msgid "environment variable" -msgstr "" - -#: sphinx/domains/std.py:439 -msgid "program option" -msgstr "" - -#: sphinx/domains/std.py:473 sphinx/themes/basic/genindex-single.html:30 -#: sphinx/themes/basic/genindex-single.html:55 -#: sphinx/themes/basic/genindex-split.html:11 -#: sphinx/themes/basic/genindex-split.html:14 -#: sphinx/themes/basic/genindex.html:30 sphinx/themes/basic/genindex.html:33 -#: sphinx/themes/basic/genindex.html:66 sphinx/themes/basic/layout.html:135 -#: sphinx/writers/latex.py:381 sphinx/writers/texinfo.py:480 -msgid "Index" -msgstr "" - -#: sphinx/domains/std.py:474 -msgid "Module Index" -msgstr "" - -#: sphinx/domains/std.py:475 sphinx/themes/basic/defindex.html:25 -msgid "Search Page" -msgstr "" - -#: sphinx/environment/managers/indexentries.py:104 -#, python-format -msgid "see %s" -msgstr "" - -#: sphinx/environment/managers/indexentries.py:108 -#, python-format -msgid "see also %s" -msgstr "" - -#: sphinx/environment/managers/indexentries.py:168 -msgid "Symbols" -msgstr "" - -#: sphinx/ext/autodoc.py:1297 -#, python-format -msgid "Bases: %s" -msgstr "" - -#: sphinx/ext/autodoc.py:1350 -#, python-format -msgid "alias of :class:`%s`" -msgstr "" - -#: sphinx/ext/graphviz.py:331 sphinx/ext/graphviz.py:340 -#, python-format -msgid "[graph: %s]" -msgstr "" - -#: sphinx/ext/graphviz.py:333 sphinx/ext/graphviz.py:342 -msgid "[graph]" -msgstr "" - -#: sphinx/ext/imgmath.py:258 sphinx/ext/jsmath.py:39 sphinx/ext/mathjax.py:40 -msgid "Permalink to this equation" -msgstr "" - -#: sphinx/ext/intersphinx.py:337 -#, python-format -msgid "(in %s v%s)" -msgstr "" - -#: sphinx/ext/linkcode.py:69 sphinx/ext/viewcode.py:103 -msgid "[source]" -msgstr "" - -#: sphinx/ext/mathbase.py:92 -#, python-format -msgid "duplicate label of equation %s, other instance in %s" -msgstr "" - -#: sphinx/ext/todo.py:56 -msgid "Todo" -msgstr "" - -#: sphinx/ext/todo.py:134 -msgid "<<original entry>>" -msgstr "" - -#: sphinx/ext/todo.py:137 -#, python-format -msgid "(The <<original entry>> is located in %s, line %d.)" -msgstr "" - -#: sphinx/ext/todo.py:146 -msgid "original entry" -msgstr "" - -#: sphinx/ext/viewcode.py:166 -msgid "[docs]" -msgstr "" - -#: sphinx/ext/viewcode.py:180 -msgid "Module code" -msgstr "" - -#: sphinx/ext/viewcode.py:186 -#, python-format -msgid "<h1>Source code for %s</h1>" -msgstr "" - -#: sphinx/ext/viewcode.py:212 -msgid "Overview: module code" -msgstr "" - -#: sphinx/ext/viewcode.py:213 -msgid "<h1>All modules for which code is available</h1>" -msgstr "" - -#: sphinx/ext/napoleon/__init__.py:313 -msgid "Keyword Arguments" -msgstr "" - -#: sphinx/locale/__init__.py:159 -msgid "Attention" -msgstr "" - -#: sphinx/locale/__init__.py:160 -msgid "Caution" -msgstr "" - -#: sphinx/locale/__init__.py:161 -msgid "Danger" -msgstr "" - -#: sphinx/locale/__init__.py:162 -msgid "Error" -msgstr "" - -#: sphinx/locale/__init__.py:163 -msgid "Hint" -msgstr "" - -#: sphinx/locale/__init__.py:164 -msgid "Important" -msgstr "" - -#: sphinx/locale/__init__.py:165 -msgid "Note" -msgstr "" - -#: sphinx/locale/__init__.py:166 -msgid "See also" -msgstr "" - -#: sphinx/locale/__init__.py:167 -msgid "Tip" -msgstr "" - -#: sphinx/locale/__init__.py:168 -msgid "Warning" -msgstr "" - -#: sphinx/locale/__init__.py:172 -#, python-format -msgid "New in version %s" -msgstr "" - -#: sphinx/locale/__init__.py:173 -#, python-format -msgid "Changed in version %s" -msgstr "" - -#: sphinx/locale/__init__.py:174 -#, python-format -msgid "Deprecated since version %s" -msgstr "" - -#: sphinx/locale/__init__.py:180 -msgid "keyword" -msgstr "" - -#: sphinx/locale/__init__.py:181 -msgid "operator" -msgstr "" - -#: sphinx/locale/__init__.py:182 -msgid "object" -msgstr "" - -#: sphinx/locale/__init__.py:184 -msgid "statement" -msgstr "" - -#: sphinx/locale/__init__.py:185 -msgid "built-in function" -msgstr "" - -#: sphinx/themes/agogo/layout.html:46 sphinx/themes/basic/globaltoc.html:10 -#: sphinx/themes/basic/localtoc.html:11 sphinx/themes/scrolls/layout.html:35 -msgid "Table Of Contents" -msgstr "" - -#: sphinx/themes/agogo/layout.html:51 sphinx/themes/basic/layout.html:138 -#: sphinx/themes/basic/search.html:11 sphinx/themes/basic/search.html:23 -#: sphinx/themes/basic/searchresults.html:10 -msgid "Search" -msgstr "" - -#: sphinx/themes/agogo/layout.html:54 sphinx/themes/basic/searchbox.html:15 -msgid "Go" -msgstr "" - -#: sphinx/themes/agogo/layout.html:81 sphinx/themes/basic/sourcelink.html:15 -msgid "Show Source" -msgstr "" - -#: sphinx/themes/basic/defindex.html:11 -msgid "Overview" -msgstr "" - -#: sphinx/themes/basic/defindex.html:15 -msgid "Welcome! This is" -msgstr "" - -#: sphinx/themes/basic/defindex.html:16 -msgid "the documentation for" -msgstr "" - -#: sphinx/themes/basic/defindex.html:17 -msgid "last updated" -msgstr "" - -#: sphinx/themes/basic/defindex.html:20 -msgid "Indices and tables:" -msgstr "" - -#: sphinx/themes/basic/defindex.html:23 -msgid "Complete Table of Contents" -msgstr "" - -#: sphinx/themes/basic/defindex.html:24 -msgid "lists all sections and subsections" -msgstr "" - -#: sphinx/themes/basic/defindex.html:26 -msgid "search this documentation" -msgstr "" - -#: sphinx/themes/basic/defindex.html:28 -msgid "Global Module Index" -msgstr "" - -#: sphinx/themes/basic/defindex.html:29 -msgid "quick access to all modules" -msgstr "" - -#: sphinx/themes/basic/defindex.html:31 -msgid "all functions, classes, terms" -msgstr "" - -#: sphinx/themes/basic/genindex-single.html:33 -#, python-format -msgid "Index – %(key)s" -msgstr "" - -#: sphinx/themes/basic/genindex-single.html:61 -#: sphinx/themes/basic/genindex-split.html:24 -#: sphinx/themes/basic/genindex-split.html:38 -#: sphinx/themes/basic/genindex.html:72 -msgid "Full index on one page" -msgstr "" - -#: sphinx/themes/basic/genindex-split.html:16 -msgid "Index pages by letter" -msgstr "" - -#: sphinx/themes/basic/genindex-split.html:25 -msgid "can be huge" -msgstr "" - -#: sphinx/themes/basic/layout.html:29 -msgid "Navigation" -msgstr "" - -#: sphinx/themes/basic/layout.html:123 -#, python-format -msgid "Search within %(docstitle)s" -msgstr "" - -#: sphinx/themes/basic/layout.html:132 -msgid "About these documents" -msgstr "" - -#: sphinx/themes/basic/layout.html:141 -msgid "Copyright" -msgstr "" - -#: sphinx/themes/basic/layout.html:186 -#, python-format -msgid "© <a href=\"%(path)s\">Copyright</a> %(copyright)s." -msgstr "" - -#: sphinx/themes/basic/layout.html:188 -#, python-format -msgid "© Copyright %(copyright)s." -msgstr "" - -#: sphinx/themes/basic/layout.html:192 -#, python-format -msgid "Last updated on %(last_updated)s." -msgstr "" - -#: sphinx/themes/basic/layout.html:195 -#, python-format -msgid "" -"Created using <a href=\"http://sphinx-doc.org/\">Sphinx</a> " -"%(sphinx_version)s." -msgstr "" - -#: sphinx/themes/basic/opensearch.xml:4 -#, python-format -msgid "Search %(docstitle)s" -msgstr "" - -#: sphinx/themes/basic/relations.html:11 -msgid "Previous topic" -msgstr "" - -#: sphinx/themes/basic/relations.html:13 -msgid "previous chapter" -msgstr "" - -#: sphinx/themes/basic/relations.html:16 -msgid "Next topic" -msgstr "" - -#: sphinx/themes/basic/relations.html:18 -msgid "next chapter" -msgstr "" - -#: sphinx/themes/basic/search.html:27 -msgid "" -"Please activate JavaScript to enable the search\n" -" functionality." -msgstr "" - -#: sphinx/themes/basic/search.html:32 -msgid "" -"From here you can search these documents. Enter your search\n" -" words into the box below and click \"search\". Note that the search\n" -" function will automatically search for all of the words. Pages\n" -" containing fewer words won't appear in the result list." -msgstr "" - -#: sphinx/themes/basic/search.html:39 -#: sphinx/themes/basic/searchresults.html:17 -msgid "search" -msgstr "" - -#: sphinx/themes/basic/search.html:43 -#: sphinx/themes/basic/searchresults.html:21 -#: sphinx/themes/basic/static/searchtools.js_t:287 -msgid "Search Results" -msgstr "" - -#: sphinx/themes/basic/search.html:45 -#: sphinx/themes/basic/searchresults.html:23 -#: sphinx/themes/basic/static/searchtools.js_t:289 -msgid "" -"Your search did not match any documents. Please make sure that all words are" -" spelled correctly and that you've selected enough categories." -msgstr "" - -#: sphinx/themes/basic/searchbox.html:12 -msgid "Quick search" -msgstr "" - -#: sphinx/themes/basic/sourcelink.html:12 -msgid "This Page" -msgstr "" - -#: sphinx/themes/basic/changes/frameset.html:5 -#: sphinx/themes/basic/changes/versionchanges.html:12 -#, python-format -msgid "Changes in Version %(version)s — %(docstitle)s" -msgstr "" - -#: sphinx/themes/basic/changes/rstsource.html:5 -#, python-format -msgid "%(filename)s — %(docstitle)s" -msgstr "" - -#: sphinx/themes/basic/changes/versionchanges.html:17 -#, python-format -msgid "Automatically generated list of changes in version %(version)s" -msgstr "" - -#: sphinx/themes/basic/changes/versionchanges.html:18 -msgid "Library changes" -msgstr "" - -#: sphinx/themes/basic/changes/versionchanges.html:23 -msgid "C API changes" -msgstr "" - -#: sphinx/themes/basic/changes/versionchanges.html:25 -msgid "Other changes" -msgstr "" - -#: sphinx/themes/basic/static/doctools.js_t:169 sphinx/writers/html.py:708 -#: sphinx/writers/html.py:713 -msgid "Permalink to this headline" -msgstr "" - -#: sphinx/themes/basic/static/doctools.js_t:175 sphinx/writers/html.py:108 -#: sphinx/writers/html.py:117 -msgid "Permalink to this definition" -msgstr "" - -#: sphinx/themes/basic/static/doctools.js_t:208 -msgid "Hide Search Matches" -msgstr "" - -#: sphinx/themes/basic/static/searchtools.js_t:121 -msgid "Searching" -msgstr "" - -#: sphinx/themes/basic/static/searchtools.js_t:126 -msgid "Preparing search..." -msgstr "" - -#: sphinx/themes/basic/static/searchtools.js_t:291 -#, python-format -msgid "Search finished, found %s page(s) matching the search query." -msgstr "" - -#: sphinx/themes/basic/static/searchtools.js_t:344 -msgid ", in " -msgstr "" - -#: sphinx/themes/classic/static/sidebar.js_t:83 -msgid "Expand sidebar" -msgstr "" - -#: sphinx/themes/classic/static/sidebar.js_t:96 -#: sphinx/themes/classic/static/sidebar.js_t:124 -msgid "Collapse sidebar" -msgstr "" - -#: sphinx/themes/haiku/layout.html:24 -msgid "Contents" -msgstr "" - -#: sphinx/writers/html.py:389 -msgid "Permalink to this code" -msgstr "" - -#: sphinx/writers/html.py:393 -msgid "Permalink to this image" -msgstr "" - -#: sphinx/writers/html.py:395 -msgid "Permalink to this toctree" -msgstr "" - -#: sphinx/writers/html.py:717 -msgid "Permalink to this table" -msgstr "" - -#: sphinx/writers/latex.py:380 -msgid "Release" -msgstr "" - -#: sphinx/writers/latex.py:483 -msgid "page" -msgstr "" - -#: sphinx/writers/latex.py:528 -#, python-format -msgid "Unknown configure key: latex_elements[%r] is ignored." -msgstr "" - -#: sphinx/writers/latex.py:1003 sphinx/writers/manpage.py:238 -#: sphinx/writers/texinfo.py:619 -msgid "Footnotes" -msgstr "" - -#: sphinx/writers/latex.py:1112 -msgid "continued from previous page" -msgstr "" - -#: sphinx/writers/latex.py:1118 -msgid "Continued on next page" -msgstr "" - -#: sphinx/writers/manpage.py:287 sphinx/writers/text.py:591 -#, python-format -msgid "[image: %s]" -msgstr "" - -#: sphinx/writers/manpage.py:288 sphinx/writers/text.py:592 -msgid "[image]" -msgstr "" diff --git a/sphinx/setup_command.py b/sphinx/setup_command.py index f263f8df1..ca0cdd88a 100644 --- a/sphinx/setup_command.py +++ b/sphinx/setup_command.py @@ -174,6 +174,7 @@ class BuildDoc(Command): if self.copyright: confoverrides['copyright'] = self.copyright + app = None try: with docutils_namespace(): app = Sphinx(self.source_dir, self.config_dir, diff --git a/sphinx/texinputs/sphinx.sty b/sphinx/texinputs/sphinx.sty index 5037fbd92..cad54e1e2 100644 --- a/sphinx/texinputs/sphinx.sty +++ b/sphinx/texinputs/sphinx.sty @@ -6,7 +6,7 @@ % \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{sphinx}[2016/10/29 v1.5 LaTeX package (Sphinx markup)] +\ProvidesPackage{sphinx}[2016/12/11 v1.5.1 LaTeX package (Sphinx markup)] % we delay handling of options to after having loaded packages, because % of the need to use \definecolor. @@ -946,11 +946,11 @@ % inline markup (custom roles) % \DUrole{#1}{#2} tries \DUrole#1{#2} \providecommand*{\DUrole}[2]{% - \ifcsname DUrole#1\endcsname - \csname DUrole#1\endcsname{#2}% + \ifcsname DUrole\detokenize{#1}\endcsname + \csname DUrole\detokenize{#1}\endcsname{#2}% \else% backwards compatibility: try \docutilsrole#1{#2} - \ifcsname docutilsrole#1\endcsname - \csname docutilsrole#1\endcsname{#2}% + \ifcsname docutilsrole\detokenize{#1}\endcsname + \csname docutilsrole\detokenize{#1}\endcsname{#2}% \else #2% \fi diff --git a/sphinx/util/docutils.py b/sphinx/util/docutils.py index 286b2729b..0704f553e 100644 --- a/sphinx/util/docutils.py +++ b/sphinx/util/docutils.py @@ -13,6 +13,7 @@ from __future__ import absolute_import from copy import copy from contextlib import contextmanager +import docutils from docutils.parsers.rst import directives, roles if False: @@ -22,6 +23,9 @@ if False: from sphinx.environment import BuildEnvironment # NOQA +__version_info__ = tuple(map(int, docutils.__version__.split('.'))) + + @contextmanager def docutils_namespace(): # type: () -> Iterator[None] diff --git a/sphinx/util/requests.py b/sphinx/util/requests.py index 3576b0088..d358d8435 100644 --- a/sphinx/util/requests.py +++ b/sphinx/util/requests.py @@ -22,7 +22,8 @@ from requests.packages.urllib3.exceptions import SSLError, InsecureRequestWarnin # try to load requests[security] try: pkg_resources.require(['requests[security]']) -except pkg_resources.DistributionNotFound: +except (pkg_resources.DistributionNotFound, + pkg_resources.VersionConflict): import ssl if not getattr(ssl, 'HAS_SNI', False): # don't complain on each url processed about the SSL issue diff --git a/sphinx/writers/html.py b/sphinx/writers/html.py index af8b6d98d..76ad8dea1 100644 --- a/sphinx/writers/html.py +++ b/sphinx/writers/html.py @@ -22,6 +22,7 @@ from docutils.writers.html4css1 import Writer, HTMLTranslator as BaseTranslator from sphinx import addnodes from sphinx.deprecation import RemovedInSphinx16Warning from sphinx.locale import admonitionlabels, _ +import sphinx.util.docutils from sphinx.util.images import get_image_size from sphinx.util.smartypants import sphinx_smarty_pants @@ -500,7 +501,7 @@ class HTMLTranslator(BaseTranslator): self.builder.images[olduri]) uri = node['uri'] - if uri.lower().endswith('svg') or uri.lower().endswith('svgz'): + if uri.lower().endswith(('svg', 'svgz')): atts = {'src': uri} if 'width' in node: atts['width'] = node['width'] @@ -532,6 +533,16 @@ class HTMLTranslator(BaseTranslator): node['height'] = str(size[1]) BaseTranslator.visit_image(self, node) + # overwritten + def depart_image(self, node): + if sphinx.util.docutils.__version_info__ >= (0, 13): + # since docutils-0.13, HTMLWriter does not push context data on visit_image() + if node['uri'].lower().endswith(('svg', 'svgz')): + self.body.append(self.context.pop()) + else: + # docutils-0.12 or below, HTML Writer always push context data on visit_image() + self.body.append(self.context.pop()) + def visit_toctree(self, node): # this only happens when formatting a toc from env.tocs -- in this # case we don't want to include the subtree diff --git a/sphinx/writers/latex.py b/sphinx/writers/latex.py index 20a652890..8bd7714a0 100644 --- a/sphinx/writers/latex.py +++ b/sphinx/writers/latex.py @@ -613,7 +613,7 @@ class LaTeXTranslator(nodes.NodeVisitor): def hyperlink(self, id): # type: (unicode) -> unicode - return '{\\hyperref[%s]{' % self.hyperrefescape(id) + return '{\\hyperref[%s]{' % self.idescape(id) def hyperpageref(self, id): # type: (unicode) -> unicode @@ -621,14 +621,10 @@ class LaTeXTranslator(nodes.NodeVisitor): def idescape(self, id): # type: (unicode) -> unicode - return text_type(id).translate(tex_replace_map).\ + return '\\detokenize{%s}' % text_type(id).translate(tex_replace_map).\ encode('ascii', 'backslashreplace').decode('ascii').\ replace('\\', '_') - def hyperrefescape(self, ref): - # type: (unicode) -> unicode - return self.idescape(ref).replace('-', '\\string-') - def babel_renewcommand(self, command, definition): # type: (unicode, unicode) -> unicode if self.elements['multilingual']: diff --git a/tests/root/contents.txt b/tests/root/contents.txt index ce0e5d3fa..d5ff24115 100644 --- a/tests/root/contents.txt +++ b/tests/root/contents.txt @@ -34,6 +34,8 @@ Contents: Latest reference <http://sphinx-doc.org/latest/> Python <http://python.org/> + self + Indices and tables ================== diff --git a/tests/test_build_latex.py b/tests/test_build_latex.py index 6a13ea60a..8a899caa5 100644 --- a/tests/test_build_latex.py +++ b/tests/test_build_latex.py @@ -117,22 +117,24 @@ def test_writer(app, status, warning): assert ('\\begin{sphinxfigure-in-table}\n\\centering\n\\capstart\n' '\\noindent\\sphinxincludegraphics{{img}.png}\n' - '\\sphinxfigcaption{figure in table}\\label{markup:id7}' + '\\sphinxfigcaption{figure in table}\\label{\\detokenize{markup:id7}}' '\\end{sphinxfigure-in-table}\\relax' in result) assert ('\\begin{wrapfigure}{r}{0pt}\n\\centering\n' '\\noindent\\sphinxincludegraphics{{rimg}.png}\n' - '\\caption{figure with align option}\\label{markup:id8}' + '\\caption{figure with align option}\\label{\\detokenize{markup:id8}}' '\\end{wrapfigure}' in result) assert ('\\begin{wrapfigure}{r}{0.500\\linewidth}\n\\centering\n' '\\noindent\\sphinxincludegraphics{{rimg}.png}\n' - '\\caption{figure with align \\& figwidth option}\\label{markup:id9}' + '\\caption{figure with align \\& figwidth option}' + '\\label{\\detokenize{markup:id9}}' '\\end{wrapfigure}' in result) assert ('\\begin{wrapfigure}{r}{3cm}\n\\centering\n' '\\noindent\\sphinxincludegraphics[width=3cm]{{rimg}.png}\n' - '\\caption{figure with align \\& width option}\\label{markup:id10}' + '\\caption{figure with align \\& width option}' + '\\label{\\detokenize{markup:id10}}' '\\end{wrapfigure}' in result) @@ -180,16 +182,26 @@ def test_numref(app, status, warning): assert '\\addto\\captionsenglish{\\renewcommand{\\figurename}{Fig.\\@ }}' in result assert '\\addto\\captionsenglish{\\renewcommand{\\tablename}{Table }}' in result assert '\\addto\\captionsenglish{\\renewcommand{\\literalblockname}{Listing }}' in result - assert '\\hyperref[index:fig1]{Fig.\\@ \\ref{index:fig1}}' in result - assert '\\hyperref[baz:fig22]{Figure\\ref{baz:fig22}}' in result - assert '\\hyperref[index:table-1]{Table \\ref{index:table-1}}' in result - assert '\\hyperref[baz:table22]{Table:\\ref{baz:table22}}' in result - assert '\\hyperref[index:code-1]{Listing \\ref{index:code-1}}' in result - assert '\\hyperref[baz:code22]{Code-\\ref{baz:code22}}' in result - assert '\\hyperref[foo:foo]{Section \\ref{foo:foo}}' in result - assert '\\hyperref[bar:bar-a]{Section \\ref{bar:bar-a}}' in result - assert '\\hyperref[index:fig1]{Fig.\\ref{index:fig1} \\nameref{index:fig1}}' in result - assert '\\hyperref[foo:foo]{Sect.\\ref{foo:foo} \\nameref{foo:foo}}' in result + assert ('\\hyperref[\\detokenize{index:fig1}]' + '{Fig.\\@ \\ref{\\detokenize{index:fig1}}}') in result + assert ('\\hyperref[\\detokenize{baz:fig22}]' + '{Figure\\ref{\\detokenize{baz:fig22}}}') in result + assert ('\\hyperref[\\detokenize{index:table-1}]' + '{Table \\ref{\\detokenize{index:table-1}}}') in result + assert ('\\hyperref[\\detokenize{baz:table22}]' + '{Table:\\ref{\\detokenize{baz:table22}}}') in result + assert ('\\hyperref[\\detokenize{index:code-1}]' + '{Listing \\ref{\\detokenize{index:code-1}}}') in result + assert ('\\hyperref[\\detokenize{baz:code22}]' + '{Code-\\ref{\\detokenize{baz:code22}}}') in result + assert ('\\hyperref[\\detokenize{foo:foo}]' + '{Section \\ref{\\detokenize{foo:foo}}}') in result + assert ('\\hyperref[\\detokenize{bar:bar-a}]' + '{Section \\ref{\\detokenize{bar:bar-a}}}') in result + assert ('\\hyperref[\\detokenize{index:fig1}]{Fig.\\ref{\\detokenize{index:fig1}} ' + '\\nameref{\\detokenize{index:fig1}}}') in result + assert ('\\hyperref[\\detokenize{foo:foo}]{Sect.\\ref{\\detokenize{foo:foo}} ' + '\\nameref{\\detokenize{foo:foo}}}') in result @with_app(buildername='latex', testroot='numfig', @@ -207,22 +219,32 @@ def test_numref_with_prefix1(app, status, warning): assert '\\addto\\captionsenglish{\\renewcommand{\\figurename}{Figure:}}' in result assert '\\addto\\captionsenglish{\\renewcommand{\\tablename}{Tab\\_}}' in result assert '\\addto\\captionsenglish{\\renewcommand{\\literalblockname}{Code-}}' in result - assert '\\ref{index:fig1}' in result - assert '\\ref{baz:fig22}' in result - assert '\\ref{index:table-1}' in result - assert '\\ref{baz:table22}' in result - assert '\\ref{index:code-1}' in result - assert '\\ref{baz:code22}' in result - assert '\\hyperref[index:fig1]{Figure:\\ref{index:fig1}}' in result - assert '\\hyperref[baz:fig22]{Figure\\ref{baz:fig22}}' in result - assert '\\hyperref[index:table-1]{Tab\\_\\ref{index:table-1}}' in result - assert '\\hyperref[baz:table22]{Table:\\ref{baz:table22}}' in result - assert '\\hyperref[index:code-1]{Code-\\ref{index:code-1}}' in result - assert '\\hyperref[baz:code22]{Code-\\ref{baz:code22}}' in result - assert '\\hyperref[foo:foo]{SECTION-\\ref{foo:foo}}' in result - assert '\\hyperref[bar:bar-a]{SECTION-\\ref{bar:bar-a}}' in result - assert '\\hyperref[index:fig1]{Fig.\\ref{index:fig1} \\nameref{index:fig1}}' in result - assert '\\hyperref[foo:foo]{Sect.\\ref{foo:foo} \\nameref{foo:foo}}' in result + assert '\\ref{\\detokenize{index:fig1}}' in result + assert '\\ref{\\detokenize{baz:fig22}}' in result + assert '\\ref{\\detokenize{index:table-1}}' in result + assert '\\ref{\\detokenize{baz:table22}}' in result + assert '\\ref{\\detokenize{index:code-1}}' in result + assert '\\ref{\\detokenize{baz:code22}}' in result + assert ('\\hyperref[\\detokenize{index:fig1}]' + '{Figure:\\ref{\\detokenize{index:fig1}}}') in result + assert ('\\hyperref[\\detokenize{baz:fig22}]' + '{Figure\\ref{\\detokenize{baz:fig22}}}') in result + assert ('\\hyperref[\\detokenize{index:table-1}]' + '{Tab\\_\\ref{\\detokenize{index:table-1}}}') in result + assert ('\\hyperref[\\detokenize{baz:table22}]' + '{Table:\\ref{\\detokenize{baz:table22}}}') in result + assert ('\\hyperref[\\detokenize{index:code-1}]' + '{Code-\\ref{\\detokenize{index:code-1}}}') in result + assert ('\\hyperref[\\detokenize{baz:code22}]' + '{Code-\\ref{\\detokenize{baz:code22}}}') in result + assert ('\\hyperref[\\detokenize{foo:foo}]' + '{SECTION-\\ref{\\detokenize{foo:foo}}}') in result + assert ('\\hyperref[\\detokenize{bar:bar-a}]' + '{SECTION-\\ref{\\detokenize{bar:bar-a}}}') in result + assert ('\\hyperref[\\detokenize{index:fig1}]{Fig.\\ref{\\detokenize{index:fig1}} ' + '\\nameref{\\detokenize{index:fig1}}}') in result + assert ('\\hyperref[\\detokenize{foo:foo}]{Sect.\\ref{\\detokenize{foo:foo}} ' + '\\nameref{\\detokenize{foo:foo}}}') in result @with_app(buildername='latex', testroot='numfig', @@ -242,16 +264,26 @@ def test_numref_with_prefix2(app, status, warning): assert '\\addto\\captionsenglish{\\renewcommand{\\tablename}{Tab\\_}}' in result assert '\\def\\fnum@table{\\tablename\\thetable:}' in result assert '\\addto\\captionsenglish{\\renewcommand{\\literalblockname}{Code-}}' in result - assert '\\hyperref[index:fig1]{Figure:\\ref{index:fig1}.\\@}' in result - assert '\\hyperref[baz:fig22]{Figure\\ref{baz:fig22}}' in result - assert '\\hyperref[index:table-1]{Tab\\_\\ref{index:table-1}:}' in result - assert '\\hyperref[baz:table22]{Table:\\ref{baz:table22}}' in result - assert '\\hyperref[index:code-1]{Code-\\ref{index:code-1} \\textbar{} }' in result - assert '\\hyperref[baz:code22]{Code-\\ref{baz:code22}}' in result - assert '\\hyperref[foo:foo]{SECTION\\_\\ref{foo:foo}\\_}' in result - assert '\\hyperref[bar:bar-a]{SECTION\\_\\ref{bar:bar-a}\\_}' in result - assert '\\hyperref[index:fig1]{Fig.\\ref{index:fig1} \\nameref{index:fig1}}' in result - assert '\\hyperref[foo:foo]{Sect.\\ref{foo:foo} \\nameref{foo:foo}}' in result + assert ('\\hyperref[\\detokenize{index:fig1}]' + '{Figure:\\ref{\\detokenize{index:fig1}}.\\@}') in result + assert ('\\hyperref[\\detokenize{baz:fig22}]' + '{Figure\\ref{\\detokenize{baz:fig22}}}') in result + assert ('\\hyperref[\\detokenize{index:table-1}]' + '{Tab\\_\\ref{\\detokenize{index:table-1}}:}') in result + assert ('\\hyperref[\\detokenize{baz:table22}]' + '{Table:\\ref{\\detokenize{baz:table22}}}') in result + assert ('\\hyperref[\\detokenize{index:code-1}]{Code-\\ref{\\detokenize{index:code-1}} ' + '\\textbar{} }') in result + assert ('\\hyperref[\\detokenize{baz:code22}]' + '{Code-\\ref{\\detokenize{baz:code22}}}') in result + assert ('\\hyperref[\\detokenize{foo:foo}]' + '{SECTION\\_\\ref{\\detokenize{foo:foo}}\\_}') in result + assert ('\\hyperref[\\detokenize{bar:bar-a}]' + '{SECTION\\_\\ref{\\detokenize{bar:bar-a}}\\_}') in result + assert ('\\hyperref[\\detokenize{index:fig1}]{Fig.\\ref{\\detokenize{index:fig1}} ' + '\\nameref{\\detokenize{index:fig1}}}') in result + assert ('\\hyperref[\\detokenize{foo:foo}]{Sect.\\ref{\\detokenize{foo:foo}} ' + '\\nameref{\\detokenize{foo:foo}}}') in result @with_app(buildername='latex', testroot='numfig', @@ -265,16 +297,26 @@ def test_numref_with_language_ja(app, status, warning): assert u'\\renewcommand{\\figurename}{\u56f3 }' in result assert '\\renewcommand{\\tablename}{TABLE }' in result assert '\\renewcommand{\\literalblockname}{LIST }' in result - assert u'\\hyperref[index:fig1]{\u56f3 \\ref{index:fig1}}' in result - assert '\\hyperref[baz:fig22]{Figure\\ref{baz:fig22}}' in result - assert '\\hyperref[index:table-1]{TABLE \\ref{index:table-1}}' in result - assert '\\hyperref[baz:table22]{Table:\\ref{baz:table22}}' in result - assert '\\hyperref[index:code-1]{LIST \\ref{index:code-1}}' in result - assert '\\hyperref[baz:code22]{Code-\\ref{baz:code22}}' in result - assert u'\\hyperref[foo:foo]{\\ref{foo:foo} \u7ae0}' in result - assert u'\\hyperref[bar:bar-a]{\\ref{bar:bar-a} \u7ae0}' in result - assert '\\hyperref[index:fig1]{Fig.\\ref{index:fig1} \\nameref{index:fig1}}' in result - assert '\\hyperref[foo:foo]{Sect.\\ref{foo:foo} \\nameref{foo:foo}}' in result + assert (u'\\hyperref[\\detokenize{index:fig1}]' + u'{\u56f3 \\ref{\\detokenize{index:fig1}}}') in result + assert ('\\hyperref[\\detokenize{baz:fig22}]' + '{Figure\\ref{\\detokenize{baz:fig22}}}') in result + assert ('\\hyperref[\\detokenize{index:table-1}]' + '{TABLE \\ref{\\detokenize{index:table-1}}}') in result + assert ('\\hyperref[\\detokenize{baz:table22}]' + '{Table:\\ref{\\detokenize{baz:table22}}}') in result + assert ('\\hyperref[\\detokenize{index:code-1}]' + '{LIST \\ref{\\detokenize{index:code-1}}}') in result + assert ('\\hyperref[\\detokenize{baz:code22}]' + '{Code-\\ref{\\detokenize{baz:code22}}}') in result + assert (u'\\hyperref[\\detokenize{foo:foo}]' + u'{\\ref{\\detokenize{foo:foo}} \u7ae0}') in result + assert (u'\\hyperref[\\detokenize{bar:bar-a}]' + u'{\\ref{\\detokenize{bar:bar-a}} \u7ae0}') in result + assert ('\\hyperref[\\detokenize{index:fig1}]{Fig.\\ref{\\detokenize{index:fig1}} ' + '\\nameref{\\detokenize{index:fig1}}}') in result + assert ('\\hyperref[\\detokenize{foo:foo}]{Sect.\\ref{\\detokenize{foo:foo}} ' + '\\nameref{\\detokenize{foo:foo}}}') in result @with_app(buildername='latex') @@ -420,10 +462,15 @@ def test_footnote(app, status, warning): assert ('\\begin{footnote}[2]\\sphinxAtStartFootnote\nauto numbered\n%\n' '\\end{footnote}') in result assert '\\begin{footnote}[3]\\sphinxAtStartFootnote\nnamed\n%\n\\end{footnote}' in result - assert '{\\hyperref[footnote:bar]{\\sphinxcrossref{{[}bar{]}}}}' in result - assert '\\bibitem[bar]{bar}{\\phantomsection\\label{footnote:bar} ' in result - assert '\\bibitem[bar]{bar}{\\phantomsection\\label{footnote:bar} \ncite' in result - assert '\\bibitem[bar]{bar}{\\phantomsection\\label{footnote:bar} \ncite\n}' in result + assert '{\\hyperref[\\detokenize{footnote:bar}]{\\sphinxcrossref{{[}bar{]}}}}' in result + assert ('\\bibitem[bar]{\\detokenize{bar}}' + '{\\phantomsection\\label{\\detokenize{footnote:bar}} ') in result + assert ('\\bibitem[bar]{\\detokenize{bar}}' + '{\\phantomsection\\label{\\detokenize{footnote:bar}} ' + '\ncite') in result + assert ('\\bibitem[bar]{\\detokenize{bar}}' + '{\\phantomsection\\label{\\detokenize{footnote:bar}} ' + '\ncite\n}') in result assert '\\caption{Table caption \\sphinxfootnotemark[4]' in result assert 'name \\sphinxfootnotemark[5]' in result assert ('\\end{threeparttable}\n\n%\n' @@ -440,29 +487,31 @@ def test_reference_in_caption_and_codeblock_in_footnote(app, status, warning): print(result) print(status.getvalue()) print(warning.getvalue()) - assert ('\\caption{This is the figure caption with a reference to \\label{index:id2}' - '{\\hyperref[index:authoryear]{\\sphinxcrossref{{[}AuthorYear{]}}}}.}' in result) + assert ('\\caption{This is the figure caption with a reference to ' + '\\label{\\detokenize{index:id2}}' + '{\\hyperref[\\detokenize{index:authoryear}]' + '{\\sphinxcrossref{{[}AuthorYear{]}}}}.}' in result) assert '\\chapter{The section with a reference to {[}AuthorYear{]}}' in result assert '\\caption{The table title with a reference to {[}AuthorYear{]}}' in result assert '\\paragraph{The rubric title with a reference to {[}AuthorYear{]}}' in result assert ('\\chapter{The section with a reference to \\sphinxfootnotemark[4]}\n' - '\\label{index:the-section-with-a-reference-to}' + '\\label{\\detokenize{index:the-section-with-a-reference-to}}' '%\n\\begin{footnotetext}[4]\\sphinxAtStartFootnote\n' 'Footnote in section\n%\n\\end{footnotetext}') in result assert ('\\caption{This is the figure caption with a footnote to ' - '\\sphinxfootnotemark[6].}\label{index:id27}\end{figure}\n' + '\\sphinxfootnotemark[6].}\label{\\detokenize{index:id27}}\end{figure}\n' '%\n\\begin{footnotetext}[6]\\sphinxAtStartFootnote\n' 'Footnote in caption\n%\n\\end{footnotetext}')in result assert ('\\caption{footnote \\sphinxfootnotemark[7] ' - 'in caption of normal table}\\label{index:id28}') in result + 'in caption of normal table}\\label{\\detokenize{index:id28}}') in result assert ('\\caption{footnote \\sphinxfootnotemark[8] ' 'in caption \sphinxfootnotemark[9] of longtable}') in result assert ('\end{longtable}\n\n%\n\\begin{footnotetext}[8]' '\sphinxAtStartFootnote\n' 'Foot note in longtable\n%\n\\end{footnotetext}' in result) assert ('This is a reference to the code-block in the footnote:\n' - '{\hyperref[index:codeblockinfootnote]{\\sphinxcrossref{\\DUrole' - '{std,std-ref}{I am in a footnote}}}}') in result + '{\hyperref[\\detokenize{index:codeblockinfootnote}]' + '{\\sphinxcrossref{\\DUrole{std,std-ref}{I am in a footnote}}}}') in result assert ('&\nThis is one more footnote with some code in it ' '\\sphinxfootnotemark[10].\n\\\\') in result assert '\\begin{sphinxVerbatim}[commandchars=\\\\\\{\\}]' in result @@ -477,16 +526,18 @@ def test_latex_show_urls_is_inline(app, status, warning): print(status.getvalue()) print(warning.getvalue()) assert ('Same footnote number %\n\\begin{footnote}[1]\\sphinxAtStartFootnote\n' - 'footnote in bar\n%\n\\end{footnote} in bar.rst' in result) + 'footnote in bar\n%\n\\end{footnote} in bar.rst') in result assert ('Auto footnote number %\n\\begin{footnote}[1]\\sphinxAtStartFootnote\n' - 'footnote in baz\n%\n\\end{footnote} in baz.rst' in result) - assert ('\\phantomsection\\label{index:id30}{\\hyperref[index:the\\string-section' - '\\string-with\\string-a\\string-reference\\string-to\\string-authoryear]' + 'footnote in baz\n%\n\\end{footnote} in baz.rst') in result + assert ('\\phantomsection\\label{\\detokenize{index:id30}}' + '{\\hyperref[\\detokenize{index:the-section' + '-with-a-reference-to-authoryear}]' '{\\sphinxcrossref{The section with a reference to ' - '\\phantomsection\\label{index:id1}' - '{\\hyperref[index:authoryear]{\\sphinxcrossref{{[}AuthorYear{]}}}}}}}' in result) - assert ('\\phantomsection\\label{index:id31}{\\hyperref[index:the\\string-section' - '\\string-with\\string-a\\string-reference\\string-to]' + '\\phantomsection\\label{\\detokenize{index:id1}}' + '{\\hyperref[\\detokenize{index:authoryear}]' + '{\\sphinxcrossref{{[}AuthorYear{]}}}}}}}') in result + assert ('\\phantomsection\\label{\\detokenize{index:id31}}' + '{\\hyperref[\\detokenize{index:the-section-with-a-reference-to}]' '{\\sphinxcrossref{The section with a reference to }}}' in result) assert ('First footnote: %\n\\begin{footnote}[2]\\sphinxAtStartFootnote\n' 'First\n%\n\\end{footnote}') in result @@ -496,17 +547,17 @@ def test_latex_show_urls_is_inline(app, status, warning): assert ('Third footnote: %\n\\begin{footnote}[3]\\sphinxAtStartFootnote\n' 'Third\n%\n\\end{footnote}') in result assert ('\\href{http://sphinx-doc.org/~test/}{URL including tilde} ' - '(http://sphinx-doc.org/\\textasciitilde{}test/)' in result) - assert ('\\item[{\\href{http://sphinx-doc.org/}{URL in term} (http://sphinx-doc.org/)}] ' - '\\leavevmode\nDescription' in result) + '(http://sphinx-doc.org/\\textasciitilde{}test/)') in result + assert ('\\item[{\\href{http://sphinx-doc.org/}{URL in term} ' + '(http://sphinx-doc.org/)}] \\leavevmode\nDescription' in result) assert ('\\item[{Footnote in term \\sphinxfootnotemark[5]}] ' '\\leavevmode%\n\\begin{footnotetext}[5]\\sphinxAtStartFootnote\n' - 'Footnote in term\n%\n\\end{footnotetext}\nDescription' in result) + 'Footnote in term\n%\n\\end{footnotetext}\nDescription') in result assert ('\\item[{\\href{http://sphinx-doc.org/}{Term in deflist} ' - '(http://sphinx-doc.org/)}] \\leavevmode\nDescription' in result) - assert ('\\url{https://github.com/sphinx-doc/sphinx}\n' in result) + '(http://sphinx-doc.org/)}] \\leavevmode\nDescription') in result + assert '\\url{https://github.com/sphinx-doc/sphinx}\n' in result assert ('\\href{mailto:sphinx-dev@googlegroups.com}' - '{sphinx-dev@googlegroups.com}' in result) + '{sphinx-dev@googlegroups.com}') in result @with_app(buildername='latex', testroot='footnotes', @@ -518,17 +569,18 @@ def test_latex_show_urls_is_footnote(app, status, warning): print(status.getvalue()) print(warning.getvalue()) assert ('Same footnote number %\n\\begin{footnote}[1]\\sphinxAtStartFootnote\n' - 'footnote in bar\n%\n\\end{footnote} in bar.rst' in result) + 'footnote in bar\n%\n\\end{footnote} in bar.rst') in result assert ('Auto footnote number %\n\\begin{footnote}[2]\\sphinxAtStartFootnote\n' - 'footnote in baz\n%\n\\end{footnote} in baz.rst' in result) - assert ('\\phantomsection\\label{index:id30}{\\hyperref[index:the\\string-section' - '\\string-with\\string-a\\string-reference\\string-to\\string-authoryear]' + 'footnote in baz\n%\n\\end{footnote} in baz.rst') in result + assert ('\\phantomsection\\label{\\detokenize{index:id30}}' + '{\\hyperref[\\detokenize{index:the-section-with-a-reference-to-authoryear}]' '{\\sphinxcrossref{The section with a reference ' - 'to \\phantomsection\\label{index:id1}' - '{\\hyperref[index:authoryear]{\\sphinxcrossref{{[}AuthorYear{]}}}}}}}' in result) - assert ('\\phantomsection\\label{index:id31}{\\hyperref[index:the\\string-section' - '\\string-with\\string-a\\string-reference\\string-to]' - '{\\sphinxcrossref{The section with a reference to }}}' in result) + 'to \\phantomsection\\label{\\detokenize{index:id1}}' + '{\\hyperref[\\detokenize{index:authoryear}]' + '{\\sphinxcrossref{{[}AuthorYear{]}}}}}}}') in result + assert ('\\phantomsection\\label{\\detokenize{index:id31}}' + '{\\hyperref[\\detokenize{index:the-section-with-a-reference-to}]' + '{\\sphinxcrossref{The section with a reference to }}}') in result assert ('First footnote: %\n\\begin{footnote}[3]\\sphinxAtStartFootnote\n' 'First\n%\n\\end{footnote}') in result assert ('Second footnote: %\n\\begin{footnote}[1]\\sphinxAtStartFootnote\n' @@ -541,7 +593,8 @@ def test_latex_show_urls_is_footnote(app, status, warning): assert ('\\href{http://sphinx-doc.org/~test/}{URL including tilde}' '%\n\\begin{footnote}[5]\\sphinxAtStartFootnote\n' '\\nolinkurl{http://sphinx-doc.org/~test/}\n%\n\\end{footnote}') in result - assert ('\\item[{\\href{http://sphinx-doc.org/}{URL in term}\\sphinxfootnotemark[8]}] ' + assert ('\\item[{\\href{http://sphinx-doc.org/}' + '{URL in term}\\sphinxfootnotemark[8]}] ' '\\leavevmode%\n\\begin{footnotetext}[8]\\sphinxAtStartFootnote\n' '\\nolinkurl{http://sphinx-doc.org/}\n%\n' '\\end{footnotetext}\nDescription') in result @@ -553,7 +606,7 @@ def test_latex_show_urls_is_footnote(app, status, warning): '\\leavevmode%\n\\begin{footnotetext}[9]\\sphinxAtStartFootnote\n' '\\nolinkurl{http://sphinx-doc.org/}\n%\n' '\\end{footnotetext}\nDescription') in result - assert ('\\url{https://github.com/sphinx-doc/sphinx}\n' in result) + assert '\\url{https://github.com/sphinx-doc/sphinx}\n' in result assert ('\\href{mailto:sphinx-dev@googlegroups.com}' '{sphinx-dev@googlegroups.com}\n') in result @@ -570,13 +623,14 @@ def test_latex_show_urls_is_no(app, status, warning): 'footnote in bar\n%\n\\end{footnote} in bar.rst') in result assert ('Auto footnote number %\n\\begin{footnote}[1]\\sphinxAtStartFootnote\n' 'footnote in baz\n%\n\\end{footnote} in baz.rst') in result - assert ('\\phantomsection\\label{index:id30}{\\hyperref[index:the\\string-section' - '\\string-with\\string-a\\string-reference\\string-to\\string-authoryear]' + assert ('\\phantomsection\\label{\\detokenize{index:id30}}' + '{\\hyperref[\\detokenize{index:the-section-with-a-reference-to-authoryear}]' '{\\sphinxcrossref{The section with a reference ' - 'to \\phantomsection\\label{index:id1}' - '{\\hyperref[index:authoryear]{\\sphinxcrossref{{[}AuthorYear{]}}}}}}}') in result - assert ('\\phantomsection\\label{index:id31}{\\hyperref[index:the\\string-section' - '\\string-with\\string-a\\string-reference\\string-to]' + 'to \\phantomsection\\label{\\detokenize{index:id1}}' + '{\\hyperref[\\detokenize{index:authoryear}]' + '{\\sphinxcrossref{{[}AuthorYear{]}}}}}}}') in result + assert ('\\phantomsection\\label{\\detokenize{index:id31}}' + '{\\hyperref[\\detokenize{index:the-section-with-a-reference-to}]' '{\\sphinxcrossref{The section with a reference to }}}' in result) assert ('First footnote: %\n\\begin{footnote}[2]\\sphinxAtStartFootnote\n' 'First\n%\n\\end{footnote}') in result diff --git a/tests/test_directive_code.py b/tests/test_directive_code.py index a29db6b90..8f926956e 100644 --- a/tests/test_directive_code.py +++ b/tests/test_directive_code.py @@ -66,9 +66,9 @@ def test_code_block_caption_latex(app, status, warning): app.builder.build_all() latex = (app.outdir / 'Python.tex').text(encoding='utf-8') caption = '\\sphinxSetupCaptionForVerbatim{caption \\sphinxstyleemphasis{test} rb}' - label = '\\def\\sphinxLiteralBlockLabel{\\label{caption:id1}}' - link = '\hyperref[caption:name-test-rb]' \ - '{Listing \\ref{caption:name-test-rb}}' + label = '\\def\\sphinxLiteralBlockLabel{\\label{\\detokenize{caption:id1}}}' + link = '\hyperref[\\detokenize{caption:name-test-rb}]' \ + '{Listing \\ref{\\detokenize{caption:name-test-rb}}}' assert caption in latex assert label in latex assert link in latex @@ -78,11 +78,12 @@ def test_code_block_caption_latex(app, status, warning): def test_code_block_namedlink_latex(app, status, warning): app.builder.build_all() latex = (app.outdir / 'Python.tex').text(encoding='utf-8') - label1 = '\def\sphinxLiteralBlockLabel{\label{caption:name-test-rb}}' - link1 = '\\hyperref[caption:name\\string-test\\string-rb]'\ + label1 = '\\def\\sphinxLiteralBlockLabel{\\label{\\detokenize{caption:name-test-rb}}}' + link1 = '\\hyperref[\\detokenize{caption:name-test-rb}]'\ '{\\sphinxcrossref{\\DUrole{std,std-ref}{Ruby}}' - label2 = '\def\sphinxLiteralBlockLabel{\label{namedblocks:some-ruby-code}}' - link2 = '\\hyperref[namedblocks:some\\string-ruby\\string-code]'\ + label2 = ('\\def\\sphinxLiteralBlockLabel' + '{\\label{\\detokenize{namedblocks:some-ruby-code}}}') + link2 = '\\hyperref[\\detokenize{namedblocks:some-ruby-code}]'\ '{\\sphinxcrossref{\\DUrole{std,std-ref}{the ruby code}}}' assert label1 in latex assert link1 in latex @@ -261,9 +262,9 @@ def test_literalinclude_caption_latex(app, status, warning): app.builder.build('index') latex = (app.outdir / 'Python.tex').text(encoding='utf-8') caption = '\\sphinxSetupCaptionForVerbatim{caption \\sphinxstylestrong{test} py}' - label = '\\def\\sphinxLiteralBlockLabel{\\label{caption:id2}}' - link = '\hyperref[caption:name-test-py]' \ - '{Listing \\ref{caption:name-test-py}}' + label = '\\def\\sphinxLiteralBlockLabel{\\label{\\detokenize{caption:id2}}}' + link = '\hyperref[\\detokenize{caption:name-test-py}]' \ + '{Listing \\ref{\\detokenize{caption:name-test-py}}}' assert caption in latex assert label in latex assert link in latex @@ -273,11 +274,12 @@ def test_literalinclude_caption_latex(app, status, warning): def test_literalinclude_namedlink_latex(app, status, warning): app.builder.build('index') latex = (app.outdir / 'Python.tex').text(encoding='utf-8') - label1 = '\def\sphinxLiteralBlockLabel{\label{caption:name-test-py}}' - link1 = '\\hyperref[caption:name\\string-test\\string-py]'\ + label1 = '\\def\\sphinxLiteralBlockLabel{\\label{\\detokenize{caption:name-test-py}}}' + link1 = '\\hyperref[\\detokenize{caption:name-test-py}]'\ '{\\sphinxcrossref{\\DUrole{std,std-ref}{Python}}' - label2 = '\def\sphinxLiteralBlockLabel{\label{namedblocks:some-python-code}}' - link2 = '\\hyperref[namedblocks:some\\string-python\\string-code]'\ + label2 = ('\\def\\sphinxLiteralBlockLabel' + '{\\label{\\detokenize{namedblocks:some-python-code}}}') + link2 = '\\hyperref[\\detokenize{namedblocks:some-python-code}]'\ '{\\sphinxcrossref{\\DUrole{std,std-ref}{the python code}}}' assert label1 in latex assert link1 in latex diff --git a/tests/test_ext_inheritance_diagram.py b/tests/test_ext_inheritance_diagram.py index fb78c89f4..0171cafe6 100644 --- a/tests/test_ext_inheritance_diagram.py +++ b/tests/test_ext_inheritance_diagram.py @@ -40,7 +40,7 @@ def test_inheritance_diagram_latex(app, status, warning): pattern = ('\\\\begin{figure}\\[htbp]\n\\\\centering\n\\\\capstart\n\n' '\\\\includegraphics{inheritance-\\w+.pdf}\n' - '\\\\caption{Test Foo!}\\\\label{index:id1}\\\\end{figure}') + '\\\\caption{Test Foo!}\\\\label{\\\\detokenize{index:id1}}\\\\end{figure}') assert re.search(pattern, content, re.M) |