Read the Docs build information Build id: 22216 Project: pnccd-manual Version: latest Commit: 84bf6044d6c713e224887f59a3fcdd41c932b151 Date: 2021-08-05T20:26:34.333089Z State: finished Success: False [rtd-command-info] start-time: 2021-08-05T20:26:35.402363Z, end-time: 2021-08-05T20:26:40.166920Z, duration: 4, exit-code: 0 git clone --no-single-branch --depth 50 http://git.xfel.eu/gitlab/detectors/pnCCD.git . Cloning into '.'... [rtd-command-info] start-time: 2021-08-05T20:26:40.528253Z, end-time: 2021-08-05T20:26:40.988142Z, 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 84bf604 Updated conf.py for api/v2 [rtd-command-info] start-time: 2021-08-05T20:26:41.128407Z, end-time: 2021-08-05T20:26:41.217403Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2021-08-05T20:26:42.809774Z, end-time: 2021-08-05T20:26:48.038099Z, duration: 5, exit-code: 0 python3.7 -mvirtualenv /usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest Using base prefix '/home/docs/.pyenv/versions/3.7.3' New python executable in /usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/bin/python3.7 Also creating executable in /usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/bin/python Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2021-08-05T20:26:48.177717Z, end-time: 2021-08-05T20:26:49.217773Z, duration: 1, exit-code: 0 /usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/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/pnccd-manual/envs/latest/lib/python3.7/site-packages (21.2.2) [rtd-command-info] start-time: 2021-08-05T20:26:49.358498Z, end-time: 2021-08-05T20:27:01.506887Z, duration: 12, exit-code: 0 /usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/bin/python -m pip install --upgrade --no-cache-dir 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 Pygments==2.3.1 Downloading Pygments-2.3.1-py2.py3-none-any.whl (849 kB) Collecting setuptools==41.0.1 Downloading setuptools-41.0.1-py2.py3-none-any.whl (575 kB) Collecting docutils==0.14 Downloading docutils-0.14-py3-none-any.whl (543 kB) Collecting mock==1.0.1 Downloading mock-1.0.1.zip (861 kB) Collecting pillow==5.4.1 Downloading Pillow-5.4.1-cp37-cp37m-manylinux1_x86_64.whl (2.0 MB) Collecting 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<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) Collecting imagesize Downloading imagesize-1.2.0-py2.py3-none-any.whl (4.8 kB) Collecting six>=1.5 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting requests>=2.0.0 Downloading requests-2.26.0-py2.py3-none-any.whl (62 kB) Collecting packaging Downloading packaging-21.0-py3-none-any.whl (40 kB) Collecting sphinxcontrib-websupport Downloading sphinxcontrib_websupport-1.2.4-py2.py3-none-any.whl (39 kB) Collecting babel!=2.0,>=1.3 Downloading Babel-2.9.1-py2.py3-none-any.whl (8.8 MB) Collecting snowballstemmer>=1.1 Downloading snowballstemmer-2.1.0-py2.py3-none-any.whl (93 kB) Collecting Jinja2>=2.3 Downloading Jinja2-3.0.1-py3-none-any.whl (133 kB) Collecting pytz>=2015.7 Downloading pytz-2021.1-py2.py3-none-any.whl (510 kB) Collecting MarkupSafe>=2.0 Downloading MarkupSafe-2.0.1-cp37-cp37m-manylinux2010_x86_64.whl (31 kB) Collecting certifi>=2017.4.17 Downloading certifi-2021.5.30-py2.py3-none-any.whl (145 kB) Collecting idna<4,>=2.5 Downloading idna-3.2-py3-none-any.whl (59 kB) Collecting charset-normalizer~=2.0.0 Downloading charset_normalizer-2.0.4-py3-none-any.whl (36 kB) Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.6-py2.py3-none-any.whl (138 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.5-py2.py3-none-any.whl (94 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=23772 sha256=d35660eb7c2379dbd2ddd804cb01459104755dfe4b9a0e01c98712762a10b930 Stored in directory: /tmp/pip-ephem-wheel-cache-h_jygoc7/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=491070 sha256=f0b2ab30bd7ab42a89cb097336c1107cab4f9f34d6667cf719535096dcf16478 Stored in directory: /tmp/pip-ephem-wheel-cache-h_jygoc7/wheels/56/b0/fe/4410d17b32f1f0c3cf54cdfb2bc04d7b4b8f4ae377e2229ba0 Successfully built mock future Installing collected packages: urllib3, sphinxcontrib-serializinghtml, pytz, pyparsing, MarkupSafe, idna, charset-normalizer, certifi, sphinxcontrib-websupport, snowballstemmer, six, setuptools, requests, Pygments, packaging, Jinja2, imagesize, future, docutils, babel, alabaster, sphinx, commonmark, sphinx-rtd-theme, recommonmark, readthedocs-sphinx-ext, pillow, mock Attempting uninstall: setuptools Found existing installation: setuptools 57.4.0 Uninstalling setuptools-57.4.0: Successfully uninstalled setuptools-57.4.0 Successfully installed Jinja2-3.0.1 MarkupSafe-2.0.1 Pygments-2.3.1 alabaster-0.7.12 babel-2.9.1 certifi-2021.5.30 charset-normalizer-2.0.4 commonmark-0.8.1 docutils-0.14 future-0.18.2 idna-3.2 imagesize-1.2.0 mock-1.0.1 packaging-21.0 pillow-5.4.1 pyparsing-2.4.7 pytz-2021.1 readthedocs-sphinx-ext-1.0.4 recommonmark-0.5.0 requests-2.26.0 setuptools-41.0.1 six-1.16.0 snowballstemmer-2.1.0 sphinx-1.8.5 sphinx-rtd-theme-0.4.3 sphinxcontrib-serializinghtml-1.1.5 sphinxcontrib-websupport-1.2.4 urllib3-1.26.6 [rtd-command-info] start-time: 2021-08-05T20:27:01.642102Z, end-time: 2021-08-05T20:27:06.723974Z, duration: 5, exit-code: 0 /usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/bin/python -m pip install --exists-action=w --no-cache-dir -r requirements.txt Collecting git+https://git.xfel.eu/gitlab/xfel-rtd/rtd-conf.git (from -r requirements.txt (line 3)) Cloning https://git.xfel.eu/gitlab/xfel-rtd/rtd-conf.git to /tmp/pip-req-build-060l8g_o Running command git clone -q https://git.xfel.eu/gitlab/xfel-rtd/rtd-conf.git /tmp/pip-req-build-060l8g_o Resolved https://git.xfel.eu/gitlab/xfel-rtd/rtd-conf.git to commit 3d66246db37045eaa716d206b13441613c1b413e Collecting sphinx==1.4.5 Downloading Sphinx-1.4.5-py2.py3-none-any.whl (1.6 MB) Collecting breathe==4.7.3 Downloading breathe-4.7.3-py2.py3-none-any.whl (73 kB) Collecting slumber==0.7.1 Downloading slumber-0.7.1.tar.gz (10 kB) Requirement already satisfied: imagesize in /usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/lib/python3.7/site-packages (from sphinx==1.4.5->-r requirements.txt (line 4)) (1.2.0) Requirement already satisfied: alabaster<0.8,>=0.7 in /usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/lib/python3.7/site-packages (from sphinx==1.4.5->-r requirements.txt (line 4)) (0.7.12) Requirement already satisfied: Pygments>=2.0 in /usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/lib/python3.7/site-packages (from sphinx==1.4.5->-r requirements.txt (line 4)) (2.3.1) Requirement already satisfied: six>=1.4 in /usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/lib/python3.7/site-packages (from sphinx==1.4.5->-r requirements.txt (line 4)) (1.16.0) Requirement already satisfied: docutils>=0.11 in /usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/lib/python3.7/site-packages (from sphinx==1.4.5->-r requirements.txt (line 4)) (0.14) Requirement already satisfied: babel!=2.0,>=1.3 in /usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/lib/python3.7/site-packages (from sphinx==1.4.5->-r requirements.txt (line 4)) (2.9.1) Requirement already satisfied: snowballstemmer>=1.1 in /usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/lib/python3.7/site-packages (from sphinx==1.4.5->-r requirements.txt (line 4)) (2.1.0) Requirement already satisfied: Jinja2>=2.3 in /usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/lib/python3.7/site-packages (from sphinx==1.4.5->-r requirements.txt (line 4)) (3.0.1) Requirement already satisfied: requests in /usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/lib/python3.7/site-packages (from slumber==0.7.1->-r requirements.txt (line 6)) (2.26.0) Requirement already satisfied: pytz>=2015.7 in /usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/lib/python3.7/site-packages (from babel!=2.0,>=1.3->sphinx==1.4.5->-r requirements.txt (line 4)) (2021.1) Requirement already satisfied: MarkupSafe>=2.0 in /usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/lib/python3.7/site-packages (from Jinja2>=2.3->sphinx==1.4.5->-r requirements.txt (line 4)) (2.0.1) Requirement already satisfied: idna<4,>=2.5 in /usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/lib/python3.7/site-packages (from requests->slumber==0.7.1->-r requirements.txt (line 6)) (3.2) Requirement already satisfied: certifi>=2017.4.17 in /usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/lib/python3.7/site-packages (from requests->slumber==0.7.1->-r requirements.txt (line 6)) (2021.5.30) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/lib/python3.7/site-packages (from requests->slumber==0.7.1->-r requirements.txt (line 6)) (1.26.6) Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/lib/python3.7/site-packages (from requests->slumber==0.7.1->-r requirements.txt (line 6)) (2.0.4) Building wheels for collected packages: slumber, RTDConf 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=aeab9bf3644c1bfc0808e318fa45b6b077ba1450cbeefa0d9660cc2b20230c7b Stored in directory: /tmp/pip-ephem-wheel-cache-wrn7809l/wheels/eb/d6/67/f165e383ef89df4d90f29343f2e120543adc1886663e9f139b Building wheel for RTDConf (setup.py): started Building wheel for RTDConf (setup.py): finished with status 'done' Created wheel for RTDConf: filename=RTDConf-0.1-py3-none-any.whl size=2649 sha256=0e18021909ddc187827841f07538c680ba1f7ec2479dcbf7c988ffbdc6ec65f8 Stored in directory: /tmp/pip-ephem-wheel-cache-wrn7809l/wheels/17/a3/d4/e42b943fdbccc9aa92ab080ea1739cd6987c6c6d000fb359e4 Successfully built slumber RTDConf Installing collected packages: sphinx, slumber, RTDConf, breathe Attempting uninstall: sphinx Found existing installation: Sphinx 1.8.5 Uninstalling Sphinx-1.8.5: Successfully uninstalled Sphinx-1.8.5 Successfully installed RTDConf-0.1 breathe-4.7.3 slumber-0.7.1 sphinx-1.4.5 [rtd-command-info] start-time: 2021-08-05T20:27:07.838701Z, end-time: 2021-08-05T20:27:07.925041Z, duration: 0, exit-code: 0 cat source/conf.py #!/usr/bin/env python3 # -*- coding: utf-8 -*- # # pnCCD documentation build configuration file, created by # sphinx-quickstart on Tuesday January 28, 2020 at 11:25:48. # # This file is execfile()d with the current directory set to its # containing directory. # # 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. # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # # import os # import sys # sys.path.insert(0, os.path.abspath('.')) # -- 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.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.mathjax', 'sphinx.ext.ifconfig', 'sphinx.ext.viewcode', 'sphinx.ext.graphviz' ] # Add any paths that contain templates here, relative to this directory. templates_path = ['.templates'] # The suffix(es) of source filenames. # You can specify multiple suffix as a list of string: # # source_suffix = ['.rst', '.md'] 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 = 'pnCCD' copyright = '2020, XFEL Detector Operation Group' #author = 'XFEL Detector Group' author = u'Kiana Setoodehnia, David Lomidze' # 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 = '2.1' # The full version, including alpha/beta/rc tags. release = ': Version 2.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. 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' # If True, figures, tables and code-blocks are automatically numbered if they # have a caption. The numref role is enabled. Obeyed so far only by HTML and # LaTeX builders. Default is False. numfig = True # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This patterns also effect to html_static_path and html_extra_path exclude_patterns = [] # 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 = [] # If true, keep warnings as "system message" paragraphs in the built documents. # keep_warnings = False # If true, `todo` and `todoList` produce output, else they produce nothing. todo_include_todos = True # -- 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 = 'alabaster' # 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 = {} # Add any paths that contain custom themes here, relative to this directory. # html_theme_path = [] # The name for this set of Sphinx documents. # " v documentation" by default. # html_title = 'The pnCCD Detector Manual' # A shorter title for the navigation bar. Default is the same as html_title. # html_short_title = "pnCCD Manual" # 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 (relative to this directory) to use as a 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'] html_static_path = [] # ['_static'] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied # directly to the root of the documentation. # # html_extra_path = [] # If not None, a 'Last updated on:' timestamp is inserted at every page # bottom, using the given strftime format. # The empty string is equivalent to '%b %d, %Y'. # # html_last_updated_fmt = None # 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 = {} # 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 # Language to be used for generating the HTML full-text search index. # Sphinx supports the following languages: # 'da', 'de', 'en', 'es', 'fi', 'fr', 'h', 'it', 'ja' # 'nl', 'no', 'pt', 'ro', 'r', 'sv', 'tr', 'zh' # # html_search_language = 'en' # A dictionary with options for the search language support, empty by default. # 'ja' uses this config value. # 'zh' user can custom change `jieba` dictionary path. # # html_search_options = {'type': 'default'} # The name of a javascript file (relative to the configuration directory) that # implements a search results scorer. If empty, the default will be used. # # html_search_scorer = 'scorer.js' # Output file base name for HTML help builder. htmlhelp_basename = 'pnCCDdoc' # -- 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': # To get rid of blank pages after each chapter: 'extraclassoptions': 'openany,oneside,dvipsnames', 'preamble': r'''\newcommand{\docutilsrolemybold}{\bfseries} \newcommand{\DUrolered}[1]{{\color{Red}#1}} \newcommand{\DUroleblue}[1]{{\color{Blue}#1}} \newcommand{\DUrolegreen}[1]{{\color{Green}#1}} \newcommand{\DUroleyellow}[1]{{\color{Yellow}#1}} ''' # Latex figure (float) alignment # # 'figure_align': 'htbp', } # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ (master_doc, 'pnCCD.tex', 'The pnCCD Detector Manual', 'Kiana Setoodehnia, David Lomidze', '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 = [] # It false, will not define \strong, \code, itleref, \crossref ... but only # \sphinxstrong, ..., \sphinxtitleref, ... To help avoid clash with user added # packages. # # latex_keep_old_macro_names = True # 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 = [ (master_doc, 'pnccd', 'The pnCCD Detector Manual', [author], 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 = [ (master_doc, 'pnCCD', 'The pnCCD Detector Manual', author, 'pnCCD', 'This is the pnCCD detector manual.', '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' # If true, do not generate a @detailmenu in the "Top" node's menu. # # texinfo_no_detailmenu = False # Example configuration for intersphinx: refer to the Python standard library. # intersphinx_mapping = {'https://docs.python.org/': None} #we add a custum function to work with intersphinx import slumber import json # the RTDHOST should be set to localhost if you only compile on RTD # otherwise it needs to be set to the server hosting the internal RTD RTDHOST = 'https://in.xfel.eu/readthedocs' api = slumber.API(base_url='{}/api/v2/'.format(RTDHOST)) projects = api.project.get()['results'] isphinx = {'python': ('http://python.readthedocs.io/en/latest/', None), 'numpy': ('http://numpy.readthedocs.io/en/latest/', None), 'scipy': ('http://scipy.readthedocs.io/en/latest/', None)} for proj in projects: isphinx[proj['slug'].replace('-', '')] = \ ('{}/docs/{}/en/latest'.format(RTDHOST, proj['slug']), None) #intersphinx_mapping = isphinx intersphinx_mapping = {'https://docs.python.org/': None} def setup(app): app.add_config_value('includeDevInfo', 'false', 'env') ########################################################################### # 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/pnccd-manual/latest/pdf/"), ("html", "//rtd.xfel.eu/downloads/pnccd-manual/latest/htmlzip/"), ("epub", "//rtd.xfel.eu/downloads/pnccd-manual/latest/epub/"), ], 'subprojects': [ ], 'slug': 'pnccd-manual', 'name': u'pnCCD Manual', 'rtd_language': u'en', 'programming_language': u'py', 'canonical_url': 'http://rtd.xfel.eu/docs/pnccd-manual/en/latest/', 'analytics_code': '', 'single_version': False, 'conf_py_path': '/source/', 'api_host': 'http://rtd.xfel.eu', 'github_user': 'None', 'proxied_api_host': '/_', 'github_repo': 'None', 'github_version': 'master', 'display_github': False, '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': '', 'global_analytics_code': 'None', 'commit': '84bf6044', } 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: 2021-08-05T20:27:08.066459Z, end-time: 2021-08-05T20:27:08.498213Z, duration: 0, exit-code: 1 python /usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/bin/sphinx-build -T -E -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html Running Sphinx v1.4.5 making output directory... Traceback (most recent call last): File "/usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/lib/python3.7/site-packages/sphinx/cmdline.py", line 243, in main opts.warningiserror, opts.tags, opts.verbosity, opts.jobs) File "/usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/lib/python3.7/site-packages/sphinx/application.py", line 137, in __init__ confoverrides or {}, self.tags) File "/usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 292, in __init__ execfile_(filename, config) File "/usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 130, in execfile_ exec_(code, _globals) File "conf.py", line 378, in projects = api.project.get()['results'] File "/usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/lib/python3.7/site-packages/slumber/__init__.py", line 155, in get resp = self._request("GET", params=kwargs) File "/usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/lib/python3.7/site-packages/slumber/__init__.py", line 103, in _request raise exceptions.HttpServerError("Server Error %s: %s" % (resp.status_code, url), response=resp, content=resp.content) slumber.exceptions.HttpServerError: Server Error 503: https://in.xfel.eu/readthedocs/api/v2/project/ Exception occurred: File "/usr/src/app/checkouts/readthedocs.org/user_builds/pnccd-manual/envs/latest/lib/python3.7/site-packages/slumber/__init__.py", line 103, in _request raise exceptions.HttpServerError("Server Error %s: %s" % (resp.status_code, url), response=resp, content=resp.content) slumber.exceptions.HttpServerError: Server Error 503: https://in.xfel.eu/readthedocs/api/v2/project/ The full traceback has been saved in /tmp/sphinx-err-hov2fuux.log, if you want to report the issue to the developers. Please also report this if it was a user error, so that a better error message can be provided next time. A bug report can be filed in the tracker at . Thanks!