Read the Docs build information Build id: 271433 Project: leapyear-python-docs Version: latest Commit: f15c8c69a4089c5a4054cc333c7268ebe7f163df Date: 2019-12-21T09:20:42.485150Z State: finished Success: True [rtd-command-info] start-time: 2019-12-21T09:20:42.981647Z, end-time: 2019-12-21T09:20:42.989727Z, duration: 0, exit-code: 0 git remote set-url origin git@github.com:LeapYear/python-docs.git [rtd-command-info] start-time: 2019-12-21T09:20:43.085127Z, end-time: 2019-12-21T09:20:43.847114Z, duration: 0, exit-code: 0 git fetch origin --force --tags --prune --prune-tags --depth 50 From github.com:LeapYear/python-docs * [new branch] 2.9.1 -> origin/2.9.1 29f858a..f15c8c6 master -> origin/master [rtd-command-info] start-time: 2019-12-21T09:20:44.169213Z, end-time: 2019-12-21T09:20:44.533343Z, duration: 0, exit-code: 0 git checkout --force origin/master Previous HEAD position was 29f858a master HEAD is now at f15c8c6 master [rtd-command-info] start-time: 2019-12-21T09:20:44.679298Z, end-time: 2019-12-21T09:20:44.743297Z, duration: 0, exit-code: 0 git clean -d -f -f Removing docs/_build/doctrees-epub/ Removing docs/_build/doctrees-readthedocs/ Removing docs/_build/doctrees-readthedocssinglehtmllocalmedia/ Removing docs/_build/doctrees/ Removing docs/_build/epub/ Removing docs/_build/html/ Removing docs/_build/json/ Removing docs/_build/latex/LICRcyr2utf8.xdy Removing docs/_build/latex/LICRlatin2utf8.xdy Removing docs/_build/latex/LatinRules.xdy Removing docs/_build/latex/Makefile Removing docs/_build/latex/decision_boundary.png Removing docs/_build/latex/decision_boundary.xbb Removing docs/_build/latex/footnotehyper-sphinx.sty Removing docs/_build/latex/l2_coefs.png Removing docs/_build/latex/l2_coefs.xbb Removing docs/_build/latex/latexmkjarc Removing docs/_build/latex/latexmkrc Removing docs/_build/latex/leapyear-python-docs.aux Removing docs/_build/latex/leapyear-python-docs.fdb_latexmk Removing docs/_build/latex/leapyear-python-docs.fls Removing docs/_build/latex/leapyear-python-docs.idx Removing docs/_build/latex/leapyear-python-docs.ilg Removing docs/_build/latex/leapyear-python-docs.ind Removing docs/_build/latex/leapyear-python-docs.out Removing docs/_build/latex/leapyear-python-docs.toc Removing docs/_build/latex/leapyear.tex Removing docs/_build/latex/logistic_roc.png Removing docs/_build/latex/logistic_roc.xbb Removing docs/_build/latex/make.bat Removing docs/_build/latex/python.ist Removing docs/_build/latex/sphinx.sty Removing docs/_build/latex/sphinx.xdy Removing docs/_build/latex/sphinxcyrillic.sty Removing docs/_build/latex/sphinxhighlight.sty Removing docs/_build/latex/sphinxhowto.cls Removing docs/_build/latex/sphinxmanual.cls Removing docs/_build/latex/sphinxmessages.sty Removing docs/_build/latex/sphinxmulticell.sty Removing docs/_build/localmedia/ [rtd-command-info] start-time: 2019-12-21T09:20:45.577892Z, end-time: 2019-12-21T09:20:51.022946Z, duration: 5, exit-code: 0 python3.6 -mvirtualenv --no-site-packages --no-download Using base prefix '/home/docs/.pyenv/versions/3.6.8' New python executable in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/bin/python3.6 Not overwriting existing python script /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/bin/python (you must use /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/bin/python3.6) Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2019-12-21T09:20:51.123693Z, end-time: 2019-12-21T09:20:52.040381Z, duration: 0, exit-code: 0 python -m pip install --upgrade --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/.cache/pip pip Requirement already up-to-date: pip in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (19.3.1) [rtd-command-info] start-time: 2019-12-21T09:20:52.140093Z, end-time: 2019-12-21T09:20:56.105868Z, duration: 3, exit-code: 0 python -m pip install --upgrade --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/.cache/pip 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 Requirement already up-to-date: Pygments==2.3.1 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (2.3.1) Requirement already up-to-date: setuptools==41.0.1 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (41.0.1) Requirement already up-to-date: docutils==0.14 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (0.14) Requirement already up-to-date: mock==1.0.1 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (1.0.1) Requirement already up-to-date: pillow==5.4.1 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (5.4.1) Requirement already up-to-date: alabaster!=0.7.5,<0.8,>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (0.7.12) Requirement already up-to-date: commonmark==0.8.1 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (0.8.1) Requirement already up-to-date: recommonmark==0.5.0 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (0.5.0) Collecting sphinx<2 Using cached https://files.pythonhosted.org/packages/7d/66/a4af242b4348b729b9d46ce5db23943ce9bca7da9bbe2ece60dc27f26420/Sphinx-1.8.5-py2.py3-none-any.whl Requirement already up-to-date: sphinx-rtd-theme<0.5 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (0.4.3) Requirement already up-to-date: readthedocs-sphinx-ext<1.1 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (1.0.1) Requirement already satisfied, skipping upgrade: future in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from commonmark==0.8.1) (0.18.2) Requirement already satisfied, skipping upgrade: 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) (2.7.0) Requirement already satisfied, skipping upgrade: Jinja2>=2.3 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from sphinx<2) (2.10.3) Requirement already satisfied, skipping upgrade: six>=1.5 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from sphinx<2) (1.13.0) Requirement already satisfied, skipping upgrade: packaging in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from sphinx<2) (19.2) Requirement already satisfied, skipping upgrade: requests>=2.0.0 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from sphinx<2) (2.22.0) Requirement already satisfied, skipping upgrade: imagesize in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from sphinx<2) (1.1.0) Requirement already satisfied, skipping upgrade: snowballstemmer>=1.1 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from sphinx<2) (2.0.0) Requirement already satisfied, skipping upgrade: sphinxcontrib-websupport in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from sphinx<2) (1.1.2) Requirement already satisfied, skipping upgrade: 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) (2019.3) Requirement already satisfied, skipping upgrade: 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.1.1) Requirement already satisfied, skipping upgrade: 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) (2.4.5) Requirement already satisfied, skipping upgrade: chardet<3.1.0,>=3.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from requests>=2.0.0->sphinx<2) (3.0.4) Requirement already satisfied, skipping upgrade: idna<2.9,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from requests>=2.0.0->sphinx<2) (2.8) Requirement already satisfied, skipping upgrade: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from requests>=2.0.0->sphinx<2) (1.25.7) Requirement already satisfied, skipping upgrade: 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.0.0->sphinx<2) (2019.11.28) Installing collected packages: sphinx Found existing installation: Sphinx 2.1.2 Uninstalling Sphinx-2.1.2: Successfully uninstalled Sphinx-2.1.2 Successfully installed sphinx-1.8.5 [rtd-command-info] start-time: 2019-12-21T09:20:56.196160Z, end-time: 2019-12-21T09:20:58.471836Z, duration: 2, exit-code: 0 python -m pip install --exists-action=w --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/.cache/pip -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 (from -r requirements/docs-requirements.txt (line 2)) Using cached https://files.pythonhosted.org/packages/6e/e5/c9ba68935cd2d72c553d49bc156bfb15ddb40e734ea7e3f238d8bd6ca6f1/Sphinx-2.1.2-py3-none-any.whl 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) Requirement already satisfied: sphinx-autodoc-typehints==1.6.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 4)) (1.6.0) Requirement already satisfied: pydocstyle==3.0.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 5)) (3.0.0) 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) 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: sphinxcontrib-applehelp 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.0.1) Requirement already satisfied: sphinxcontrib-jsmath 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.0.1) 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.22.0) 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.3.1) 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.3) Requirement already satisfied: sphinxcontrib-htmlhelp 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.0.2) 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) 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.10.3) Requirement already satisfied: sphinxcontrib-qthelp 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.0.2) 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.1.0) 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)) (19.2) 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.7.0) Requirement already satisfied: sphinxcontrib-devhelp 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.0.1) Requirement already satisfied: snowballstemmer>=1.1 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.0.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.13.0) 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: idna<2.9,>=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.8) 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)) (2019.11.28) Requirement already satisfied: chardet<3.1.0,>=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)) (3.0.4) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=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.25.7) 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: 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.5) 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)) (2019.3) Installing collected packages: sphinx Found existing installation: Sphinx 1.8.5 Uninstalling Sphinx-1.8.5: Successfully uninstalled Sphinx-1.8.5 Successfully installed sphinx-2.1.2 [rtd-command-info] start-time: 2019-12-21T09:20:58.547985Z, end-time: 2019-12-21T09:21:12.614414Z, duration: 14, exit-code: 0 python -m pip install --upgrade --upgrade-strategy eager --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/.cache/pip . 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' Requirement already up-to-date: pandas==0.24.2; python_version >= "3.0" in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from leapyear==0.0.0) (0.24.2) Requirement already up-to-date: typing==3.7.4; python_version >= "3.0" in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from leapyear==0.0.0) (3.7.4) Requirement already up-to-date: python-dateutil==2.6.1; python_version >= "3.0" in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from leapyear==0.0.0) (2.6.1) Requirement already up-to-date: numpy==1.13.3; python_version >= "3.0" in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from leapyear==0.0.0) (1.13.3) Requirement already up-to-date: pytz>=2011k in /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages (from pandas==0.24.2; python_version >= "3.0"->leapyear==0.0.0) (2019.3) Requirement already up-to-date: 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.6.1; python_version >= "3.0"->leapyear==0.0.0) (1.13.0) Building wheels for collected packages: leapyear Building wheel for leapyear (PEP 517): started Building wheel for leapyear (PEP 517): finished with status 'done' Stored in directory: /tmp/pip-ephem-wheel-cache-53r8atxl/wheels/f7/07/82/60b779e5802f0e564beb2f30873542d2d8030b15da536750bc Successfully built leapyear Installing collected packages: leapyear Found existing installation: leapyear 0.0.0 Uninstalling leapyear-0.0.0: Successfully uninstalled leapyear-0.0.0 Successfully installed leapyear-0.0.0 [rtd-command-info] start-time: 2019-12-21T09:21:13.914480Z, end-time: 2019-12-21T09:21:14.126241Z, 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.".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 # 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://media.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://media.readthedocs.com/", 'PRODUCTION_DOMAIN': "readthedocs.com", 'versions': [ ], 'downloads': [ ("pdf", "//readthedocs.com/projects/leapyear-python-docs/downloads/pdf/latest/"), ("html", "//readthedocs.com/projects/leapyear-python-docs/downloads/htmlzip/latest/"), ("epub", "//readthedocs.com/projects/leapyear-python-docs/downloads/epub/latest/"), ], '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.8.0/', 'analytics_code': 'None', 'single_version': False, 'conf_py_path': '/docs/', 'api_host': 'https://readthedocs.com', 'proxied_api_host': 'https://readthedocs.com', 'github_user': 'LeapYear', '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, 'user_analytics_code': '', 'global_analytics_code': 'UA-17997319-2', 'commit': 'f15c8c69', } 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' [rtd-command-info] start-time: 2019-12-21T09:21:14.210504Z, end-time: 2019-12-21T09:21:30.564572Z, duration: 16, exit-code: 0 python sphinx-build -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 14 source files that are out of date updating environment: 14 added, 0 changed, 0 removed reading sources... [ 7%] api reading sources... [ 14%] api/admin reading sources... [ 21%] api/admin_grants reading sources... [ 28%] api/analytic_classes reading sources... [ 35%] api/analytics reading sources... [ 42%] api/dataset reading sources... [ 50%] api/exceptions reading sources... [ 57%] api/ext reading sources... [ 64%] api/feature reading sources... [ 71%] api/functions reading sources... [ 78%] api/leapyear reading sources... [ 85%] api/model reading sources... [ 92%] index reading sources... [100%] tutorial looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 7%] api writing output... [ 14%] api/admin writing output... [ 21%] api/admin_grants writing output... [ 28%] api/analytic_classes writing output... [ 35%] api/analytics writing output... [ 42%] api/dataset writing output... [ 50%] api/exceptions writing output... [ 57%] api/ext writing output... [ 64%] api/feature writing output... [ 71%] api/functions writing output... [ 78%] api/leapyear writing output... [ 85%] api/model writing output... [ 92%] 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 readthedocs static files... done copying searchtools... 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. /home/docs/checkouts/readthedocs.org/user_builds/leapyear-python-docs/envs/latest/lib/python3.6/site-packages/sphinx_rtd_theme/search.html:20: RemovedInSphinx30Warning: To modify script_files in the theme is deprecated. Please insert a