Read the Docs build information Build id: 603897 Project: tabella-finland-oy-tabella-manual Version: latest Commit: 9d9106e13c987b92e5d1365aeb311b70fcfe7e7e Date: 2021-04-01T05:43:26.882367Z State: finished Success: False [rtd-command-info] start-time: 2021-04-01T05:43:28.413722Z, end-time: 2021-04-01T05:43:39.469547Z, duration: 11, exit-code: 0 git clone --no-single-branch --depth 50 git@github.com:loukia/manual.git . Cloning into '.'... Warning: Permanently added 'github.com,192.30.255.113' (RSA) to the list of known hosts. [rtd-command-info] start-time: 2021-04-01T05:43:39.711009Z, end-time: 2021-04-01T05:43:40.108418Z, 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 9d9106e Privacy policy in english [rtd-command-info] start-time: 2021-04-01T05:43:40.299748Z, end-time: 2021-04-01T05:43:40.383735Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2021-04-01T05:43:41.454728Z, end-time: 2021-04-01T05:43:45.728670Z, duration: 4, exit-code: 0 python3.7 -mvirtualenv Using base prefix '/home/docs/.pyenv/versions/3.7.9' New python executable in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/bin/python3.7 Also creating executable in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/bin/python Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2021-04-01T05:43:45.857940Z, end-time: 2021-04-01T05:43:47.495216Z, duration: 1, exit-code: 0 python -m pip install --upgrade --no-cache-dir pip setuptools Requirement already satisfied: pip in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/lib/python3.7/site-packages (21.0.1) Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/lib/python3.7/site-packages (54.2.0) [rtd-command-info] start-time: 2021-04-01T05:43:47.649005Z, end-time: 2021-04-01T05:43:56.514029Z, duration: 8, exit-code: 0 python -m pip install --upgrade --no-cache-dir mock==1.0.1 pillow==5.4.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.8.1 recommonmark==0.5.0 sphinx<2 sphinx-rtd-theme<0.5 readthedocs-sphinx-ext<2.2 Collecting 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<2.2 Downloading readthedocs_sphinx_ext-2.1.4-py2.py3-none-any.whl (29 kB) Collecting future Downloading future-0.18.2.tar.gz (829 kB) Collecting docutils>=0.11 Downloading docutils-0.16-py2.py3-none-any.whl (548 kB) Collecting requests Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB) Collecting Jinja2>=2.9 Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB) Collecting six>=1.5 Downloading six-1.15.0-py2.py3-none-any.whl (10 kB) Collecting sphinxcontrib-websupport Downloading sphinxcontrib_websupport-1.2.4-py2.py3-none-any.whl (39 kB) Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/lib/python3.7/site-packages (from sphinx<2) (54.2.0) Collecting imagesize Downloading imagesize-1.2.0-py2.py3-none-any.whl (4.8 kB) Collecting packaging Downloading packaging-20.9-py2.py3-none-any.whl (40 kB) Collecting Pygments>=2.0 Downloading Pygments-2.8.1-py3-none-any.whl (983 kB) Collecting snowballstemmer>=1.1 Downloading snowballstemmer-2.1.0-py2.py3-none-any.whl (93 kB) Collecting babel!=2.0,>=1.3 Downloading Babel-2.9.0-py2.py3-none-any.whl (8.8 MB) Collecting pytz>=2015.7 Downloading pytz-2021.1-py2.py3-none-any.whl (510 kB) Collecting MarkupSafe>=0.23 Downloading MarkupSafe-1.1.1-cp37-cp37m-manylinux2010_x86_64.whl (33 kB) Collecting chardet<5,>=3.0.2 Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB) Collecting idna<3,>=2.5 Downloading idna-2.10-py2.py3-none-any.whl (58 kB) Collecting certifi>=2017.4.17 Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB) Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.4-py2.py3-none-any.whl (153 kB) Collecting pyparsing>=2.0.2 Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) Collecting sphinxcontrib-serializinghtml Downloading sphinxcontrib_serializinghtml-1.1.4-py2.py3-none-any.whl (89 kB) Building wheels for collected packages: mock, future Building wheel for mock (setup.py): started Building wheel for mock (setup.py): finished with status 'done' Created wheel for mock: filename=mock-1.0.1-py3-none-any.whl size=23755 sha256=96b629705cc7241e18c863824aba3ddd48c41f7608de4fc2a43699d92489c917 Stored in directory: /tmp/pip-ephem-wheel-cache-e586byvl/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=491059 sha256=8600602688bc1fdc9f156101db4a171cf97b18a68cea56e99888264c65b726f1 Stored in directory: /tmp/pip-ephem-wheel-cache-e586byvl/wheels/56/b0/fe/4410d17b32f1f0c3cf54cdfb2bc04d7b4b8f4ae377e2229ba0 Successfully built mock future Installing collected packages: urllib3, sphinxcontrib-serializinghtml, pytz, pyparsing, MarkupSafe, idna, chardet, certifi, sphinxcontrib-websupport, snowballstemmer, six, requests, Pygments, packaging, Jinja2, imagesize, future, docutils, babel, alabaster, sphinx, commonmark, sphinx-rtd-theme, recommonmark, readthedocs-sphinx-ext, pillow, mock Successfully installed Jinja2-2.11.3 MarkupSafe-1.1.1 Pygments-2.8.1 alabaster-0.7.12 babel-2.9.0 certifi-2020.12.5 chardet-4.0.0 commonmark-0.8.1 docutils-0.16 future-0.18.2 idna-2.10 imagesize-1.2.0 mock-1.0.1 packaging-20.9 pillow-5.4.1 pyparsing-2.4.7 pytz-2021.1 readthedocs-sphinx-ext-2.1.4 recommonmark-0.5.0 requests-2.25.1 six-1.15.0 snowballstemmer-2.1.0 sphinx-1.8.5 sphinx-rtd-theme-0.4.3 sphinxcontrib-serializinghtml-1.1.4 sphinxcontrib-websupport-1.2.4 urllib3-1.26.4 [rtd-command-info] start-time: 2021-04-01T05:43:56.633680Z, end-time: 2021-04-01T05:44:01.473594Z, duration: 4, exit-code: 0 python -m pip install --exists-action=w --no-cache-dir -r requirements.txt Collecting sphinx==2.4.2 Downloading Sphinx-2.4.2-py3-none-any.whl (2.7 MB) Requirement already satisfied: sphinx_rtd_theme in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/lib/python3.7/site-packages (from -r requirements.txt (line 2)) (0.4.3) Collecting sphinx-intl Downloading sphinx-intl-2.0.1.tar.gz (17 kB) Collecting sphinx-autobuild Downloading sphinx_autobuild-2021.3.14-py3-none-any.whl (9.9 kB) Collecting sphinxcontrib-images Downloading sphinxcontrib_images-0.9.2-py2.py3-none-any.whl (63 kB) Collecting sphinx_fontawesome Downloading sphinx_fontawesome-0.0.6.tar.gz (22 kB) Requirement already satisfied: docutils>=0.12 in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/lib/python3.7/site-packages (from sphinx==2.4.2->-r requirements.txt (line 1)) (0.16) Requirement already satisfied: Pygments>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/lib/python3.7/site-packages (from sphinx==2.4.2->-r requirements.txt (line 1)) (2.8.1) Collecting sphinxcontrib-qthelp Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB) Requirement already satisfied: sphinxcontrib-serializinghtml in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/lib/python3.7/site-packages (from sphinx==2.4.2->-r requirements.txt (line 1)) (1.1.4) Requirement already satisfied: packaging in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/lib/python3.7/site-packages (from sphinx==2.4.2->-r requirements.txt (line 1)) (20.9) Collecting sphinxcontrib-applehelp Downloading sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB) Requirement already satisfied: alabaster<0.8,>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/lib/python3.7/site-packages (from sphinx==2.4.2->-r requirements.txt (line 1)) (0.7.12) Collecting sphinxcontrib-jsmath Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB) Requirement already satisfied: imagesize in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/lib/python3.7/site-packages (from sphinx==2.4.2->-r requirements.txt (line 1)) (1.2.0) Requirement already satisfied: snowballstemmer>=1.1 in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/lib/python3.7/site-packages (from sphinx==2.4.2->-r requirements.txt (line 1)) (2.1.0) Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/lib/python3.7/site-packages (from sphinx==2.4.2->-r requirements.txt (line 1)) (54.2.0) Requirement already satisfied: Jinja2>=2.3 in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/lib/python3.7/site-packages (from sphinx==2.4.2->-r requirements.txt (line 1)) (2.11.3) Collecting sphinxcontrib-htmlhelp Downloading sphinxcontrib_htmlhelp-1.0.3-py2.py3-none-any.whl (96 kB) Requirement already satisfied: babel!=2.0,>=1.3 in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/lib/python3.7/site-packages (from sphinx==2.4.2->-r requirements.txt (line 1)) (2.9.0) Collecting sphinxcontrib-devhelp Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB) Requirement already satisfied: requests>=2.5.0 in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/lib/python3.7/site-packages (from sphinx==2.4.2->-r requirements.txt (line 1)) (2.25.1) Requirement already satisfied: pytz>=2015.7 in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/lib/python3.7/site-packages (from babel!=2.0,>=1.3->sphinx==2.4.2->-r requirements.txt (line 1)) (2021.1) Requirement already satisfied: MarkupSafe>=0.23 in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/lib/python3.7/site-packages (from Jinja2>=2.3->sphinx==2.4.2->-r requirements.txt (line 1)) (1.1.1) Requirement already satisfied: idna<3,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/lib/python3.7/site-packages (from requests>=2.5.0->sphinx==2.4.2->-r requirements.txt (line 1)) (2.10) Requirement already satisfied: chardet<5,>=3.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/lib/python3.7/site-packages (from requests>=2.5.0->sphinx==2.4.2->-r requirements.txt (line 1)) (4.0.0) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/lib/python3.7/site-packages (from requests>=2.5.0->sphinx==2.4.2->-r requirements.txt (line 1)) (1.26.4) Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/lib/python3.7/site-packages (from requests>=2.5.0->sphinx==2.4.2->-r requirements.txt (line 1)) (2020.12.5) Collecting livereload Downloading livereload-2.6.3.tar.gz (25 kB) Collecting colorama Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB) Collecting click Downloading click-7.1.2-py2.py3-none-any.whl (82 kB) Requirement already satisfied: six in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/lib/python3.7/site-packages (from livereload->sphinx-autobuild->-r requirements.txt (line 4)) (1.15.0) Collecting tornado Downloading tornado-6.1-cp37-cp37m-manylinux2010_x86_64.whl (428 kB) Requirement already satisfied: pyparsing>=2.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/tabella-finland-oy-tabella-manual/envs/latest/lib/python3.7/site-packages (from packaging->sphinx==2.4.2->-r requirements.txt (line 1)) (2.4.7) Building wheels for collected packages: sphinx-fontawesome, sphinx-intl, livereload Building wheel for sphinx-fontawesome (setup.py): started Building wheel for sphinx-fontawesome (setup.py): finished with status 'done' Created wheel for sphinx-fontawesome: filename=sphinx_fontawesome-0.0.6-py3-none-any.whl size=22599 sha256=9f6e0e08d8c763da89c3baa2a7c6331addebe206116cf585e9038839703f39ab Stored in directory: /tmp/pip-ephem-wheel-cache-qc73hs3r/wheels/c2/59/94/9f6ab8192fd4cb07ce02c27cdbf78548eae7cf63a63a4bcece Building wheel for sphinx-intl (setup.py): started Building wheel for sphinx-intl (setup.py): finished with status 'done' Created wheel for sphinx-intl: filename=sphinx_intl-2.0.1-py3-none-any.whl size=11622 sha256=24c3fcd18eec79b13bb8fa3849d35fafa2ba61bc1d9bfba363b35799fa7322e1 Stored in directory: /tmp/pip-ephem-wheel-cache-qc73hs3r/wheels/a9/7d/2d/5518c1be71b597869a2411fc0c585551bf9162a846710f76af Building wheel for livereload (setup.py): started Building wheel for livereload (setup.py): finished with status 'done' Created wheel for livereload: filename=livereload-2.6.3-py2.py3-none-any.whl size=24713 sha256=6004d1c43cdf9059fabe6e2e3a4e685b05f9a654a1a0ad1e980d2a2bfd04e89e Stored in directory: /tmp/pip-ephem-wheel-cache-qc73hs3r/wheels/d4/f2/03/55f37093eb8cb0c89d7efb206f792dba55cd5bd67b1c5b1ce1 Successfully built sphinx-fontawesome sphinx-intl livereload Installing collected packages: tornado, sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, sphinx, livereload, colorama, click, sphinxcontrib-images, sphinx-intl, sphinx-fontawesome, sphinx-autobuild Attempting uninstall: sphinx Found existing installation: Sphinx 1.8.5 Uninstalling Sphinx-1.8.5: Successfully uninstalled Sphinx-1.8.5 Successfully installed click-7.1.2 colorama-0.4.4 livereload-2.6.3 sphinx-2.4.2 sphinx-autobuild-2021.3.14 sphinx-fontawesome-0.0.6 sphinx-intl-2.0.1 sphinxcontrib-applehelp-1.0.2 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-1.0.3 sphinxcontrib-images-0.9.2 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 tornado-6.1 [rtd-command-info] start-time: 2021-04-01T05:44:02.439855Z, end-time: 2021-04-01T05:44:02.511954Z, duration: 0, exit-code: 0 cat conf.py # -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/master/config # -- Path setup -------------------------------------------------------------- # 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('.')) # -- Project information ----------------------------------------------------- project = u'Tabella Manual' copyright = u'2020, Tabella Finland Oy' author = u'Tabella Finland Oy' # The short X.Y version version = u'latest' # The full version, including alpha/beta/rc tags release = u'latest' # -- 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 = [ 'sphinxcontrib.images', 'sphinx_fontawesome' ] # 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 master toctree document. master_doc = 'index' # 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 # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This pattern also affects html_static_path and html_extra_path. exclude_patterns = [u'.build', 'Thumbs.db', '.DS_Store'] # The name of the Pygments (syntax highlighting) style to use. pygments_style = None # -- 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' html_logo = '.static/Tabella_logo_norm_Low_small.png' # 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': 4, 'cssfiles': ["https://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"] } # 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'] # Custom sidebar templates, must be a dictionary that maps document names # to template names. # # The default sidebars (for documents that don't match any pattern) are # defined by theme itself. Builtin themes are using these templates by # default: ``['localtoc.html', 'relations.html', 'sourcelink.html', # 'searchbox.html']``. # # html_sidebars = {} # -- Options for HTMLHelp output --------------------------------------------- # Output file base name for HTML help builder. htmlhelp_basename = 'TabellaManualdoc' # -- 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': '', # 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, 'TabellaManual.tex', u'Tabella Manual Documentation', u'Tabella Finland Oy', 'manual'), ] # -- 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, 'tabellamanual', u'Tabella Manual Documentation', [author], 1) ] # -- 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, 'TabellaManual', u'Tabella Manual Documentation', author, 'TabellaManual', 'One line description of project.', 'Miscellaneous'), ] # -- Options for Epub output ------------------------------------------------- # Bibliographic Dublin Core info. epub_title = project # The unique identifier of the text. This can be a ISBN number # or the project homepage. # # epub_identifier = '' # A unique identification for the text. # # epub_uid = '' # A list of files that should not be packed into the epub file. epub_exclude_files = ['search.html'] html_copy_source = False html_show_sourcelink = False # I18n locale_dirs = ['locale/'] gettext_compact = False #Path to pictures file in another language figure_language_filename = '{path}{language}/{basename}{ext}' #Adding custom stylesheet def setup(app): app.add_stylesheet('css/custom.css') ########################################################################### # auto-created readthedocs.org specific configuration # ########################################################################### # # The following code was added during an automated build on readthedocs.org # It is auto created and injected for every build. The result is based on the # conf.py.tmpl file found in the readthedocs.org codebase: # https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl # # Note: this file should't rely on extra depencies. import importlib import sys import os.path # Borrowed from six. PY3 = sys.version_info[0] == 3 string_types = str if PY3 else basestring from sphinx import version_info # Get suffix for proper linking to GitHub # This is deprecated in Sphinx 1.3+, # as each page can have its own suffix if globals().get('source_suffix', False): if isinstance(source_suffix, string_types): SUFFIX = source_suffix elif isinstance(source_suffix, (list, tuple)): # Sphinx >= 1.3 supports list/tuple to define multiple suffixes SUFFIX = source_suffix[0] elif isinstance(source_suffix, dict): # Sphinx >= 1.8 supports a mapping dictionary for multiple suffixes SUFFIX = list(source_suffix.keys())[0] # make a ``list()`` for py2/py3 compatibility else: # default to .rst SUFFIX = '.rst' else: SUFFIX = '.rst' # Add RTD Static Path. Add to the end because it overwrites previous files. if not 'html_static_path' in globals(): html_static_path = [] if os.path.exists('_static'): html_static_path.append('_static') # Add RTD Theme only if they aren't overriding it already using_rtd_theme = ( ( 'html_theme' in globals() and html_theme in ['default'] and # Allow people to bail with a hack of having an html_style 'html_style' not in globals() ) or 'html_theme' not in globals() ) if using_rtd_theme: theme = importlib.import_module('sphinx_rtd_theme') html_theme = 'sphinx_rtd_theme' html_style = None html_theme_options = {} if 'html_theme_path' in globals(): html_theme_path.append(theme.get_html_theme_path()) else: html_theme_path = [theme.get_html_theme_path()] if globals().get('websupport2_base_url', False): websupport2_base_url = 'https://readthedocs.com/websupport' websupport2_static_url = 'https://assets.readthedocs.com/' #Add project information to the template context. context = { 'using_theme': using_rtd_theme, 'html_theme': html_theme, 'current_version': "latest", 'version_slug': "latest", 'MEDIA_URL': "https://media.readthedocs.com/media/", 'STATIC_URL': "https://assets.readthedocs.com/", 'PRODUCTION_DOMAIN': "readthedocs.com", 'versions': [ ("latest", "/fi/latest/"), ("2020", "/fi/2020/"), ("2019", "/fi/2019/"), ], 'downloads': [ ("pdf", "//tabella-finland-oy-tabella-manual.readthedocs-hosted.com/_/downloads/fi/latest/pdf/"), ("html", "//tabella-finland-oy-tabella-manual.readthedocs-hosted.com/_/downloads/fi/latest/htmlzip/"), ("epub", "//tabella-finland-oy-tabella-manual.readthedocs-hosted.com/_/downloads/fi/latest/epub/"), ], 'subprojects': [ ], 'slug': 'tabella-finland-oy-tabella-manual', 'name': u'Tabella manual', 'rtd_language': u'fi', 'programming_language': u'words', 'canonical_url': 'https://tabella-finland-oy-tabella-manual.readthedocs-hosted.com/fi/latest/', 'analytics_code': 'UA-29655572-2', 'single_version': False, 'conf_py_path': '/', 'api_host': 'https://readthedocs.com', 'github_user': 'loukia', 'proxied_api_host': '/_', 'github_repo': 'manual', 'github_version': 'master', 'display_github': True, 'bitbucket_user': 'None', 'bitbucket_repo': 'None', 'bitbucket_version': 'master', 'display_bitbucket': False, 'gitlab_user': 'None', 'gitlab_repo': 'None', 'gitlab_version': 'master', 'display_gitlab': False, 'READTHEDOCS': True, 'using_theme': (html_theme == "default"), 'new_theme': (html_theme == "sphinx_rtd_theme"), 'source_suffix': SUFFIX, 'ad_free': False, 'docsearch_disabled': False, 'user_analytics_code': 'UA-29655572-2', 'global_analytics_code': 'UA-17997319-2', 'commit': '9d9106e1', } # For sphinx >=1.8 we can use html_baseurl to set the canonical URL. # https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_baseurl if version_info >= (1, 8): if not globals().get('html_baseurl'): html_baseurl = context['canonical_url'] context['canonical_url'] = None if 'html_context' in globals(): html_context.update(context) else: html_context = context # Add custom RTD extension if 'extensions' in globals(): # Insert at the beginning because it can interfere # with other extensions. # See https://github.com/rtfd/readthedocs.org/pull/4054 extensions.insert(0, "readthedocs_ext.readthedocs") else: extensions = ["readthedocs_ext.readthedocs"] # Add External version warning banner to the external version documentation if 'branch' == 'external': extensions.insert(1, "readthedocs_ext.external_version_warning") readthedocs_vcs_url = 'None' readthedocs_build_url = 'https://readthedocs.com/projects/tabella-finland-oy-tabella-manual/builds/603897/' project_language = 'fi' # 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'])