Read the Docs build information Build id: 23693 Project: calibrationreport Version: latest Commit: a028ceedacd5046c9d9dbc7c8430bf2e799a3b46 Date: 2022-05-19T07:48:55.822516Z State: finished Success: False [rtd-command-info] start-time: 2022-05-19T07:49:32.640432Z, end-time: 2022-05-19T07:49:36.529936Z, duration: 3, exit-code: 0 git clone --no-single-branch --depth 50 http://git.xfel.eu/gitlab/detectors/calibrationReport.git . Cloning into '.'... [rtd-command-info] start-time: 2022-05-19T07:49:36.989741Z, end-time: 2022-05-19T07:49:37.250752Z, duration: 0, exit-code: 0 git checkout --force origin/fix/rtd_build Note: checking out 'origin/fix/rtd_build'. 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 a028cee update config.yml [rtd-command-info] start-time: 2022-05-19T07:49:37.369555Z, end-time: 2022-05-19T07:49:37.450974Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2022-05-19T07:49:38.571396Z, end-time: 2022-05-19T07:49:44.387019Z, duration: 5, exit-code: 0 python3.7 -mvirtualenv /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest Using base prefix '/home/docs/.pyenv/versions/3.7.3' New python executable in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/bin/python3.7 Also creating executable in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/bin/python Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2022-05-19T07:49:44.534273Z, end-time: 2022-05-19T07:49:45.556326Z, duration: 1, exit-code: 0 /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/bin/python -m pip install --upgrade --no-cache-dir pip Requirement already satisfied: pip in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages (22.1) [rtd-command-info] start-time: 2022-05-19T07:49:45.692610Z, end-time: 2022-05-19T07:50:02.938495Z, duration: 17, exit-code: 0 /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/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.2 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 17.6 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 100.3 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 94.8 MB/s eta 0:00:00 Collecting mock==1.0.1 Downloading mock-1.0.1.zip (861 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 861.9/861.9 kB 98.8 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 97.9 MB/s eta 0:00:00 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) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.4/47.4 kB 107.8 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 113.5 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 119.6 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.2.tar.gz (829 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 829.2/829.2 kB 135.5 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting requests>=2.0.0 Downloading requests-2.27.1-py2.py3-none-any.whl (63 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.1/63.1 kB 115.5 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 92.0 MB/s eta 0:00:00 Collecting six>=1.5 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting babel!=2.0,>=1.3 Downloading Babel-2.10.1-py3-none-any.whl (9.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.5/9.5 MB 123.7 MB/s eta 0:00:00 Collecting packaging Downloading packaging-21.3-py3-none-any.whl (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 kB 118.2 MB/s eta 0:00:00 Collecting imagesize Downloading imagesize-1.3.0-py2.py3-none-any.whl (5.2 kB) Collecting sphinxcontrib-websupport Downloading sphinxcontrib_websupport-1.2.4-py2.py3-none-any.whl (39 kB) Collecting pytz>=2015.7 Downloading pytz-2022.1-py2.py3-none-any.whl (503 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 503.5/503.5 kB 134.9 MB/s eta 0:00:00 Collecting idna<4,>=2.5 Downloading idna-3.3-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 121.6 MB/s eta 0:00:00 Collecting certifi>=2017.4.17 Downloading certifi-2022.5.18-py3-none-any.whl (155 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.2/155.2 kB 105.4 MB/s eta 0:00:00 Collecting charset-normalizer~=2.0.0 Downloading charset_normalizer-2.0.12-py3-none-any.whl (39 kB) Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.9-py2.py3-none-any.whl (138 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 139.0/139.0 kB 129.5 MB/s eta 0:00:00 Collecting pyparsing!=3.0.5,>=2.0.2 Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 kB 130.2 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 129.0 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=c2a04faf325139972ba78102c520cf5bfd8e53dbfb246cbd02b4edb87cd7a8a9 Stored in directory: /tmp/pip-ephem-wheel-cache-8dkxqo7y/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=491058 sha256=9cb5c9188e1ed18343470d55cdd92235d2014569a5940957ef7b652acf620b32 Stored in directory: /tmp/pip-ephem-wheel-cache-8dkxqo7y/wheels/56/b0/fe/4410d17b32f1f0c3cf54cdfb2bc04d7b4b8f4ae377e2229ba0 Successfully built mock future Installing collected packages: snowballstemmer, pytz, Pygments, mock, docutils, alabaster, urllib3, sphinxcontrib-serializinghtml, six, setuptools, pyparsing, pillow, markupsafe, imagesize, idna, future, charset-normalizer, certifi, babel, sphinxcontrib-websupport, requests, packaging, jinja2, commonmark, sphinx, readthedocs-sphinx-ext, sphinx-rtd-theme, recommonmark Attempting uninstall: setuptools Found existing installation: setuptools 62.3.2 Uninstalling setuptools-62.3.2: Successfully uninstalled setuptools-62.3.2 Successfully installed Pygments-2.3.1 alabaster-0.7.12 babel-2.10.1 certifi-2022.5.18 charset-normalizer-2.0.12 commonmark-0.8.1 docutils-0.14 future-0.18.2 idna-3.3 imagesize-1.3.0 jinja2-2.11.3 markupsafe-2.0.1 mock-1.0.1 packaging-21.3 pillow-5.4.1 pyparsing-3.0.9 pytz-2022.1 readthedocs-sphinx-ext-1.0.4 recommonmark-0.5.0 requests-2.27.1 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.9 [rtd-command-info] start-time: 2022-05-19T07:50:03.078913Z, end-time: 2022-05-19T07:50:09.202593Z, duration: 6, exit-code: 0 /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/bin/python -m pip install --exists-action=w --no-cache-dir -r doc/requirements.txt Collecting sphinx==1.8.5 Downloading Sphinx-1.8.5-py2.py3-none-any.whl (3.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 27.2 MB/s eta 0:00:00 Requirement already satisfied: sphinx-rtd-theme==0.4.3 in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages (from -r doc/requirements.txt (line 2)) (0.4.3) Collecting slumber Downloading slumber-0.7.1.tar.gz (10 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting gitpython Downloading GitPython-3.1.27-py3-none-any.whl (181 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.2/181.2 kB 122.7 MB/s eta 0:00:00 Collecting pyyaml==5.3 Downloading PyYAML-5.3.tar.gz (268 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 268.2/268.2 kB 140.5 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: six>=1.5 in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages (from sphinx==1.8.5->-r doc/requirements.txt (line 1)) (1.16.0) Requirement already satisfied: setuptools in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages (from sphinx==1.8.5->-r doc/requirements.txt (line 1)) (41.0.1) Requirement already satisfied: alabaster<0.8,>=0.7 in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages (from sphinx==1.8.5->-r doc/requirements.txt (line 1)) (0.7.12) Requirement already satisfied: Pygments>=2.0 in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages (from sphinx==1.8.5->-r doc/requirements.txt (line 1)) (2.3.1) Requirement already satisfied: Jinja2>=2.3 in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages (from sphinx==1.8.5->-r doc/requirements.txt (line 1)) (2.11.3) Requirement already satisfied: sphinxcontrib-websupport in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages (from sphinx==1.8.5->-r doc/requirements.txt (line 1)) (1.2.4) Requirement already satisfied: imagesize in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages (from sphinx==1.8.5->-r doc/requirements.txt (line 1)) (1.3.0) Requirement already satisfied: snowballstemmer>=1.1 in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages (from sphinx==1.8.5->-r doc/requirements.txt (line 1)) (2.2.0) Requirement already satisfied: docutils>=0.11 in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages (from sphinx==1.8.5->-r doc/requirements.txt (line 1)) (0.14) Requirement already satisfied: requests>=2.0.0 in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages (from sphinx==1.8.5->-r doc/requirements.txt (line 1)) (2.27.1) Requirement already satisfied: packaging in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages (from sphinx==1.8.5->-r doc/requirements.txt (line 1)) (21.3) Requirement already satisfied: babel!=2.0,>=1.3 in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages (from sphinx==1.8.5->-r doc/requirements.txt (line 1)) (2.10.1) Collecting gitdb<5,>=4.0.1 Downloading gitdb-4.0.9-py3-none-any.whl (63 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.1/63.1 kB 105.5 MB/s eta 0:00:00 Collecting typing-extensions>=3.7.4.3 Downloading typing_extensions-4.2.0-py3-none-any.whl (24 kB) Requirement already satisfied: pytz>=2015.7 in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages (from babel!=2.0,>=1.3->sphinx==1.8.5->-r doc/requirements.txt (line 1)) (2022.1) Collecting smmap<6,>=3.0.1 Downloading smmap-5.0.0-py3-none-any.whl (24 kB) Requirement already satisfied: MarkupSafe>=0.23 in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages (from Jinja2>=2.3->sphinx==1.8.5->-r doc/requirements.txt (line 1)) (2.0.1) Requirement already satisfied: certifi>=2017.4.17 in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages (from requests>=2.0.0->sphinx==1.8.5->-r doc/requirements.txt (line 1)) (2022.5.18) Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages (from requests>=2.0.0->sphinx==1.8.5->-r doc/requirements.txt (line 1)) (2.0.12) Requirement already satisfied: idna<4,>=2.5 in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages (from requests>=2.0.0->sphinx==1.8.5->-r doc/requirements.txt (line 1)) (3.3) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages (from requests>=2.0.0->sphinx==1.8.5->-r doc/requirements.txt (line 1)) (1.26.9) Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages (from packaging->sphinx==1.8.5->-r doc/requirements.txt (line 1)) (3.0.9) Requirement already satisfied: sphinxcontrib-serializinghtml in /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages (from sphinxcontrib-websupport->sphinx==1.8.5->-r doc/requirements.txt (line 1)) (1.1.5) Building wheels for collected packages: pyyaml, slumber 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-cp37-cp37m-linux_x86_64.whl size=44228 sha256=d1257da72711cc78d94f26ca2143b02190f40fe122e84cbea1a85051c8412520 Stored in directory: /tmp/pip-ephem-wheel-cache-guri39zd/wheels/8a/55/a4/c0a81d27c33462cfdcb904db018f5550197e88b2b6b85beed2 Building wheel for slumber (setup.py): started Building wheel for slumber (setup.py): finished with status 'done' Created wheel for slumber: filename=slumber-0.7.1-py3-none-any.whl size=8098 sha256=40eeb828129320a5e16e9f2330c36bbeb40df87afca7dbd9b9de3cba99b7369c Stored in directory: /tmp/pip-ephem-wheel-cache-guri39zd/wheels/eb/d6/67/f165e383ef89df4d90f29343f2e120543adc1886663e9f139b Successfully built pyyaml slumber Installing collected packages: typing-extensions, smmap, pyyaml, sphinx, slumber, gitdb, gitpython Attempting uninstall: sphinx Found existing installation: Sphinx 1.8.6 Uninstalling Sphinx-1.8.6: Successfully uninstalled Sphinx-1.8.6 Successfully installed gitdb-4.0.9 gitpython-3.1.27 pyyaml-5.3 slumber-0.7.1 smmap-5.0.0 sphinx-1.8.5 typing-extensions-4.2.0 [rtd-command-info] start-time: 2022-05-19T07:50:10.237916Z, end-time: 2022-05-19T07:50:10.318603Z, duration: 0, exit-code: 0 cat doc/conf.py # -*- coding: utf-8 -*- # # calibrationReport documentation build configuration file, created by # sphinx-quickstart on Tue May 28 21:44:11 2019. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a default; values that are commented out # serve to show the default. import sys import os from git import Repo, InvalidGitRepositoryError import sphinx_rtd_theme import yaml sys.path.append(os.path.abspath("../lib/")) sys.path.append(os.path.abspath(".")) import create_all_rst def init_config_repo(reports_repo, repo_local): """ Make sure the configuration repo. is present and up-to-data """ os.makedirs(os.path.abspath(repo_local), exist_ok=True) # check if it is a repo try: repo = Repo(os.path.abspath(repo_local)) except InvalidGitRepositoryError: repo = Repo.clone_from(reports_repo, os.path.abspath(repo_local)) try: repo.remote().pull() print("The repo. for figures is initialized") except: print("git is not working at the moment last version was used!") with open("../lib/conf.yaml", 'r') as f: conf = yaml.load(f.read(), Loader=yaml.FullLoader) reports_repo = conf['GLOBAL']['reports-git'] repo_local = '{}/'.format(os.path.basename(os.path.splitext(reports_repo)[0])) init_config_repo(reports_repo, repo_local) create_all_rst.create(os.path.abspath("../lib/"), os.path.abspath("DetectorCharacterization/figures"), "../../../../DetectorCharacterization/figures") # 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. #sys.path.insert(0, os.path.abspath('.')) # -- General configuration ----------------------------------------------------- # If your documentation needs a minimal Sphinx version, state it here. #needs_sphinx = '1.0' # 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.ext.autosectionlabel', 'sphinx.ext.autodoc', 'sphinx.ext.intersphinx']#, 'silent_builder'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] # The suffix of source filenames. source_suffix = '.rst' # The encoding of source files. #source_encoding = 'utf-8-sig' # The master toctree document. master_doc = 'index' # General information about the project. project = u'calibrationReport' copyright = u'2019, M.Karnevskiy, K.Ahmed' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. version = '0.1' # The full version, including alpha/beta/rc tags. release = '0.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: #today = '' # Else, today_fmt is used as the format for a strftime call. #today_fmt = '%B %d, %Y' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. exclude_patterns = ["_build", "DetectorCharacterization/doc/index.rst"] intersphinx_mapping = { 'python': ('http://docs.python.org/3.4', None) } # The reST default role (used for this markup: `text`) to use for all documents. #default_role = None # If true, '()' will be appended to :func: etc. cross-reference text. #add_function_parentheses = True # If true, the current module name will be prepended to all description # unit titles (such as .. function::). #add_module_names = True # If true, sectionauthor and moduleauthor directives will be shown in the # output. They are ignored by default. #show_authors = False # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' # A list of ignored prefixes for module index sorting. #modindex_common_prefix = [] # -- 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_rtd_theme' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. html_theme_options = {'navigation_depth': 6} # Add any paths that contain custom themes here, relative to this directory. #html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] # The name for this set of Sphinx documents. If None, it defaults to # " v documentation". #html_title = None # A shorter title for the navigation bar. Default is the same as html_title. #html_short_title = None # The name of an image file (relative to this directory) to place at the top # of the sidebar. #html_logo = None # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # pixels large. #html_favicon = None # 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'] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. #html_last_updated_fmt = '%b %d, %Y' # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. #html_use_smartypants = True # Custom sidebar templates, maps document names to template names. html_sidebars = {'**': ['globaltoc.html', 'relations.html', 'sourcelink.html', 'searchbox.html']} # Additional templates that should be rendered to pages, maps page names to # template names. #html_additional_pages = {} # If false, no module index is generated. #html_domain_indices = True # If false, no index is generated. #html_use_index = True # If true, the index is split into individual pages for each letter. #html_split_index = False # If true, links to the reST sources are added to the pages. #html_show_sourcelink = True # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. #html_show_sphinx = True # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. #html_show_copyright = True # If true, an OpenSearch description file will be output, and all pages will # contain a tag referring to it. The value of this option must be the # base URL from which the finished HTML is served. #html_use_opensearch = '' # This is the file name suffix for HTML files (e.g. ".xhtml"). #html_file_suffix = None # Output file base name for HTML help builder. htmlhelp_basename = 'calibrationReportdoc' # -- Options for LaTeX output -------------------------------------------------- latex_elements = { # The paper size ('letterpaper' or 'a4paper'). #'papersize': 'letterpaper', # The font size ('10pt', '11pt' or '12pt'). #'pointsize': '10pt', # Additional stuff for the LaTeX preamble. #'preamble': '', } # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ ('index', 'calibrationReport.tex', u'calibrationReport Documentation', u'M.Karnevskiy, K.Ahmed', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of # the title page. #latex_logo = None # For "manual" documents, if this is true, then toplevel headings are parts, # not chapters. #latex_use_parts = False # If true, show page references after internal links. #latex_show_pagerefs = False # If true, show URL addresses after external links. #latex_show_urls = False # Documents to append as an appendix to all manuals. #latex_appendices = [] # If false, no module index is generated. #latex_domain_indices = True # -- Options for manual page output -------------------------------------------- # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ ('index', 'calibrationReport', u'calibrationReport Documentation', [u'M.Karnevskiy, K.Ahmed'], 1) ] # If true, show URL addresses after external links. #man_show_urls = False # -- Options for Texinfo output ------------------------------------------------ # Grouping the document tree into Texinfo files. List of tuples # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ ('index', 'calibrationReport', u'calibrationReport Documentation', u'M.Karnevskiy, K.Ahmed', 'calibrationReport', 'One line description of project.', 'Miscellaneous'), ] # Documents to append as an appendix to all manuals. #texinfo_appendices = [] # If false, no module index is generated. #texinfo_domain_indices = True # How to display URL addresses: 'footnote', 'no', or 'inline'. #texinfo_show_urls = 'footnote' ########################################################################### # 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': "latest", 'version_slug': "latest", 'MEDIA_URL': "media/", 'STATIC_URL': "/static/", 'PRODUCTION_DOMAIN': "rtd.xfel.eu", 'versions': [ ("latest", "/en/latest/"), ], 'downloads': [ ("pdf", "//rtd.xfel.eu/downloads/calibrationreport/latest/pdf/"), ("html", "//rtd.xfel.eu/downloads/calibrationreport/latest/htmlzip/"), ("epub", "//rtd.xfel.eu/downloads/calibrationreport/latest/epub/"), ], 'subprojects': [ ], 'slug': 'calibrationreport', 'name': u'calibrationReport', 'rtd_language': u'en', 'programming_language': u'py', 'canonical_url': 'http://rtd.xfel.eu/docs/calibrationreport/en/latest/', 'analytics_code': 'None', 'single_version': False, 'conf_py_path': '/doc/', 'api_host': 'http://rtd.xfel.eu', 'github_user': 'None', 'proxied_api_host': '/_', 'github_repo': 'None', 'github_version': 'fix/rtd_build', 'display_github': False, 'bitbucket_user': 'None', 'bitbucket_repo': 'None', 'bitbucket_version': 'fix/rtd_build', 'display_bitbucket': False, 'gitlab_user': 'None', 'gitlab_repo': 'None', 'gitlab_version': 'fix/rtd_build', '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': 'a028ceed', } 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: 2022-05-19T07:50:10.453704Z, end-time: 2022-05-19T07:50:11.265620Z, duration: 0, exit-code: 2 python /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/bin/sphinx-build -T -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html Running Sphinx v1.8.5 Traceback (most recent call last): File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/checkouts/latest/doc/conf.py", line 33, in init_config_repo repo = Repo(os.path.abspath(repo_local)) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/git/repo/base.py", line 224, in __init__ self.working_dir: Optional[PathLike] = self._working_tree_dir or self.common_dir File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/git/repo/base.py", line 307, in common_dir raise InvalidGitRepositoryError() git.exc.InvalidGitRepositoryError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 368, in eval_config_file execfile_(filename, namespace) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_ exec_(code, _globals) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/checkouts/latest/doc/conf.py", line 47, in init_config_repo(reports_repo, repo_local) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/checkouts/latest/doc/conf.py", line 35, in init_config_repo repo = Repo.clone_from(reports_repo, os.path.abspath(repo_local)) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/git/repo/base.py", line 1148, in clone_from return cls._clone(git, url, to_path, GitCmdObjectDB, progress, multi_options, **kwargs) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/git/repo/base.py", line 1086, in _clone finalize_process(proc, stderr=stderr) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/git/util.py", line 386, in finalize_process proc.wait(**kwargs) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/git/cmd.py", line 502, in wait raise GitCommandError(remove_password_if_present(self.args), status, errstr) git.exc.GitCommandError: Cmd('git') failed due to: exit code(128) cmdline: git clone -v https://xcalgitlab:*****@git.xfel.eu/gitlab/detectors/DetectorCharacterization.git /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/checkouts/latest/doc/DetectorCharacterization stderr: 'Cloning into '/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/checkouts/latest/doc/DetectorCharacterization'... remote: HTTP Basic: Access denied fatal: Authentication failed for 'https://xcalgitlab:${GITHUB_TOKEN}@git.xfel.eu/gitlab/detectors/DetectorCharacterization.git/' ' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/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/calibrationreport/envs/latest/lib/python3.7/site-packages/sphinx/application.py", line 201, in __init__ self.config = Config.read(self.confdir, confoverrides or {}, self.tags) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 203, in read namespace = eval_config_file(filename, tags) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 380, in eval_config_file raise ConfigError(msg % traceback.format_exc()) sphinx.errors.ConfigError: There is a programmable error in your configuration file: Traceback (most recent call last): File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/checkouts/latest/doc/conf.py", line 33, in init_config_repo repo = Repo(os.path.abspath(repo_local)) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/git/repo/base.py", line 224, in __init__ self.working_dir: Optional[PathLike] = self._working_tree_dir or self.common_dir File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/git/repo/base.py", line 307, in common_dir raise InvalidGitRepositoryError() git.exc.InvalidGitRepositoryError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 368, in eval_config_file execfile_(filename, namespace) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_ exec_(code, _globals) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/checkouts/latest/doc/conf.py", line 47, in init_config_repo(reports_repo, repo_local) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/checkouts/latest/doc/conf.py", line 35, in init_config_repo repo = Repo.clone_from(reports_repo, os.path.abspath(repo_local)) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/git/repo/base.py", line 1148, in clone_from return cls._clone(git, url, to_path, GitCmdObjectDB, progress, multi_options, **kwargs) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/git/repo/base.py", line 1086, in _clone finalize_process(proc, stderr=stderr) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/git/util.py", line 386, in finalize_process proc.wait(**kwargs) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/git/cmd.py", line 502, in wait raise GitCommandError(remove_password_if_present(self.args), status, errstr) git.exc.GitCommandError: Cmd('git') failed due to: exit code(128) cmdline: git clone -v https://xcalgitlab:*****@git.xfel.eu/gitlab/detectors/DetectorCharacterization.git /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/checkouts/latest/doc/DetectorCharacterization stderr: 'Cloning into '/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/checkouts/latest/doc/DetectorCharacterization'... remote: HTTP Basic: Access denied fatal: Authentication failed for 'https://xcalgitlab:${GITHUB_TOKEN}@git.xfel.eu/gitlab/detectors/DetectorCharacterization.git/' ' Configuration error: There is a programmable error in your configuration file: Traceback (most recent call last): File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/checkouts/latest/doc/conf.py", line 33, in init_config_repo repo = Repo(os.path.abspath(repo_local)) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/git/repo/base.py", line 224, in __init__ self.working_dir: Optional[PathLike] = self._working_tree_dir or self.common_dir File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/git/repo/base.py", line 307, in common_dir raise InvalidGitRepositoryError() git.exc.InvalidGitRepositoryError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 368, in eval_config_file execfile_(filename, namespace) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_ exec_(code, _globals) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/checkouts/latest/doc/conf.py", line 47, in init_config_repo(reports_repo, repo_local) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/checkouts/latest/doc/conf.py", line 35, in init_config_repo repo = Repo.clone_from(reports_repo, os.path.abspath(repo_local)) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/git/repo/base.py", line 1148, in clone_from return cls._clone(git, url, to_path, GitCmdObjectDB, progress, multi_options, **kwargs) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/git/repo/base.py", line 1086, in _clone finalize_process(proc, stderr=stderr) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/git/util.py", line 386, in finalize_process proc.wait(**kwargs) File "/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/envs/latest/lib/python3.7/site-packages/git/cmd.py", line 502, in wait raise GitCommandError(remove_password_if_present(self.args), status, errstr) git.exc.GitCommandError: Cmd('git') failed due to: exit code(128) cmdline: git clone -v https://xcalgitlab:*****@git.xfel.eu/gitlab/detectors/DetectorCharacterization.git /usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/checkouts/latest/doc/DetectorCharacterization stderr: 'Cloning into '/usr/src/app/checkouts/readthedocs.org/user_builds/calibrationreport/checkouts/latest/doc/DetectorCharacterization'... remote: HTTP Basic: Access denied fatal: Authentication failed for 'https://xcalgitlab:${GITHUB_TOKEN}@git.xfel.eu/gitlab/detectors/DetectorCharacterization.git/' '