Read the Docs build information Build id: 25912 Project: damnit Version: docs Commit: d36e0f0977c563df0a77f9a0a2723d30546390e3 Date: 2023-04-05T16:50:20.810451Z State: finished Success: False [rtd-command-info] start-time: 2023-04-05T16:50:21.993408Z, end-time: 2023-04-05T16:50:22.552620Z, duration: 0, exit-code: 0 git clone --no-single-branch --depth 50 http://git.xfel.eu/amore/mid-2832.git . Cloning into '.'... [rtd-command-info] start-time: 2023-04-05T16:50:22.813938Z, end-time: 2023-04-05T16:50:22.878634Z, duration: 0, exit-code: 0 git checkout --force origin/docs Note: checking out 'origin/docs'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at d36e0f0 Add documentation [rtd-command-info] start-time: 2023-04-05T16:50:22.962970Z, end-time: 2023-04-05T16:50:23.021844Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2023-04-05T16:50:24.257420Z, end-time: 2023-04-05T16:50:29.007314Z, duration: 4, exit-code: 0 python3.7 -mvirtualenv /usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs Using base prefix '/home/docs/.pyenv/versions/3.7.3' New python executable in /usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/bin/python3.7 Also creating executable in /usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/bin/python Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2023-04-05T16:50:29.093529Z, end-time: 2023-04-05T16:50:30.021643Z, duration: 0, exit-code: 0 /usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/bin/python -m pip install --upgrade --no-cache-dir pip Requirement already satisfied: pip in /usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/lib/python3.7/site-packages (23.0.1) [rtd-command-info] start-time: 2023-04-05T16:50:30.109562Z, end-time: 2023-04-05T16:50:39.289062Z, duration: 9, exit-code: 0 /usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/bin/python -m pip install --upgrade --no-cache-dir jinja2==2.11.3 markupsafe==2.0.1 Pygments==2.3.1 setuptools==41.0.1 docutils==0.14 mock==1.0.1 pillow==5.4.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.8.1 recommonmark==0.5.0 sphinx<2 sphinx-rtd-theme<0.5 readthedocs-sphinx-ext<1.1 Collecting jinja2==2.11.3 Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.7/125.7 kB 3.3 MB/s eta 0:00:00 Collecting markupsafe==2.0.1 Downloading MarkupSafe-2.0.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (31 kB) Collecting Pygments==2.3.1 Downloading Pygments-2.3.1-py2.py3-none-any.whl (849 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 849.5/849.5 kB 18.2 MB/s eta 0:00:00 Collecting setuptools==41.0.1 Downloading setuptools-41.0.1-py2.py3-none-any.whl (575 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 576.0/576.0 kB 186.6 MB/s eta 0:00:00 Collecting docutils==0.14 Downloading docutils-0.14-py3-none-any.whl (543 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 543.2/543.2 kB 176.6 MB/s eta 0:00:00 Collecting mock==1.0.1 Downloading mock-1.0.1.zip (861 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 861.9/861.9 kB 181.4 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting pillow==5.4.1 Downloading Pillow-5.4.1-cp37-cp37m-manylinux1_x86_64.whl (2.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 115.3 MB/s eta 0:00:00 Collecting alabaster!=0.7.5,<0.8,>=0.7 Downloading alabaster-0.7.13-py3-none-any.whl (13 kB) Collecting commonmark==0.8.1 Downloading commonmark-0.8.1-py2.py3-none-any.whl (47 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.4/47.4 kB 123.6 MB/s eta 0:00:00 Collecting recommonmark==0.5.0 Downloading recommonmark-0.5.0-py2.py3-none-any.whl (9.8 kB) Collecting sphinx<2 Downloading Sphinx-1.8.6-py2.py3-none-any.whl (3.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 172.6 MB/s eta 0:00:00 Collecting sphinx-rtd-theme<0.5 Downloading sphinx_rtd_theme-0.4.3-py2.py3-none-any.whl (6.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.4/6.4 MB 138.8 MB/s eta 0:00:00 Collecting readthedocs-sphinx-ext<1.1 Downloading readthedocs_sphinx_ext-1.0.4-py2.py3-none-any.whl (28 kB) Collecting future Downloading future-0.18.3.tar.gz (840 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 840.9/840.9 kB 223.7 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting sphinxcontrib-websupport Downloading sphinxcontrib_websupport-1.2.4-py2.py3-none-any.whl (39 kB) Collecting packaging Downloading packaging-23.0-py3-none-any.whl (42 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.7/42.7 kB 111.9 MB/s eta 0:00:00 Collecting snowballstemmer>=1.1 Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.0/93.0 kB 154.9 MB/s eta 0:00:00 Collecting requests>=2.0.0 Downloading requests-2.28.2-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 171.2 MB/s eta 0:00:00 Collecting babel!=2.0,>=1.3 Downloading Babel-2.12.1-py3-none-any.whl (10.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.1/10.1 MB 93.8 MB/s eta 0:00:00 Collecting six>=1.5 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting imagesize Downloading imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB) Collecting pytz>=2015.7 Downloading pytz-2023.3-py2.py3-none-any.whl (502 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.3/502.3 kB 217.4 MB/s eta 0:00:00 Collecting certifi>=2017.4.17 Downloading certifi-2022.12.7-py3-none-any.whl (155 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 kB 149.6 MB/s eta 0:00:00 Collecting charset-normalizer<4,>=2 Downloading charset_normalizer-3.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (171 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 171.0/171.0 kB 193.3 MB/s eta 0:00:00 Collecting idna<4,>=2.5 Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 163.6 MB/s eta 0:00:00 Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.15-py2.py3-none-any.whl (140 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.9/140.9 kB 181.4 MB/s eta 0:00:00 Collecting sphinxcontrib-serializinghtml Downloading sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.0/94.0 kB 192.8 MB/s eta 0:00:00 Building wheels for collected packages: mock, future Building wheel for mock (setup.py): started Building wheel for mock (setup.py): finished with status 'done' Created wheel for mock: filename=mock-1.0.1-py3-none-any.whl size=23753 sha256=7497c1c8ffdf23f14e0c579634478b52699c6765ecd4d4bc5459835968bfffda Stored in directory: /tmp/pip-ephem-wheel-cache-h7hz6r_4/wheels/7a/94/b1/0fdc5339a5bd487a5cc15421ec200d9ba3e2aa7190e4a727f1 Building wheel for future (setup.py): started Building wheel for future (setup.py): finished with status 'done' Created wheel for future: filename=future-0.18.3-py3-none-any.whl size=492022 sha256=71eba8d0c534adb17f78989e494076cf9b63d1ab4160b86b1ac885eb17aac6d8 Stored in directory: /tmp/pip-ephem-wheel-cache-h7hz6r_4/wheels/fa/cd/1f/c6b7b50b564983bf3011e8fc75d06047ddc50c07f6e3660b00 Successfully built mock future Installing collected packages: snowballstemmer, pytz, Pygments, mock, docutils, urllib3, sphinxcontrib-serializinghtml, six, setuptools, pillow, packaging, markupsafe, imagesize, idna, future, charset-normalizer, certifi, babel, alabaster, sphinxcontrib-websupport, requests, jinja2, commonmark, sphinx, readthedocs-sphinx-ext, sphinx-rtd-theme, recommonmark Attempting uninstall: setuptools Found existing installation: setuptools 67.6.1 Uninstalling setuptools-67.6.1: Successfully uninstalled setuptools-67.6.1 Successfully installed Pygments-2.3.1 alabaster-0.7.13 babel-2.12.1 certifi-2022.12.7 charset-normalizer-3.1.0 commonmark-0.8.1 docutils-0.14 future-0.18.3 idna-3.4 imagesize-1.4.1 jinja2-2.11.3 markupsafe-2.0.1 mock-1.0.1 packaging-23.0 pillow-5.4.1 pytz-2023.3 readthedocs-sphinx-ext-1.0.4 recommonmark-0.5.0 requests-2.28.2 setuptools-41.0.1 six-1.16.0 snowballstemmer-2.2.0 sphinx-1.8.6 sphinx-rtd-theme-0.4.3 sphinxcontrib-serializinghtml-1.1.5 sphinxcontrib-websupport-1.2.4 urllib3-1.26.15 [rtd-command-info] start-time: 2023-04-05T16:50:39.376514Z, end-time: 2023-04-05T16:50:47.712113Z, duration: 8, exit-code: 0 /usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/bin/python -m pip install --exists-action=w --no-cache-dir -r docs/requirements.txt Collecting mkdocs-material Downloading mkdocs_material-9.1.5-py3-none-any.whl (7.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.8/7.8 MB 51.4 MB/s eta 0:00:00 Collecting mkdocs>=1.4.2 Downloading mkdocs-1.4.2-py3-none-any.whl (3.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.7/3.7 MB 167.7 MB/s eta 0:00:00 Collecting mkdocs-material-extensions>=1.1 Downloading mkdocs_material_extensions-1.1.1-py3-none-any.whl (7.9 kB) Collecting jinja2>=3.0 Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 192.3 MB/s eta 0:00:00 Collecting markdown>=3.2 Downloading Markdown-3.4.3-py3-none-any.whl (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.9/93.9 kB 180.8 MB/s eta 0:00:00 Collecting colorama>=0.4 Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB) Collecting pygments>=2.14 Downloading Pygments-2.14.0-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 216.4 MB/s eta 0:00:00 Collecting pymdown-extensions>=9.9.1 Downloading pymdown_extensions-9.10-py3-none-any.whl (235 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 235.5/235.5 kB 213.1 MB/s eta 0:00:00 Collecting regex>=2022.4.24 Downloading regex-2022.10.31-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (757 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 757.1/757.1 kB 220.5 MB/s eta 0:00:00 Requirement already satisfied: requests>=2.26 in /usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/lib/python3.7/site-packages (from mkdocs-material->-r docs/requirements.txt (line 1)) (2.28.2) Requirement already satisfied: MarkupSafe>=2.0 in /usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/lib/python3.7/site-packages (from jinja2>=3.0->mkdocs-material->-r docs/requirements.txt (line 1)) (2.0.1) Collecting importlib-metadata>=4.4 Downloading importlib_metadata-6.1.0-py3-none-any.whl (21 kB) Collecting mergedeep>=1.3.4 Downloading mergedeep-1.3.4-py3-none-any.whl (6.4 kB) Collecting typing-extensions>=3.10 Downloading typing_extensions-4.5.0-py3-none-any.whl (27 kB) Requirement already satisfied: packaging>=20.5 in /usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/lib/python3.7/site-packages (from mkdocs>=1.4.2->mkdocs-material->-r docs/requirements.txt (line 1)) (23.0) Collecting ghp-import>=1.0 Downloading ghp_import-2.1.0-py3-none-any.whl (11 kB) Collecting pyyaml>=5.1 Downloading PyYAML-6.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (596 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.3/596.3 kB 211.9 MB/s eta 0:00:00 Collecting pyyaml-env-tag>=0.1 Downloading pyyaml_env_tag-0.1-py3-none-any.whl (3.9 kB) Collecting markdown>=3.2 Downloading Markdown-3.3.7-py3-none-any.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.8/97.8 kB 191.0 MB/s eta 0:00:00 Collecting click>=7.0 Downloading click-8.1.3-py3-none-any.whl (96 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 190.1 MB/s eta 0:00:00 Collecting watchdog>=2.0 Downloading watchdog-3.0.0-py3-none-manylinux2014_x86_64.whl (82 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.1/82.1 kB 184.2 MB/s eta 0:00:00 Requirement already satisfied: idna<4,>=2.5 in /usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/lib/python3.7/site-packages (from requests>=2.26->mkdocs-material->-r docs/requirements.txt (line 1)) (3.4) Requirement already satisfied: certifi>=2017.4.17 in /usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/lib/python3.7/site-packages (from requests>=2.26->mkdocs-material->-r docs/requirements.txt (line 1)) (2022.12.7) Requirement already satisfied: charset-normalizer<4,>=2 in /usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/lib/python3.7/site-packages (from requests>=2.26->mkdocs-material->-r docs/requirements.txt (line 1)) (3.1.0) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/lib/python3.7/site-packages (from requests>=2.26->mkdocs-material->-r docs/requirements.txt (line 1)) (1.26.15) Collecting python-dateutil>=2.8.1 Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 198.3 MB/s eta 0:00:00 Collecting zipp>=0.5 Downloading zipp-3.15.0-py3-none-any.whl (6.8 kB) Requirement already satisfied: six>=1.5 in /usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/lib/python3.7/site-packages (from python-dateutil>=2.8.1->ghp-import>=1.0->mkdocs>=1.4.2->mkdocs-material->-r docs/requirements.txt (line 1)) (1.16.0) Installing collected packages: zipp, watchdog, typing-extensions, regex, pyyaml, python-dateutil, pygments, mkdocs-material-extensions, mergedeep, jinja2, colorama, pyyaml-env-tag, importlib-metadata, ghp-import, markdown, click, pymdown-extensions, mkdocs, mkdocs-material Attempting uninstall: pygments Found existing installation: Pygments 2.3.1 Uninstalling Pygments-2.3.1: Successfully uninstalled Pygments-2.3.1 Attempting uninstall: jinja2 Found existing installation: Jinja2 2.11.3 Uninstalling Jinja2-2.11.3: Successfully uninstalled Jinja2-2.11.3 Successfully installed click-8.1.3 colorama-0.4.6 ghp-import-2.1.0 importlib-metadata-6.1.0 jinja2-3.1.2 markdown-3.3.7 mergedeep-1.3.4 mkdocs-1.4.2 mkdocs-material-9.1.5 mkdocs-material-extensions-1.1.1 pygments-2.14.0 pymdown-extensions-9.10 python-dateutil-2.8.2 pyyaml-6.0 pyyaml-env-tag-0.1 regex-2022.10.31 typing-extensions-4.5.0 watchdog-3.0.0 zipp-3.15.0 [rtd-command-info] start-time: 2023-04-05T16:50:48.387035Z, end-time: 2023-04-05T16:50:48.444617Z, duration: 0, exit-code: 0 cat docs/conf.py # -*- coding: utf-8 -*- from __future__ import division, print_function, unicode_literals from datetime import datetime from recommonmark.parser import CommonMarkParser extensions = [] templates_path = ['templates', '_templates', '.templates'] source_suffix = ['.rst', '.md'] source_parsers = { '.md': CommonMarkParser, } master_doc = 'index' project = u'DAMNIT' copyright = str(datetime.now().year) version = 'docs' release = 'docs' exclude_patterns = ['_build'] pygments_style = 'sphinx' htmlhelp_basename = 'damnit' html_theme = 'sphinx_rtd_theme' file_insertion_enabled = False latex_documents = [ ('index', 'damnit.tex', u'DAMNIT Documentation', u'', 'manual'), ] ########################################################################### # auto-created readthedocs.org specific configuration # ########################################################################### # # The following code was added during an automated build on readthedocs.org # It is auto created and injected for every build. The result is based on the # conf.py.tmpl file found in the readthedocs.org codebase: # https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl # import importlib import sys import os.path from six import string_types from sphinx import version_info # Get suffix for proper linking to GitHub # This is deprecated in Sphinx 1.3+, # as each page can have its own suffix if globals().get('source_suffix', False): if isinstance(source_suffix, string_types): SUFFIX = source_suffix elif isinstance(source_suffix, (list, tuple)): # Sphinx >= 1.3 supports list/tuple to define multiple suffixes SUFFIX = source_suffix[0] elif isinstance(source_suffix, dict): # Sphinx >= 1.8 supports a mapping dictionary for multiple suffixes SUFFIX = list(source_suffix.keys())[0] # make a ``list()`` for py2/py3 compatibility else: # default to .rst SUFFIX = '.rst' else: SUFFIX = '.rst' # Add RTD Static Path. Add to the end because it overwrites previous files. if not 'html_static_path' in globals(): html_static_path = [] if os.path.exists('_static'): html_static_path.append('_static') # Add RTD Theme only if they aren't overriding it already using_rtd_theme = ( ( 'html_theme' in globals() and html_theme in ['default'] and # Allow people to bail with a hack of having an html_style 'html_style' not in globals() ) or 'html_theme' not in globals() ) if using_rtd_theme: theme = importlib.import_module('sphinx_rtd_theme') html_theme = 'sphinx_rtd_theme' html_style = None html_theme_options = {} if 'html_theme_path' in globals(): html_theme_path.append(theme.get_html_theme_path()) else: html_theme_path = [theme.get_html_theme_path()] if globals().get('websupport2_base_url', False): websupport2_base_url = 'http://rtd.xfel.eu/websupport' websupport2_static_url = '/static/' #Add project information to the template context. context = { 'using_theme': using_rtd_theme, 'html_theme': html_theme, 'current_version': "docs", 'version_slug': "docs", 'MEDIA_URL': "media/", 'STATIC_URL': "/static/", 'PRODUCTION_DOMAIN': "rtd.xfel.eu", 'versions': [ ("latest", "/en/latest/"), ("docs", "/en/docs/"), ], 'downloads': [ ], 'subprojects': [ ], 'slug': 'damnit', 'name': u'DAMNIT', 'rtd_language': u'en', 'programming_language': u'py', 'canonical_url': 'http://rtd.xfel.eu/docs/damnit/en/latest/', 'analytics_code': 'None', 'single_version': False, 'conf_py_path': '/docs/', 'api_host': 'http://rtd.xfel.eu', 'github_user': 'None', 'proxied_api_host': '/_', 'github_repo': 'None', 'github_version': 'docs', 'display_github': False, 'bitbucket_user': 'None', 'bitbucket_repo': 'None', 'bitbucket_version': 'docs', 'display_bitbucket': False, 'gitlab_user': 'None', 'gitlab_repo': 'None', 'gitlab_version': 'docs', 'display_gitlab': False, 'READTHEDOCS': True, 'using_theme': (html_theme == "default"), 'new_theme': (html_theme == "sphinx_rtd_theme"), 'source_suffix': SUFFIX, 'ad_free': False, 'docsearch_disabled': False, 'user_analytics_code': '', 'global_analytics_code': 'None', 'commit': 'd36e0f09', } if 'html_context' in globals(): html_context.update(context) else: html_context = context # Add custom RTD extension if 'extensions' in globals(): # Insert at the beginning because it can interfere # with other extensions. # See https://github.com/rtfd/readthedocs.org/pull/4054 extensions.insert(0, "readthedocs_ext.readthedocs") else: extensions = ["readthedocs_ext.readthedocs"] # Add External version warning banner to the external version documentation if 'branch' == 'external': extensions.insert(1, "readthedocs_ext.external_version_warning") project_language = 'en' # User's Sphinx configurations language_user = globals().get('language', None) latex_engine_user = globals().get('latex_engine', None) latex_elements_user = globals().get('latex_elements', None) # Remove this once xindy gets installed in Docker image and XINDYOPS # env variable is supported # https://github.com/rtfd/readthedocs-docker-images/pull/98 latex_use_xindy = False chinese = any([ language_user in ('zh_CN', 'zh_TW'), project_language in ('zh_CN', 'zh_TW'), ]) japanese = any([ language_user == 'ja', project_language == 'ja', ]) if chinese: latex_engine = latex_engine_user or 'xelatex' latex_elements_rtd = { 'preamble': '\\usepackage[UTF8]{ctex}\n', } latex_elements = latex_elements_user or latex_elements_rtd elif japanese: latex_engine = latex_engine_user or 'platex' # Make sure our build directory is always excluded exclude_patterns = globals().get('exclude_patterns', []) exclude_patterns.extend(['_build']) [rtd-command-info] start-time: 2023-04-05T16:50:48.533453Z, end-time: 2023-04-05T16:50:49.030747Z, duration: 0, exit-code: 2 python /usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/bin/sphinx-build -T -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html Running Sphinx v1.8.6 loading translations [en]... done Traceback (most recent call last): File "/usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/lib/python3.7/site-packages/sphinx/registry.py", line 472, in load_extension mod = __import__(extname, None, None, ['setup']) File "/usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/lib/python3.7/site-packages/sphinx/builders/latex/__init__.py", line 37, in from sphinx.writers.latex import DEFAULT_SETTINGS, LaTeXWriter, LaTeXTranslator File "/usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/lib/python3.7/site-packages/sphinx/writers/latex.py", line 33, in from sphinx.util.template import LaTeXRenderer File "/usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/lib/python3.7/site-packages/sphinx/util/template.py", line 17, in from sphinx.jinja2glue import SphinxFileSystemLoader File "/usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/lib/python3.7/site-packages/sphinx/jinja2glue.py", line 16, in from jinja2 import FileSystemLoader, BaseLoader, TemplateNotFound, \ ImportError: cannot import name 'contextfunction' from 'jinja2' (/usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/lib/python3.7/site-packages/jinja2/__init__.py) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/lib/python3.7/site-packages/sphinx/cmd/build.py", line 303, in build_main args.tags, args.verbosity, args.jobs, args.keep_going) File "/usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/lib/python3.7/site-packages/sphinx/application.py", line 224, in __init__ self.setup_extension(extension) File "/usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/lib/python3.7/site-packages/sphinx/application.py", line 449, in setup_extension self.registry.load_extension(self, extname) File "/usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/lib/python3.7/site-packages/sphinx/registry.py", line 475, in load_extension raise ExtensionError(__('Could not import extension %s') % extname, err) sphinx.errors.ExtensionError: Could not import extension sphinx.builders.latex (exception: cannot import name 'contextfunction' from 'jinja2' (/usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/lib/python3.7/site-packages/jinja2/__init__.py)) Extension error: Could not import extension sphinx.builders.latex (exception: cannot import name 'contextfunction' from 'jinja2' (/usr/src/app/checkouts/readthedocs.org/user_builds/damnit/envs/docs/lib/python3.7/site-packages/jinja2/__init__.py))