Read the Docs build information Build id: 584094 Project: leapyear-python-docs Version: latest Commit: 32234b28451363a244c219351c41e79129103ac5 Date: 2021-03-09T08:00:22.799694Z State: finished Success: True [rtd-command-info] start-time: 2021-03-09T08:00:24.388736Z, end-time: 2021-03-09T08:00:29.527503Z, duration: 5, exit-code: 0 git clone --no-single-branch --depth 50 git@github.com:LeapYear/python-docs.git . Cloning into '.'... Warning: Permanently added 'github.com,192.30.255.113' (RSA) to the list of known hosts. [rtd-command-info] start-time: 2021-03-09T08:00:29.880541Z, end-time: 2021-03-09T08:00:29.955159Z, duration: 0, exit-code: 0 git checkout --force origin/master Note: checking out 'origin/master'. 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 32234b2 master [rtd-command-info] start-time: 2021-03-09T08:00:30.087414Z, end-time: 2021-03-09T08:00:30.142493Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2021-03-09T08:00:31.223309Z, end-time: 2021-03-09T08:00:35.675693Z, duration: 4, exit-code: 0 python3.6 -mvirtualenv Using base prefix '/home/docs/.pyenv/versions/3.6.12' New python executable in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/bin/python3.6 Also creating executable in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/bin/python Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2021-03-09T08:00:35.811147Z, end-time: 2021-03-09T08:00:37.510452Z, duration: 1, exit-code: 0 python -m pip install --upgrade --no-cache-dir pip setuptools==41.0.1 Requirement already satisfied: pip in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (21.0.1) Collecting setuptools==41.0.1 Downloading setuptools-41.0.1-py2.py3-none-any.whl (575 kB) Installing collected packages: setuptools Attempting uninstall: setuptools Found existing installation: setuptools 54.1.1 Uninstalling setuptools-54.1.1: Successfully uninstalled setuptools-54.1.1 Successfully installed setuptools-41.0.1 [rtd-command-info] start-time: 2021-03-09T08:00:37.627018Z, end-time: 2021-03-09T08:00:46.377859Z, duration: 8, exit-code: 0 python -m pip install --upgrade --no-cache-dir 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<2.2 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-cp36-cp36m-manylinux1_x86_64.whl (2.0 MB) Collecting alabaster!=0.7.5,<0.8,>=0.7 Downloading alabaster-0.7.12-py2.py3-none-any.whl (14 kB) Collecting commonmark==0.8.1 Downloading commonmark-0.8.1-py2.py3-none-any.whl (47 kB) 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.5-py2.py3-none-any.whl (3.1 MB) Collecting sphinx-rtd-theme<0.5 Downloading sphinx_rtd_theme-0.4.3-py2.py3-none-any.whl (6.4 MB) Collecting readthedocs-sphinx-ext<2.2 Downloading readthedocs_sphinx_ext-2.1.3-py2.py3-none-any.whl (11 kB) Collecting future Downloading future-0.18.2.tar.gz (829 kB) Collecting requests Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB) Collecting Jinja2>=2.9 Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB) Collecting sphinxcontrib-websupport Downloading sphinxcontrib_websupport-1.2.4-py2.py3-none-any.whl (39 kB) Collecting snowballstemmer>=1.1 Downloading snowballstemmer-2.1.0-py2.py3-none-any.whl (93 kB) Collecting packaging Downloading packaging-20.9-py2.py3-none-any.whl (40 kB) Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from sphinx<2) (41.0.1) Collecting six>=1.5 Downloading six-1.15.0-py2.py3-none-any.whl (10 kB) Collecting Pygments>=2.0 Downloading Pygments-2.8.1-py3-none-any.whl (983 kB) Collecting babel!=2.0,>=1.3 Downloading Babel-2.9.0-py2.py3-none-any.whl (8.8 MB) Collecting imagesize Downloading imagesize-1.2.0-py2.py3-none-any.whl (4.8 kB) Collecting pytz>=2015.7 Downloading pytz-2021.1-py2.py3-none-any.whl (510 kB) Collecting MarkupSafe>=0.23 Downloading MarkupSafe-1.1.1-cp36-cp36m-manylinux2010_x86_64.whl (32 kB) Collecting certifi>=2017.4.17 Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB) Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.3-py2.py3-none-any.whl (137 kB) Collecting chardet<5,>=3.0.2 Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB) Collecting idna<3,>=2.5 Downloading idna-2.10-py2.py3-none-any.whl (58 kB) Collecting pyparsing>=2.0.2 Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) Collecting sphinxcontrib-serializinghtml Downloading sphinxcontrib_serializinghtml-1.1.4-py2.py3-none-any.whl (89 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=f7ccb528109bb8ff0126a8ec71be52645d39abeb7702859484a5466d9e4c00d8 Stored in directory: /tmp/pip-ephem-wheel-cache-0wyumkbd/wheels/98/4d/ec/1aa935d28cb63b7b16037fc990302a34244ac3b0601a4e0c00 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=5db01d5eb3c8b3ad7e0a1aafb80db256022f208c8dc6a0f676bd6b34ca9d94a3 Stored in directory: /tmp/pip-ephem-wheel-cache-0wyumkbd/wheels/6e/9c/ed/4499c9865ac1002697793e0ae05ba6be33553d098f3347fb94 Successfully built mock future Installing collected packages: urllib3, sphinxcontrib-serializinghtml, pytz, pyparsing, MarkupSafe, idna, chardet, certifi, sphinxcontrib-websupport, snowballstemmer, six, requests, Pygments, packaging, Jinja2, imagesize, future, docutils, babel, alabaster, sphinx, commonmark, sphinx-rtd-theme, recommonmark, readthedocs-sphinx-ext, pillow, mock Successfully installed Jinja2-2.11.3 MarkupSafe-1.1.1 Pygments-2.8.1 alabaster-0.7.12 babel-2.9.0 certifi-2020.12.5 chardet-4.0.0 commonmark-0.8.1 docutils-0.14 future-0.18.2 idna-2.10 imagesize-1.2.0 mock-1.0.1 packaging-20.9 pillow-5.4.1 pyparsing-2.4.7 pytz-2021.1 readthedocs-sphinx-ext-2.1.3 recommonmark-0.5.0 requests-2.25.1 six-1.15.0 snowballstemmer-2.1.0 sphinx-1.8.5 sphinx-rtd-theme-0.4.3 sphinxcontrib-serializinghtml-1.1.4 sphinxcontrib-websupport-1.2.4 urllib3-1.26.3 [rtd-command-info] start-time: 2021-03-09T08:00:46.529103Z, end-time: 2021-03-09T08:00:49.004994Z, duration: 2, exit-code: 0 python -m pip install --exists-action=w --no-cache-dir -r requirements/docs-requirements.txt Requirement already satisfied: recommonmark==0.5.0 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from -r requirements/docs-requirements.txt (line 1)) (0.5.0) Collecting sphinx==2.1.2 Downloading Sphinx-2.1.2-py3-none-any.whl (3.2 MB) Requirement already satisfied: sphinx_rtd_theme==0.4.3 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from -r requirements/docs-requirements.txt (line 3)) (0.4.3) Collecting sphinx-autodoc-typehints==1.6.0 Downloading sphinx_autodoc_typehints-1.6.0-py3-none-any.whl (6.4 kB) Collecting pydocstyle==3.0.0 Downloading pydocstyle-3.0.0-py3-none-any.whl (33 kB) Requirement already satisfied: snowballstemmer in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from pydocstyle==3.0.0->-r requirements/docs-requirements.txt (line 5)) (2.1.0) Requirement already satisfied: six in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from pydocstyle==3.0.0->-r requirements/docs-requirements.txt (line 5)) (1.15.0) Requirement already satisfied: docutils>=0.11 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from recommonmark==0.5.0->-r requirements/docs-requirements.txt (line 1)) (0.14) Requirement already satisfied: commonmark>=0.7.3 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from recommonmark==0.5.0->-r requirements/docs-requirements.txt (line 1)) (0.8.1) Collecting sphinxcontrib-devhelp Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB) Requirement already satisfied: Jinja2>=2.3 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from sphinx==2.1.2->-r requirements/docs-requirements.txt (line 2)) (2.11.3) Requirement already satisfied: packaging in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from sphinx==2.1.2->-r requirements/docs-requirements.txt (line 2)) (20.9) Collecting sphinxcontrib-applehelp Downloading sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB) Requirement already satisfied: sphinxcontrib-serializinghtml in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from sphinx==2.1.2->-r requirements/docs-requirements.txt (line 2)) (1.1.4) Collecting sphinxcontrib-qthelp Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB) Collecting sphinxcontrib-jsmath Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB) Requirement already satisfied: requests>=2.5.0 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from sphinx==2.1.2->-r requirements/docs-requirements.txt (line 2)) (2.25.1) Requirement already satisfied: alabaster<0.8,>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from sphinx==2.1.2->-r requirements/docs-requirements.txt (line 2)) (0.7.12) Collecting sphinxcontrib-htmlhelp Downloading sphinxcontrib_htmlhelp-1.0.3-py2.py3-none-any.whl (96 kB) Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from sphinx==2.1.2->-r requirements/docs-requirements.txt (line 2)) (41.0.1) Requirement already satisfied: Pygments>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from sphinx==2.1.2->-r requirements/docs-requirements.txt (line 2)) (2.8.1) Requirement already satisfied: imagesize in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from sphinx==2.1.2->-r requirements/docs-requirements.txt (line 2)) (1.2.0) Requirement already satisfied: babel!=2.0,>=1.3 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from sphinx==2.1.2->-r requirements/docs-requirements.txt (line 2)) (2.9.0) Requirement already satisfied: pytz>=2015.7 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from babel!=2.0,>=1.3->sphinx==2.1.2->-r requirements/docs-requirements.txt (line 2)) (2021.1) Requirement already satisfied: future in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from commonmark>=0.7.3->recommonmark==0.5.0->-r requirements/docs-requirements.txt (line 1)) (0.18.2) Requirement already satisfied: MarkupSafe>=0.23 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from Jinja2>=2.3->sphinx==2.1.2->-r requirements/docs-requirements.txt (line 2)) (1.1.1) Requirement already satisfied: chardet<5,>=3.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from requests>=2.5.0->sphinx==2.1.2->-r requirements/docs-requirements.txt (line 2)) (4.0.0) Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from requests>=2.5.0->sphinx==2.1.2->-r requirements/docs-requirements.txt (line 2)) (2020.12.5) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from requests>=2.5.0->sphinx==2.1.2->-r requirements/docs-requirements.txt (line 2)) (1.26.3) Requirement already satisfied: idna<3,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from requests>=2.5.0->sphinx==2.1.2->-r requirements/docs-requirements.txt (line 2)) (2.10) Requirement already satisfied: pyparsing>=2.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from packaging->sphinx==2.1.2->-r requirements/docs-requirements.txt (line 2)) (2.4.7) Installing collected packages: sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, sphinx, sphinx-autodoc-typehints, pydocstyle Attempting uninstall: sphinx Found existing installation: Sphinx 1.8.5 Uninstalling Sphinx-1.8.5: Successfully uninstalled Sphinx-1.8.5 Successfully installed pydocstyle-3.0.0 sphinx-2.1.2 sphinx-autodoc-typehints-1.6.0 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: 2021-03-09T08:00:49.122997Z, end-time: 2021-03-09T08:00:59.460475Z, duration: 10, exit-code: 0 python -m pip install --upgrade --upgrade-strategy eager --no-cache-dir . Processing /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/checkouts/latest Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing wheel metadata: started Preparing wheel metadata: finished with status 'done' Collecting pandas<1.2,>=0.20 Downloading pandas-1.1.5-cp36-cp36m-manylinux1_x86_64.whl (9.5 MB) Collecting deprecation<2.2,>=2.0 Downloading deprecation-2.1.0-py2.py3-none-any.whl (11 kB) Collecting numpy<1.20,>=1.12 Downloading numpy-1.19.5-cp36-cp36m-manylinux2010_x86_64.whl (14.8 MB) Requirement already satisfied: requests<2.26,>=2.13 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from leapyear==0.0.0) (2.25.1) Requirement already satisfied: packaging in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from deprecation<2.2,>=2.0->leapyear==0.0.0) (20.9) Collecting python-dateutil>=2.7.3 Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB) Requirement already satisfied: pytz>=2017.2 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from pandas<1.2,>=0.20->leapyear==0.0.0) (2021.1) Requirement already satisfied: six>=1.5 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from python-dateutil>=2.7.3->pandas<1.2,>=0.20->leapyear==0.0.0) (1.15.0) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from requests<2.26,>=2.13->leapyear==0.0.0) (1.26.3) Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from requests<2.26,>=2.13->leapyear==0.0.0) (2020.12.5) Requirement already satisfied: chardet<5,>=3.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from requests<2.26,>=2.13->leapyear==0.0.0) (4.0.0) Requirement already satisfied: idna<3,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from requests<2.26,>=2.13->leapyear==0.0.0) (2.10) Requirement already satisfied: pyparsing>=2.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from packaging->deprecation<2.2,>=2.0->leapyear==0.0.0) (2.4.7) Building wheels for collected packages: leapyear Building wheel for leapyear (PEP 517): started Building wheel for leapyear (PEP 517): finished with status 'done' Created wheel for leapyear: filename=leapyear-0.0.0-py2.py3-none-any.whl size=333342 sha256=a53af482c297a565e9909852dfd9da48628e22c5d93e14b7a842f2ec7cd5b291 Stored in directory: /tmp/pip-ephem-wheel-cache-8uukfq3j/wheels/9d/92/1e/b0e88154f716dc97e8729c8243e5183b8bda3564e119585f8d Successfully built leapyear Installing collected packages: python-dateutil, numpy, pandas, deprecation, leapyear Successfully installed deprecation-2.1.0 leapyear-0.0.0 numpy-1.19.5 pandas-1.1.5 python-dateutil-2.8.1 [rtd-command-info] start-time: 2021-03-09T08:01:01.235417Z, end-time: 2021-03-09T08:01:01.306988Z, duration: 0, exit-code: 0 cat docs/conf.py # -*- coding: utf-8 -*- # flake8: noqa import os import sphinx_rtd_theme import sys from datetime import datetime # docs/ directory DOCS_DIR = os.path.dirname(__file__) sys.path.append(DOCS_DIR) from leapyear.version import LEAPYEAR_VERSION as release extensions = [ "sphinx.ext.autodoc", "sphinx.ext.intersphinx", "sphinx.ext.napoleon", "sphinx.ext.mathjax", "sphinx.ext.doctest", "sphinx_autodoc_typehints", "sphinx.ext.todo", ] templates_path = ["_templates"] master_doc = "index" project = "leapyear" now = datetime.now() copyright = ( "2016-{}, LeapYear Technologies. This information is confidential and proprietary and may not" " be reproduced in whole or in part without written authorization by a representative of" " LeapYear Technologies. Patents: https://leapyear.io/patents/".format(now.year) ) version = ".".join(release.split(".")[:2]) exclude_patterns = ["build"] # -- Options for extensions --------------------------------------------------- autodoc_member_order = "bysource" todo_include_todos = bool( int(os.getenv("LY_INCLUDE_TODOS", False)) ) # Include TODO items when rendering # doctests in python modules need to be explicitly marked with `.. doctest::` doctest_test_doctest_blocks = "" napoleon_google_docstring = False napoleon_numpy_docstring = True intersphinx_mapping = {"https://docs.python.org/3/": None} # -- Options for HTML output -------------------------------------------------- html_theme = "sphinx_rtd_theme" html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] html_static_path = ["_static"] html_favicon = os.path.join("_static", "favicon.ico") html_show_sourcelink = False html_show_sphinx = False htmlhelp_basename = "leapyeardoc" html_context = { "display_github": False, # Add 'Edit on Github' link instead of 'View page source' "last_updated": now.strftime("%Y-%m-%d"), "commit": False, } def setup(app): app.add_stylesheet("css/custom.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 # # Note: this file should't rely on extra depencies. import importlib import sys import os.path # Borrowed from six. PY3 = sys.version_info[0] == 3 string_types = str if PY3 else basestring 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': [ ("latest", "/en/latest/"), ("2.13.2", "/en/2.13.2/"), ("2.13.1", "/en/2.13.1/"), ("2.13.0", "/en/2.13.0/"), ("2.12.3", "/en/2.12.3/"), ("2.12.2", "/en/2.12.2/"), ("2.12.1", "/en/2.12.1/"), ("2.12.0", "/en/2.12.0/"), ("2.11.5", "/en/2.11.5/"), ("2.10.0", "/en/2.10.0/"), ], 'downloads': [ ("pdf", "//docs.leapyear.io/_/downloads/en/latest/pdf/"), ("html", "//docs.leapyear.io/_/downloads/en/latest/htmlzip/"), ("epub", "//docs.leapyear.io/_/downloads/en/latest/epub/"), ], 'subprojects': [ ], 'slug': 'leapyear-python-docs', 'name': u'python-docs', 'rtd_language': u'en', 'programming_language': u'words', 'canonical_url': 'https://docs.leapyear.io/en/2.13.2/', 'analytics_code': 'UA-145764496-3', 'single_version': False, 'conf_py_path': '/docs/', 'api_host': 'https://readthedocs.com', 'github_user': 'LeapYear', 'proxied_api_host': '/_', 'github_repo': 'python-docs', 'github_version': 'master', 'display_github': True, 'bitbucket_user': 'None', 'bitbucket_repo': 'None', 'bitbucket_version': 'master', 'display_bitbucket': False, 'gitlab_user': 'None', 'gitlab_repo': 'None', 'gitlab_version': 'master', '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': 'UA-145764496-3', 'global_analytics_code': 'UA-17997319-2', 'commit': '32234b28', } # For sphinx >=1.8 we can use html_baseurl to set the canonical URL. # https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_baseurl if version_info >= (1, 8): if not globals().get('html_baseurl'): html_baseurl = context['canonical_url'] context['canonical_url'] = None 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") readthedocs_vcs_url = 'None' readthedocs_build_url = 'https://readthedocs.com/projects/leapyear-python-docs/builds/584094/' 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: 2021-03-09T08:01:01.450080Z, end-time: 2021-03-09T08:01:11.477017Z, duration: 10, exit-code: 0 python -m sphinx -T -E -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html Running Sphinx v2.1.2 loading translations [en]... done making output directory... done loading intersphinx inventory from https://docs.python.org/3/objects.inv... building [mo]: targets for 0 po files that are out of date building [readthedocs]: targets for 15 source files that are out of date updating environment: 15 added, 0 changed, 0 removed reading sources... [ 6%] api reading sources... [ 13%] api/admin reading sources... [ 20%] api/admin_grants reading sources... [ 26%] api/analytic_classes reading sources... [ 33%] api/analytics reading sources... [ 40%] api/async reading sources... [ 46%] api/dataset reading sources... [ 53%] api/exceptions reading sources... [ 60%] api/ext reading sources... [ 66%] api/feature reading sources... [ 73%] api/functions reading sources... [ 80%] api/leapyear reading sources... [ 86%] api/model reading sources... [ 93%] index reading sources... [100%] tutorial looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 6%] api writing output... [ 13%] api/admin writing output... [ 20%] api/admin_grants writing output... [ 26%] api/analytic_classes writing output... [ 33%] api/analytics writing output... [ 40%] api/async writing output... [ 46%] api/dataset writing output... [ 53%] api/exceptions writing output... [ 60%] api/ext writing output... [ 66%] api/feature writing output... [ 73%] api/functions writing output... [ 80%] api/leapyear writing output... [ 86%] api/model writing output... [ 93%] index writing output... [100%] tutorial generating indices... genindex py-modindex writing additional pages... search copying images... [ 33%] ./_static/l2_coefs.png copying images... [ 66%] ./_static/logistic_roc.png copying images... [100%] ./_static/decision_boundary.png copying static files... done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded. The HTML pages are in _build/html. Updating searchtools for Read the Docs search... /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages/sphinx_rtd_theme/search.html:21: RemovedInSphinx30Warning: To modify script_files in the theme is deprecated. Please insert a