Read the Docs build information
Build id: 17940
Project: deployed-controls-sa2
Version: latest
Commit: e5f0ea016304434cd3d557e526ccd99471bd4d82
Date: 2020-07-12T12:08:37.768703Z
State: finished
Success: False


[rtd-command-info] start-time: 2020-07-12T17:09:48.581000Z, end-time: 2020-07-12T17:10:06.800000Z, duration: 18, exit-code: 0
python3 -mvirtualenv --system-site-packages --no-download /user_builds/deployed-controls-sa2/envs/latest
Using base prefix '/usr'
New python executable in /user_builds/deployed-controls-sa2/envs/latest/bin/python3
Not overwriting existing python script /user_builds/deployed-controls-sa2/envs/latest/bin/python (you must use /user_builds/deployed-controls-sa2/envs/latest/bin/python3)
Installing setuptools, pip, wheel...done.


[rtd-command-info] start-time: 2020-07-12T17:10:06.863000Z, end-time: 2020-07-12T17:11:24.064000Z, duration: 77, exit-code: 0
python /user_builds/deployed-controls-sa2/envs/latest/bin/pip install --use-wheel -U --cache-dir /user_builds/deployed-controls-sa2/.cache/pip -I sphinx==1.3.5 Pygments==2.1.3 setuptools==20.1.1 docutils==0.12 mkdocs==0.15.0 PyYAML==5.2 mock==1.0.1 pillow==2.6.1 git+https://github.com/rtfd/readthedocs-sphinx-ext.git@0.6-alpha#egg=readthedocs-sphinx-ext sphinx-rtd-theme==0.1.9 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.5.4 recommonmark==0.1.1
Collecting sphinx==1.3.5
  Using cached https://files.pythonhosted.org/packages/ff/91/45883bc962bda1be7e78039b41cc15e1eb3327ec75679eedd067b5d07bd5/Sphinx-1.3.5-py2.py3-none-any.whl
Collecting Pygments==2.1.3
  Using cached https://files.pythonhosted.org/packages/9e/d0/d692085518c6a2dc875fe421c866fb6a08e0d9796ca507803c1e545fa116/Pygments-2.1.3-py2.py3-none-any.whl
Collecting setuptools==20.1.1
  Using cached https://files.pythonhosted.org/packages/e8/82/3b5455f74bf9ac0757d09c625b7741e6fc284d7519cffc3babb6c5173cf5/setuptools-20.1.1-py2.py3-none-any.whl
Collecting docutils==0.12
  Using cached https://files.pythonhosted.org/packages/c7/16/29d8de2404c5b90243b51f91315b3ce375169ceb48a68aeec0862e0143c4/docutils-0.12-py3-none-any.whl
Collecting mkdocs==0.15.0
  Using cached https://files.pythonhosted.org/packages/a7/10/c839adfd209aba3a5905d4a766ea354a1d03a414d6d437e10988574de70a/mkdocs-0.15.0-py2.py3-none-any.whl
Collecting PyYAML==5.2
Collecting mock==1.0.1
Collecting pillow==2.6.1
Collecting readthedocs-sphinx-ext from git+https://github.com/rtfd/readthedocs-sphinx-ext.git@0.6-alpha#egg=readthedocs-sphinx-ext
  Cloning https://github.com/rtfd/readthedocs-sphinx-ext.git (to 0.6-alpha) to /tmp/pip-build-0xwap3vw/readthedocs-sphinx-ext
Collecting sphinx-rtd-theme==0.1.9
  Using cached https://files.pythonhosted.org/packages/97/d9/e27ef5a2b6b92d2cf29724c25daf0683adacc43ab5ad15dc0e9b69b464f8/sphinx_rtd_theme-0.1.9-py3-none-any.whl
Collecting alabaster!=0.7.5,<0.8,>=0.7
  Using cached https://files.pythonhosted.org/packages/10/ad/00b090d23a222943eb0eda509720a404f531a439e803f6538f35136cae9e/alabaster-0.7.12-py2.py3-none-any.whl
Collecting commonmark==0.5.4
Collecting recommonmark==0.1.1
  Using cached https://files.pythonhosted.org/packages/cb/65/0c893f1be31b8892ddd491ff05a9d539459ac07b9b1c9804034589ad7eb2/recommonmark-0.1.1-py2.py3-none-any.whl
Collecting babel!=2.0,>=1.3 (from sphinx==1.3.5)
  Using cached https://files.pythonhosted.org/packages/15/a1/522dccd23e5d2e47aed4b6a16795b8213e3272c7506e625f2425ad025a19/Babel-2.8.0-py2.py3-none-any.whl
Collecting Jinja2>=2.3 (from sphinx==1.3.5)
  Using cached https://files.pythonhosted.org/packages/65/e0/eb35e762802015cab1ccee04e8a277b03f1d8e53da3ec3106882ec42558b/Jinja2-2.10.3-py2.py3-none-any.whl
Collecting snowballstemmer>=1.1 (from sphinx==1.3.5)
  Using cached https://files.pythonhosted.org/packages/7d/4b/cdf1113a0e88b641893b814e9c36f69a6fda28cd88b62c7f0d858cde3166/snowballstemmer-2.0.0-py2.py3-none-any.whl
Collecting six>=1.4 (from sphinx==1.3.5)
  Using cached https://files.pythonhosted.org/packages/ee/ff/48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl
Collecting mkdocs-bootswatch>=0.1.0 (from mkdocs==0.15.0)
  Using cached https://files.pythonhosted.org/packages/42/06/1cdc2c3889c3c5803ae830bae3bf7c3fa5a0841109665d93bac81f287088/mkdocs_bootswatch-1.0-py2.py3-none-any.whl
Collecting Markdown>=2.3.1 (from mkdocs==0.15.0)
  Using cached https://files.pythonhosted.org/packages/7a/6b/5600647404ba15545ec37d2f7f58844d690baf2f81f3a60b862e48f29287/Markdown-3.0.1-py2.py3-none-any.whl
Collecting click>=4.0 (from mkdocs==0.15.0)
  Using cached https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl
Collecting livereload>=2.3.2 (from mkdocs==0.15.0)
Collecting mkdocs-bootstrap>=0.1.1 (from mkdocs==0.15.0)
  Using cached https://files.pythonhosted.org/packages/e4/26/8823a7e45fad6ede3da31147514fb029dffb134e363bb0f64f7a2bd9448d/mkdocs_bootstrap-1.0.1-py2.py3-none-any.whl
Collecting tornado>=4.1 (from mkdocs==0.15.0)
Collecting requests (from readthedocs-sphinx-ext)
  Using cached https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl
Collecting nilsimsa>=0.3.7 (from readthedocs-sphinx-ext)
Collecting pytz>=2015.7 (from babel!=2.0,>=1.3->sphinx==1.3.5)
  Using cached https://files.pythonhosted.org/packages/4f/a4/879454d49688e2fad93e59d7d4efda580b783c745fd2ec2a3adf87b0808d/pytz-2020.1-py2.py3-none-any.whl
Collecting MarkupSafe>=0.23 (from Jinja2>=2.3->sphinx==1.3.5)
  Using cached https://files.pythonhosted.org/packages/99/c9/5d5dcf2aa90f1d4500e92467a04f63b3708ee6e5764b40b2445e767ab8dc/MarkupSafe-1.1.1-cp34-cp34m-manylinux1_x86_64.whl
Collecting backports-abc>=0.4 (from tornado>=4.1->mkdocs==0.15.0)
  Using cached https://files.pythonhosted.org/packages/7d/56/6f3ac1b816d0cd8994e83d0c4e55bc64567532f7dc543378bd87f81cebc7/backports_abc-0.5-py2.py3-none-any.whl
Collecting urllib3<1.25,>=1.21.1 (from requests->readthedocs-sphinx-ext)
  Using cached https://files.pythonhosted.org/packages/01/11/525b02e4acc0c747de8b6ccdab376331597c569c42ea66ab0a1dbd36eca2/urllib3-1.24.3-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests->readthedocs-sphinx-ext)
  Using cached https://files.pythonhosted.org/packages/5e/c4/6c4fe722df5343c33226f0b4e0bb042e4dc13483228b4718baf286f86d87/certifi-2020.6.20-py2.py3-none-any.whl
Collecting idna<2.9,>=2.5 (from requests->readthedocs-sphinx-ext)
  Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests->readthedocs-sphinx-ext)
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Installing collected packages: sphinx-rtd-theme, pytz, babel, MarkupSafe, Jinja2, Pygments, alabaster, docutils, snowballstemmer, six, sphinx, setuptools, mkdocs-bootswatch, Markdown, click, backports-abc, tornado, livereload, mkdocs-bootstrap, PyYAML, mkdocs, mock, pillow, urllib3, certifi, idna, chardet, requests, nilsimsa, readthedocs-sphinx-ext, commonmark, recommonmark
  Running setup.py install for readthedocs-sphinx-ext: started
    Running setup.py install for readthedocs-sphinx-ext: finished with status 'done'
Successfully installed Jinja2-2.10.3 Markdown-3.0.1 MarkupSafe-1.1.1 PyYAML-5.2 Pygments-2.1.3 alabaster-0.7.12 babel-2.8.0 backports-abc-0.5 certifi-2020.6.20 chardet-3.0.4 click-7.0 commonmark-0.5.4 docutils-0.12 idna-2.8 livereload-2.6.2 mkdocs-0.15.0 mkdocs-bootstrap-1.0.1 mkdocs-bootswatch-1.0 mock-1.0.1 nilsimsa-0.3.8 pillow-2.6.1 pytz-2020.1 readthedocs-sphinx-ext-0.5.4 recommonmark-0.1.1 requests-2.21.0 setuptools-28.8.0 six-1.15.0 snowballstemmer-2.0.0 sphinx-1.4.5 sphinx-rtd-theme-0.1.9 tornado-5.1.1 urllib3-1.24.3
You are using pip version 9.0.1, however version 20.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


[rtd-command-info] start-time: 2020-07-12T17:11:24.129000Z, end-time: 2020-07-12T17:11:34.291000Z, duration: 10, exit-code: 0
python /user_builds/deployed-controls-sa2/envs/latest/bin/pip install --exists-action=w --cache-dir /user_builds/deployed-controls-sa2/.cache/pip -rsource/requirements.txt
Collecting git+https://git.xfel.eu/gitlab/xfel-rtd/rtd-conf.git (from -r source/requirements.txt (line 4))
  Cloning https://git.xfel.eu/gitlab/xfel-rtd/rtd-conf.git to /tmp/pip-3l4269eh-build
  Requirement already satisfied (use --upgrade to upgrade): RTDConf==0.1 from git+https://git.xfel.eu/gitlab/xfel-rtd/rtd-conf.git in /user_builds/deployed-controls-sa2/envs/latest/lib/python3.4/site-packages (from -r source/requirements.txt (line 4))
Requirement already satisfied: gitpython in /user_builds/deployed-controls-sa2/envs/latest/lib/python3.4/site-packages (from -r source/requirements.txt (line 1))
Obtaining sphinx_rtd_theme from git+https://haufs:cEMsag5QRLLDwfkFkWkL@git.xfel.eu/gitlab/detectors/rtfd_theme.git#egg=sphinx_rtd_theme (from -r source/requirements.txt (line 2))
  Updating /user_builds/deployed-controls-sa2/envs/latest/src/sphinx-rtd-theme clone
  Running setup.py (path:/user_builds/deployed-controls-sa2/envs/latest/src/sphinx-rtd-theme/setup.py) egg_info for package sphinx-rtd-theme produced metadata for project name sphinx-rtd-theme-patched. Fix your #egg=sphinx-rtd-theme fragments.
Requirement already satisfied: sphinx==1.4.5 in /user_builds/deployed-controls-sa2/envs/latest/lib/python3.4/site-packages (from -r source/requirements.txt (line 3))
Requirement already satisfied: gitdb<5,>=4.0.1 in /user_builds/deployed-controls-sa2/envs/latest/lib/python3.4/site-packages (from gitpython->-r source/requirements.txt (line 1))
Requirement already satisfied: imagesize in /usr/local/lib/python3.4/dist-packages (from sphinx==1.4.5->-r source/requirements.txt (line 3))
Requirement already satisfied: Jinja2>=2.3 in /user_builds/deployed-controls-sa2/envs/latest/lib/python3.4/site-packages (from sphinx==1.4.5->-r source/requirements.txt (line 3))
Requirement already satisfied: alabaster<0.8,>=0.7 in /user_builds/deployed-controls-sa2/envs/latest/lib/python3.4/site-packages (from sphinx==1.4.5->-r source/requirements.txt (line 3))
Requirement already satisfied: Pygments>=2.0 in /user_builds/deployed-controls-sa2/envs/latest/lib/python3.4/site-packages (from sphinx==1.4.5->-r source/requirements.txt (line 3))
Requirement already satisfied: babel!=2.0,>=1.3 in /user_builds/deployed-controls-sa2/envs/latest/lib/python3.4/site-packages (from sphinx==1.4.5->-r source/requirements.txt (line 3))
Requirement already satisfied: snowballstemmer>=1.1 in /user_builds/deployed-controls-sa2/envs/latest/lib/python3.4/site-packages (from sphinx==1.4.5->-r source/requirements.txt (line 3))
Requirement already satisfied: docutils>=0.11 in /user_builds/deployed-controls-sa2/envs/latest/lib/python3.4/site-packages (from sphinx==1.4.5->-r source/requirements.txt (line 3))
Requirement already satisfied: six>=1.4 in /user_builds/deployed-controls-sa2/envs/latest/lib/python3.4/site-packages (from sphinx==1.4.5->-r source/requirements.txt (line 3))
Requirement already satisfied: smmap<4,>=3.0.1 in /user_builds/deployed-controls-sa2/envs/latest/lib/python3.4/site-packages (from gitdb<5,>=4.0.1->gitpython->-r source/requirements.txt (line 1))
Requirement already satisfied: MarkupSafe>=0.23 in /user_builds/deployed-controls-sa2/envs/latest/lib/python3.4/site-packages (from Jinja2>=2.3->sphinx==1.4.5->-r source/requirements.txt (line 3))
Requirement already satisfied: pytz>=2015.7 in /user_builds/deployed-controls-sa2/envs/latest/lib/python3.4/site-packages (from babel!=2.0,>=1.3->sphinx==1.4.5->-r source/requirements.txt (line 3))
Installing collected packages: sphinx-rtd-theme-patched
  Found existing installation: sphinx-rtd-theme-patched 0.1.9
    Uninstalling sphinx-rtd-theme-patched-0.1.9:
      Successfully uninstalled sphinx-rtd-theme-patched-0.1.9
  Running setup.py develop for sphinx-rtd-theme-patched
Successfully installed sphinx-rtd-theme-patched
You are using pip version 9.0.1, however version 20.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


[rtd-command-info] start-time: 2020-07-12T17:11:34.751000Z, end-time: 2020-07-12T17:11:34.808000Z, duration: 0, exit-code: 0
cat conf.py
# -*- coding: utf-8 -*-
#
# Deployed Control Systems documentation build configuration file, created by
# sphinx-quickstart on Thu Sep 12 12:36:47 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.
from rtd_conf.global_conf import intersphinx_mapping
import sys, os
import subprocess



from subprocess import Popen, PIPE
import os
from datetime import datetime
cwd = os.getcwd()

# install a fixed theme which support proper math formatting
# we need to do this explicitely and not via a requirements.txt as
# it needs to go to a specific location depending on this build.

os.makedirs("{}/userthemes".format(cwd), exist_ok=True)
if os.path.exists("/rtd_root/readthedocs"):
    os.makedirs("/rtd_root/readthedocs/templates/sphinx/_static", exist_ok=True)

# this will update our submodules
pcmd = ["git", "submodule", "init"]
Popen(pcmd).wait()

pcmd = ["git", "submodule", "update", "--recursive", "--remote"]
Popen(pcmd).wait()

sys.path.append(os.path.abspath('../control-docs-generic/sphinx_ext/'))

# This is a bit hacky, but it seems that with submodules file modification
# times are sometime corrupted and set to dates in the 1970s. ZIP is not
# happy with this an will fail the build. Thus we search for any affected files
# here, and then set the mtime to the current time.
pcmd = ["find", "..", "-mtime", "+13700", "-type", "f", "-exec", "touch",
        "-d", datetime.now().isoformat(), "{}", "+"]
Popen(pcmd).wait()

# If you nevertheless get a ZIP 1980 error, this command will output you
# the files which are responsible for triggering it. Should be none if
# our fix-up succeeded.
pcmd = ["find", "..", "-mtime", "+13700", "-ls"]
Popen(pcmd).wait()


# 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.autodoc', 'sphinx.ext.doctest',
              'sphinx.ext.intersphinx', 'sphinx.ext.todo',
              'sphinx.ext.mathjax', 'sphinx.ext.ifconfig', 'include_if_present',
              'silent_builder', 'include_from_generic', 'fault_indicators'
              ]


inc_gen_path = os.path.abspath("../control-docs-generic")
inc_gen_imap = os.path.abspath("../control-docs-generic/instance_map.yaml")
inc_gen_cmap = os.path.abspath("../control-docs-generic/class_map.yaml")

mathjax_path="https://in.xfel.eu/readthedocs/media/MathJax-2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML"  # noqa

# 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'SA3 Control Documentation'
copyright = u'2019, Controls Group'

# 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 = []

# 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_path = ["{}/userthemes".format(cwd)]
html_theme = "sphinx_rtd_theme_patched"


# 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.  If None, it defaults to
# "<project> v<release> 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 = {}

# 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 <link> 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 = 'DeployedControlSystemsdoc'


# -- 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', 'DeployedControlSystems.tex', u'Deployed Control Systems Documentation',
   u'Controls Group', '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', 'deployedcontrolsystems', u'Deployed Control Systems Documentation',
     [u'Controls Group'], 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', 'DeployedControlSystems', u'Deployed Control Systems Documentation',
   u'Controls Group', 'DeployedControlSystems', '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 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
    else:
        SUFFIX = source_suffix[0]
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')
html_static_path.append('/rtd_root/readthedocs/templates/sphinx/_static')

# Add RTD Theme only if they aren't overriding it already
using_rtd_theme = False
if 'html_theme' in globals():
    if html_theme in ['default']:
        # Allow people to bail with a hack of having an html_style
        if not 'html_style' in globals():
            import sphinx_rtd_theme
            html_theme = 'sphinx_rtd_theme'
            html_style = None
            html_theme_options = {}
            if 'html_theme_path' in globals():
                html_theme_path.append(sphinx_rtd_theme.get_html_theme_path())
            else:
                html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

            using_rtd_theme = True
else:
    import sphinx_rtd_theme
    html_theme = 'sphinx_rtd_theme'
    html_style = None
    html_theme_options = {}
    if 'html_theme_path' in globals():
        html_theme_path.append(sphinx_rtd_theme.get_html_theme_path())
    else:
        html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
    using_rtd_theme = True

if globals().get('websupport2_base_url', False):
    websupport2_base_url = 'https://readthedocs.org/websupport'
    if 'http' not in settings.MEDIA_URL:
        websupport2_static_url = '/static/'
    else:
        websupport2_static_url = '/media//static'


#Add project information to the template context.
context = {
    'using_theme': using_rtd_theme,
    'html_theme': html_theme,
    'current_version': "latest",
    'MEDIA_URL': "/media/",
    'PRODUCTION_DOMAIN': "exflrtd.desy.de",
    'versions': [
    ("latest", "/en/latest/"),
    ],
    'downloads': [ 
    ("htmlzip", "//exflrtd.desy.de/projects/deployed-controls-sa2/downloads/htmlzip/latest/"),
    ],
    'subprojects': [ 
    ],
    'slug': 'deployed-controls-sa2',
    'name': u'Deployed Controls - SA2',
    'rtd_language': u'en',
    'canonical_url': 'http://exflrtd.desy.de/docs/deployed-controls-sa2/en/latest/',
    'analytics_code': '',
    'single_version': False,
    'conf_py_path': '/source/',
    'api_host': 'https://readthedocs.org',
    'github_user': 'None',
    'github_repo': 'None',
    'github_version': 'master',
    'display_github': False,
    'bitbucket_user': 'None',
    'bitbucket_repo': 'None',
    'bitbucket_version': 'master',
    'display_bitbucket': False,
    'READTHEDOCS': True,
    'using_theme': (html_theme == "default"),
    'new_theme': (html_theme == "sphinx_rtd_theme"),
    'source_suffix': SUFFIX,
    'user_analytics_code': '',
    'global_analytics_code': 'UA-17997319-1',
    
    'commit': 'e5f0ea01',
    
}
if 'html_context' in globals():
    html_context.update(context)
else:
    html_context = context

# Add custom RTD extension
if 'extensions' in globals():
    extensions.append("readthedocs_ext.readthedocs")
else:
    extensions = ["readthedocs_ext.readthedocs"]