Read the Docs build information Build id: 508780 Project: cerebras-systems-cerebras-systems-developer-documentation Version: latest Commit: 3281bf4dc14ff04ada74359022d46e256608145a Date: 2020-12-16T00:25:17.358763Z State: finished Success: False [rtd-command-info] start-time: 2020-12-16T00:25:18.820390Z, end-time: 2020-12-16T00:25:21.169543Z, duration: 2, exit-code: 0 git clone --no-single-branch --depth 50 git@github.com:Cerebras/documentation.git . Cloning into '.'... Warning: Permanently added 'github.com,192.30.255.112' (RSA) to the list of known hosts. [rtd-command-info] start-time: 2020-12-16T00:25:21.660403Z, end-time: 2020-12-16T00:25:21.927711Z, duration: 0, exit-code: 0 git checkout --force origin/main Note: checking out 'origin/main'. 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 3281bf4 Merge pull request #11 from Cerebras/rajk/SPHINX-THEMES [rtd-command-info] start-time: 2020-12-16T00:25:22.058499Z, end-time: 2020-12-16T00:25:22.134403Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2020-12-16T00:25:23.894708Z, end-time: 2020-12-16T00:25:27.877452Z, duration: 3, exit-code: 0 python3.7 -mvirtualenv Using base prefix '/home/docs/.pyenv/versions/3.7.9' New python executable in /home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/bin/python3.7 Also creating executable in /home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/bin/python Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2020-12-16T00:25:27.999762Z, end-time: 2020-12-16T00:25:29.613922Z, duration: 1, exit-code: 0 python -m pip install --upgrade --no-cache-dir pip Requirement already satisfied: pip in /home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages (20.3.3) [rtd-command-info] start-time: 2020-12-16T00:25:29.859802Z, end-time: 2020-12-16T00:25:39.069836Z, duration: 9, exit-code: 0 python -m pip install --upgrade --no-cache-dir setuptools==41.0.1 docutils==0.14 mock==1.0.1 pillow==5.4.1 alabaster>=0.7,<0.8,!=0.7.5 six commonmark==0.8.1 recommonmark==0.5.0 sphinx<2 sphinx-rtd-theme<0.5 readthedocs-sphinx-ext<2.2 Collecting commonmark==0.8.1 Downloading commonmark-0.8.1-py2.py3-none-any.whl (47 kB) Collecting docutils==0.14 Downloading docutils-0.14-py3-none-any.whl (543 kB) Collecting mock==1.0.1 Downloading mock-1.0.1.zip (861 kB) Collecting pillow==5.4.1 Downloading Pillow-5.4.1-cp37-cp37m-manylinux1_x86_64.whl (2.0 MB) Collecting recommonmark==0.5.0 Downloading recommonmark-0.5.0-py2.py3-none-any.whl (9.8 kB) Collecting alabaster!=0.7.5,<0.8,>=0.7 Downloading alabaster-0.7.12-py2.py3-none-any.whl (14 kB) Collecting readthedocs-sphinx-ext<2.2 Downloading readthedocs_sphinx_ext-2.1.1-py2.py3-none-any.whl (13 kB) Collecting sphinx<2 Downloading Sphinx-1.8.5-py2.py3-none-any.whl (3.1 MB) Collecting six Downloading six-1.15.0-py2.py3-none-any.whl (10 kB) Collecting sphinx-rtd-theme<0.5 Downloading sphinx_rtd_theme-0.4.3-py2.py3-none-any.whl (6.4 MB) Collecting babel!=2.0,>=1.3 Downloading Babel-2.9.0-py2.py3-none-any.whl (8.8 MB) Collecting Jinja2>=2.9 Downloading Jinja2-2.11.2-py2.py3-none-any.whl (125 kB) Collecting MarkupSafe>=0.23 Downloading MarkupSafe-1.1.1-cp37-cp37m-manylinux1_x86_64.whl (27 kB) Collecting Pygments>=2.0 Downloading Pygments-2.7.3-py3-none-any.whl (950 kB) Collecting pytz>=2015.7 Downloading pytz-2020.4-py2.py3-none-any.whl (509 kB) Collecting requests Downloading requests-2.25.0-py2.py3-none-any.whl (61 kB) Collecting certifi>=2017.4.17 Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB) Collecting chardet<4,>=3.0.2 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) Collecting idna<3,>=2.5 Downloading idna-2.10-py2.py3-none-any.whl (58 kB) Collecting snowballstemmer>=1.1 Downloading snowballstemmer-2.0.0-py2.py3-none-any.whl (97 kB) Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.2-py2.py3-none-any.whl (136 kB) Collecting future Downloading future-0.18.2.tar.gz (829 kB) Collecting imagesize Downloading imagesize-1.2.0-py2.py3-none-any.whl (4.8 kB) Collecting packaging Downloading packaging-20.8-py2.py3-none-any.whl (39 kB) Collecting pyparsing>=2.0.2 Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) Collecting sphinxcontrib-websupport Downloading sphinxcontrib_websupport-1.2.4-py2.py3-none-any.whl (39 kB) Collecting sphinxcontrib-serializinghtml Downloading sphinxcontrib_serializinghtml-1.1.4-py2.py3-none-any.whl (89 kB) Collecting setuptools==41.0.1 Downloading setuptools-41.0.1-py2.py3-none-any.whl (575 kB) 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=23755 sha256=163fcdb4b0c5687d003aaba0c83d4f06e0ad5d4c10aec31921d580bfdc4733c6 Stored in directory: /tmp/pip-ephem-wheel-cache-94u4xjm_/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.2-py3-none-any.whl size=491059 sha256=dae2f057292cd5cb1e9839da764ae6a81d00da45fa36ed46aaf295fc243e0d8e Stored in directory: /tmp/pip-ephem-wheel-cache-94u4xjm_/wheels/56/b0/fe/4410d17b32f1f0c3cf54cdfb2bc04d7b4b8f4ae377e2229ba0 Successfully built mock future Installing collected packages: urllib3, sphinxcontrib-serializinghtml, pytz, pyparsing, MarkupSafe, idna, chardet, certifi, sphinxcontrib-websupport, snowballstemmer, six, setuptools, requests, Pygments, packaging, Jinja2, imagesize, future, docutils, babel, alabaster, sphinx, commonmark, sphinx-rtd-theme, recommonmark, readthedocs-sphinx-ext, pillow, mock Attempting uninstall: setuptools Found existing installation: setuptools 51.0.0 Uninstalling setuptools-51.0.0: Successfully uninstalled setuptools-51.0.0 Successfully installed Jinja2-2.11.2 MarkupSafe-1.1.1 Pygments-2.7.3 alabaster-0.7.12 babel-2.9.0 certifi-2020.12.5 chardet-3.0.4 commonmark-0.8.1 docutils-0.14 future-0.18.2 idna-2.10 imagesize-1.2.0 mock-1.0.1 packaging-20.8 pillow-5.4.1 pyparsing-2.4.7 pytz-2020.4 readthedocs-sphinx-ext-2.1.1 recommonmark-0.5.0 requests-2.25.0 setuptools-41.0.1 six-1.15.0 snowballstemmer-2.0.0 sphinx-1.8.5 sphinx-rtd-theme-0.4.3 sphinxcontrib-serializinghtml-1.1.4 sphinxcontrib-websupport-1.2.4 urllib3-1.26.2 [rtd-command-info] start-time: 2020-12-16T00:25:39.217991Z, end-time: 2020-12-16T00:25:44.079902Z, duration: 4, exit-code: 0 python -m pip install --exists-action=w --no-cache-dir -r external/requirements.txt Collecting readthedocs-sphinx-search Downloading readthedocs_sphinx_search-0.1.0rc3-py3-none-any.whl (25 kB) Collecting sphinx_book_theme Downloading sphinx_book_theme-0.0.39-py3-none-any.whl (86 kB) Requirement already satisfied: sphinx in /home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages (from sphinx_book_theme->-r external/requirements.txt (line 3)) (1.8.5) Collecting docutils>=0.15 Downloading docutils-0.16-py2.py3-none-any.whl (548 kB) Collecting pydata-sphinx-theme~=0.4.1 Downloading pydata_sphinx_theme-0.4.1-py3-none-any.whl (2.1 MB) Collecting sphinx_copybutton Downloading sphinx_copybutton-0.3.1-py3-none-any.whl (10 kB) Requirement already satisfied: snowballstemmer>=1.1 in /home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages (from sphinx->sphinx_book_theme->-r external/requirements.txt (line 3)) (2.0.0) Requirement already satisfied: six>=1.5 in /home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages (from sphinx->sphinx_book_theme->-r external/requirements.txt (line 3)) (1.15.0) Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages (from sphinx->sphinx_book_theme->-r external/requirements.txt (line 3)) (41.0.1) Requirement already satisfied: packaging in /home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages (from sphinx->sphinx_book_theme->-r external/requirements.txt (line 3)) (20.8) Requirement already satisfied: babel!=2.0,>=1.3 in /home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages (from sphinx->sphinx_book_theme->-r external/requirements.txt (line 3)) (2.9.0) Requirement already satisfied: imagesize in /home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages (from sphinx->sphinx_book_theme->-r external/requirements.txt (line 3)) (1.2.0) Requirement already satisfied: Pygments>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages (from sphinx->sphinx_book_theme->-r external/requirements.txt (line 3)) (2.7.3) Requirement already satisfied: Jinja2>=2.3 in /home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages (from sphinx->sphinx_book_theme->-r external/requirements.txt (line 3)) (2.11.2) Requirement already satisfied: requests>=2.0.0 in /home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages (from sphinx->sphinx_book_theme->-r external/requirements.txt (line 3)) (2.25.0) Requirement already satisfied: sphinxcontrib-websupport in /home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages (from sphinx->sphinx_book_theme->-r external/requirements.txt (line 3)) (1.2.4) Requirement already satisfied: alabaster<0.8,>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages (from sphinx->sphinx_book_theme->-r external/requirements.txt (line 3)) (0.7.12) Requirement already satisfied: pytz>=2015.7 in /home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages (from babel!=2.0,>=1.3->sphinx->sphinx_book_theme->-r external/requirements.txt (line 3)) (2020.4) Requirement already satisfied: MarkupSafe>=0.23 in /home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages (from Jinja2>=2.3->sphinx->sphinx_book_theme->-r external/requirements.txt (line 3)) (1.1.1) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages (from requests>=2.0.0->sphinx->sphinx_book_theme->-r external/requirements.txt (line 3)) (1.26.2) Requirement already satisfied: idna<3,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages (from requests>=2.0.0->sphinx->sphinx_book_theme->-r external/requirements.txt (line 3)) (2.10) Requirement already satisfied: chardet<4,>=3.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages (from requests>=2.0.0->sphinx->sphinx_book_theme->-r external/requirements.txt (line 3)) (3.0.4) Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages (from requests>=2.0.0->sphinx->sphinx_book_theme->-r external/requirements.txt (line 3)) (2020.12.5) Collecting sphinx_panels Downloading sphinx_panels-0.5.2-py3-none-any.whl (87 kB) Collecting sphinx Downloading Sphinx-3.3.1-py3-none-any.whl (2.9 MB) Requirement already satisfied: sphinxcontrib-serializinghtml in /home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages (from sphinx->sphinx_book_theme->-r external/requirements.txt (line 3)) (1.1.4) Collecting beautifulsoup4 Downloading beautifulsoup4-4.9.3-py3-none-any.whl (115 kB) Collecting soupsieve>1.2 Downloading soupsieve-2.1-py3-none-any.whl (32 kB) Collecting click Downloading click-7.1.2-py2.py3-none-any.whl (82 kB) Requirement already satisfied: pyparsing>=2.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages (from packaging->sphinx->sphinx_book_theme->-r external/requirements.txt (line 3)) (2.4.7) Collecting pyyaml Downloading PyYAML-5.3.1.tar.gz (269 kB) Collecting sphinxcontrib-applehelp Downloading sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB) Collecting sphinxcontrib-devhelp Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB) Collecting sphinxcontrib-htmlhelp Downloading sphinxcontrib_htmlhelp-1.0.3-py2.py3-none-any.whl (96 kB) Collecting sphinxcontrib-jsmath Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB) Collecting sphinxcontrib-qthelp Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB) Building wheels for collected packages: pyyaml Building wheel for pyyaml (setup.py): started Building wheel for pyyaml (setup.py): finished with status 'done' Created wheel for pyyaml: filename=PyYAML-5.3.1-cp37-cp37m-linux_x86_64.whl size=44620 sha256=8e595e41bae6cdf88957ef18b1f5177960d2a959f0f68f246c5ead739b851a09 Stored in directory: /tmp/pip-ephem-wheel-cache-45zzk5yy/wheels/5e/03/1e/e1e954795d6f35dfc7b637fe2277bff021303bd9570ecea653 Successfully built pyyaml Installing collected packages: sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, docutils, sphinx, soupsieve, pyyaml, pydata-sphinx-theme, click, beautifulsoup4, sphinx-panels, sphinx-copybutton, sphinx-book-theme, readthedocs-sphinx-search Attempting uninstall: docutils Found existing installation: docutils 0.14 Uninstalling docutils-0.14: Successfully uninstalled docutils-0.14 Attempting uninstall: sphinx Found existing installation: Sphinx 1.8.5 Uninstalling Sphinx-1.8.5: Successfully uninstalled Sphinx-1.8.5 Successfully installed beautifulsoup4-4.9.3 click-7.1.2 docutils-0.16 pydata-sphinx-theme-0.4.1 pyyaml-5.3.1 readthedocs-sphinx-search-0.1.0rc3 soupsieve-2.1 sphinx-3.3.1 sphinx-book-theme-0.0.39 sphinx-copybutton-0.3.1 sphinx-panels-0.5.2 sphinxcontrib-applehelp-1.0.2 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-1.0.3 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 [rtd-command-info] start-time: 2020-12-16T00:25:45.417665Z, end-time: 2020-12-16T00:25:45.490264Z, duration: 0, exit-code: 0 cat external/source/conf.py # Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # import os import sys sys.path.insert(0, os.path.abspath('lib/python3.6/site-packages')) # -- Project information ----------------------------------------------------- project = 'Cerebras Developer' copyright = '2020, Cerebras Systems' author = '' # -- General configuration --------------------------------------------------- # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ "sphinx_copybutton", "sphinx_panels" ] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] html_additional_pages = { } # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This pattern also affects html_static_path and html_extra_path. exclude_patterns = [] # -- Options for HTML output ------------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # html_theme = "sphinx_book_theme" panels_add_bootstrap_css = False html_theme_options = { } # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] html_css_files = [ 'custom-css-for-sphinx-book-theme.css' ] ########################################################################### # 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 = 'https://readthedocs.com/websupport' websupport2_static_url = 'https://assets.readthedocs.com/' #Add project information to the template context. context = { 'using_theme': using_rtd_theme, 'html_theme': html_theme, 'current_version': "latest", 'version_slug': "latest", 'MEDIA_URL': "https://media.readthedocs.com/media/", 'STATIC_URL': "https://assets.readthedocs.com/", 'PRODUCTION_DOMAIN': "readthedocs.com", 'versions': [ ], 'downloads': [ ("pdf", "//cerebras-systems-cerebras-systems-developer-documentation.readthedocs-hosted.com/_/downloads/en/latest/pdf/"), ("html", "//cerebras-systems-cerebras-systems-developer-documentation.readthedocs-hosted.com/_/downloads/en/latest/htmlzip/"), ("epub", "//cerebras-systems-cerebras-systems-developer-documentation.readthedocs-hosted.com/_/downloads/en/latest/epub/"), ], 'subprojects': [ ], 'slug': 'cerebras-systems-cerebras-systems-developer-documentation', 'name': u'Cerebras Systems Developer Documentation', 'rtd_language': u'en', 'programming_language': u'words', 'canonical_url': 'https://cerebras-systems-cerebras-systems-developer-documentation.readthedocs-hosted.com/en/latest/', 'analytics_code': 'None', 'single_version': False, 'conf_py_path': '/external/source/', 'api_host': 'https://readthedocs.com', 'github_user': 'Cerebras', 'proxied_api_host': '/_', 'github_repo': 'documentation', 'github_version': 'main', 'display_github': True, 'bitbucket_user': 'None', 'bitbucket_repo': 'None', 'bitbucket_version': 'main', 'display_bitbucket': False, 'gitlab_user': 'None', 'gitlab_repo': 'None', 'gitlab_version': 'main', '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': 'UA-17997319-2', 'commit': '3281bf4d', } 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: 2020-12-16T00:25:45.673080Z, end-time: 2020-12-16T00:25:46.212185Z, duration: 0, exit-code: 2 python sphinx-build -T -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html Running Sphinx v3.3.1 Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 77, in execfile_ code = compile(source, filepath_enc, 'exec') File "/home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/checkouts/latest/external/source/conf.py", line 13 import os ^ IndentationError: unexpected indent During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 47, in convert_with_2to3 tree = refactoring_tool.refactor_string(source, 'conf.py') File "/home/docs/.pyenv/versions/3.7.9/lib/python3.7/lib2to3/refactor.py", line 361, in refactor_string name, err.__class__.__name__, err) File "/home/docs/.pyenv/versions/3.7.9/lib/python3.7/lib2to3/refactor.py", line 358, in refactor_string tree = self.driver.parse_string(data) File "/home/docs/.pyenv/versions/3.7.9/lib/python3.7/lib2to3/pgen2/driver.py", line 104, in parse_string return self.parse_tokens(tokens, debug) File "/home/docs/.pyenv/versions/3.7.9/lib/python3.7/lib2to3/pgen2/driver.py", line 72, in parse_tokens if p.addtoken(type, value, (prefix, start)): File "/home/docs/.pyenv/versions/3.7.9/lib/python3.7/lib2to3/pgen2/parse.py", line 159, in addtoken raise ParseError("bad input", type, value, context) lib2to3.pgen2.parse.ParseError: bad input: type=5, value=' ', context=('# Configuration file for the Sphinx documentation builder.\n#\n# This file only contains a selection of the most common options. For a full\n# list see the documentation:\n# https://www.sphinx-doc.org/en/master/usage/configuration.html\n\n# -- Path setup --------------------------------------------------------------\n\n# If extensions (or modules to document with autodoc) are in another directory,\n# add these directories to sys.path here. If the directory is relative to the\n# documentation root, use os.path.abspath to make it absolute, like shown here.\n#\n', (13, 0)) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 319, in eval_config_file execfile_(filename, namespace) File "/home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 81, in execfile_ source = convert_with_2to3(filepath) File "/home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 53, in convert_with_2to3 raise SyntaxError(err.msg, (filepath, lineno, offset, err.value)) from err File "/home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/checkouts/latest/external/source/conf.py", line 13 ^ SyntaxError: bad input The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages/sphinx/cmd/build.py", line 279, in build_main args.tags, args.verbosity, args.jobs, args.keep_going) File "/home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages/sphinx/application.py", line 219, in __init__ self.config = Config.read(self.confdir, confoverrides or {}, self.tags) File "/home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 174, in read namespace = eval_config_file(filename, tags) File "/home/docs/checkouts/readthedocs.org/user_builds/cerebras-systems-cerebras-systems-developer-documentation/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 322, in eval_config_file raise ConfigError(msg % err) from err sphinx.errors.ConfigError: There is a syntax error in your configuration file: bad input (conf.py, line 13) Configuration error: There is a syntax error in your configuration file: bad input (conf.py, line 13)