We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
[DOC]add new software in Wiki
#### Describe the issue linked to the documentation
I cannot find the LoudML in the Related Software in wiki page.https://github.com/alan-turing-institute/sktime/wiki/related-software
<!--
Tell us about the confusion introduced in the documentation.
-->
Loud ML is an open source time series inference engine built on top of TensorFlow. It's useful to forecast data, detect outliers, and automate your process using future knowledge. here is link： https://github.com/regel/loudml
#### Suggest a potential alternative/fix
could you add it into the list?
<!--
Tell us how we could improve the documentation in this regard.
-->


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `docs/source/conf.py`
Content:
```
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3 #
4 # Configuration file for the Sphinx documentation builder.
5 #
6 # This file does only contain a selection of the most common options. For a
7 # full list see the documentation:
8 # http://www.sphinx-doc.org/en/master/config
9 
10 import os
11 import sys
12 
13 import sktime
14 
15 # -- Path setup --------------------------------------------------------------
16 
17 # If extensions (or modules to document with autodoc) are in another directory,
18 # add these directories to sys.path here. If the directory is relative to the
19 # documentation root, use os.path.abspath to make it absolute, like shown here.
20 
21 # When we build the docs on readthedocs, we build the package and want to
22 # use the built files in order for sphinx to be able to properly read the
23 # Cython files. Hence, we do not add the source code path to the system
24 # path.
25 ON_READTHEDOCS = os.environ.get("READTHEDOCS") == "True"
26 if not ON_READTHEDOCS:
27     sys.path.insert(0, os.path.abspath("../.."))
28 
29 # -- Project information -----------------------------------------------------
30 PROJECT = "sktime"
31 COPYRIGHT = "2019 - 2020 (BSD-3-Clause License)"
32 AUTHOR = "sktime developers"
33 
34 # The full version, including alpha/beta/rc tags
35 CURRENT_VERSION = f"v{sktime.__version__}"
36 
37 # If on readthedocs, and we're building the latest version, update tag to generate
38 # correct links in notebooks
39 if ON_READTHEDOCS:
40     READTHEDOCS_VERSION = os.environ.get("READTHEDOCS_VERSION")
41     if READTHEDOCS_VERSION == "latest":
42         CURRENT_VERSION = "master"
43 
44 # -- General configuration ---------------------------------------------------
45 
46 # Add any Sphinx extension module names here, as strings. They can be
47 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
48 # ones.
49 extensions = [
50     "sphinx.ext.autodoc",
51     "sphinx.ext.autosummary",
52     "sphinx.ext.intersphinx",
53     "sphinx.ext.autosectionlabel",
54     "sphinx.ext.todo",
55     "sphinx.ext.mathjax",
56     # 'sphinx.ext.viewcode',  # link to auto-generated source code files (rst)
57     "sphinx.ext.githubpages",
58     "sphinx.ext.linkcode",  # link to GitHub source code via linkcode_resolve()
59     "sphinx.ext.napoleon",
60     "nbsphinx",  # integrates example notebooks
61     "m2r2",  # markdown rendering
62 ]
63 
64 # Add any paths that contain templates here, relative to this directory.
65 templates_path = ["_templates"]
66 
67 # The suffix(es) of source filenames.
68 # You can specify multiple suffix as a list of string:
69 source_suffix = {
70     ".rst": "restructuredtext",
71     ".md": "markdown",
72 }
73 
74 # The master toctree document.
75 master_doc = "index"
76 
77 # The language for content autogenerated by Sphinx. Refer to documentation
78 # for a list of supported languages.
79 #
80 # This is also used if you do content translation via gettext catalogs.
81 # Usually you set "language" from the command line for these cases.
82 language = None
83 
84 # List of patterns, relative to source directory, that match files and
85 # directories to ignore when looking for source files.
86 # This pattern also affects html_static_path and html_extra_path.
87 exclude_patterns = ["_build", ".ipynb_checkpoints", "Thumbs.db", ".DS_Store"]
88 
89 # The name of the Pygments (syntax highlighting) style to use.
90 pygments_style = "sphinx"
91 
92 # see http://stackoverflow.com/q/12206334/562769
93 numpydoc_show_class_members = True
94 numpydoc_class_members_toctree = False
95 
96 # generate autosummary even if no references
97 autosummary_generate = True
98 autodoc_default_flags = ["members", "inherited-members"]
99 
100 
101 def linkcode_resolve(domain, info):
102     def find_source():
103         # try to find the file and line number, based on code from numpy:
104         # https://github.com/numpy/numpy/blob/master/doc/source/conf.py#L286
105         obj = sys.modules[info["module"]]
106         for part in info["fullname"].split("."):
107             obj = getattr(obj, part)
108         import inspect
109         import os
110 
111         fn = inspect.getsourcefile(obj)
112         fn = os.path.relpath(fn, start=os.path.dirname(sktime.__file__))
113         source, lineno = inspect.getsourcelines(obj)
114         return fn, lineno, lineno + len(source) - 1
115 
116     if domain != "py" or not info["module"]:
117         return None
118     try:
119         filename = "sktime/%s#L%d-L%d" % find_source()
120     except Exception:
121         filename = info["module"].replace(".", "/") + ".py"
122     return "https://github.com/alan-turing-institute/sktime/blob/%s/%s" % (
123         CURRENT_VERSION,
124         filename,
125     )
126 
127 
128 # -- Options for HTML output -------------------------------------------------
129 
130 # The theme to use for HTML and HTML Help pages.  See the documentation for
131 # a list of builtin themes.
132 
133 html_theme = "sphinx_rtd_theme"
134 # html_theme = 'bootstrap'
135 
136 # Theme options are theme-specific and customize the look and feel of a theme
137 # further.  For a list of options available for each theme, see the
138 # documentation.
139 
140 html_theme_options = {
141     "prev_next_buttons_location": None,
142 }
143 
144 html_favicon = "images/sktime-favicon.ico"
145 
146 # Add any paths that contain custom static files (such as style sheets) here,
147 # relative to this directory. They are copied after the builtin static files,
148 # so a file named "default.css" will overwrite the builtin "default.css".
149 html_static_path = ["_static"]
150 
151 # Custom sidebar templates, must be a dictionary that maps document names
152 # to template names.
153 #
154 # The default sidebars (for documents that don't match any pattern) are
155 # defined by theme itself.  Builtin themes are using these templates by
156 # default: ``['localtoc.html', 'relations.html', 'sourcelink.html',
157 # 'searchbox.html']``.
158 #
159 # html_sidebars = {}
160 
161 html_show_sourcelink = False
162 
163 # -- Options for HTMLHelp output ---------------------------------------------
164 
165 # Output file base name for HTML help builder.
166 htmlhelp_basename = "sktimedoc"
167 
168 # -- Options for LaTeX output ------------------------------------------------
169 
170 latex_elements = {
171     # The paper size ('letterpaper' or 'a4paper').
172     # 'papersize': 'letterpaper',
173     # The font size ('10pt', '11pt' or '12pt').
174     # 'pointsize': '10pt',
175     # Additional stuff for the LaTeX preamble.
176     # 'preamble': '',
177     # Latex figure (float) alignment
178     # 'figure_align': 'htbp',
179 }
180 
181 # Grouping the document tree into LaTeX files. List of tuples
182 # (source start file, target name, title,
183 #  author, documentclass [howto, manual, or own class]).
184 latex_documents = [
185     (master_doc, "sktime.tex", "sktime Documentation", "sktime developers", "manual"),
186 ]
187 
188 # -- Options for manual page output ------------------------------------------
189 
190 # One entry per manual page. List of tuples
191 # (source start file, name, description, authors, manual section).
192 man_pages = [(master_doc, "sktime", "sktime Documentation", [AUTHOR], 1)]
193 
194 # -- Options for Texinfo output ----------------------------------------------
195 
196 # Grouping the document tree into Texinfo files. List of tuples
197 # (source start file, target name, title, author,
198 #  dir menu entry, description, category)
199 texinfo_documents = [
200     (
201         master_doc,
202         "sktime",
203         "sktime Documentation",
204         AUTHOR,
205         "sktime",
206         "One line description of project.",
207         "Miscellaneous",
208     ),
209 ]
210 
211 
212 def setup(app):
213     def adds(pth):
214         print("Adding stylesheet: %s" % pth)  # noqa: T001
215         app.add_css_file(pth)
216 
217     adds("fields.css")  # for parameters, etc.
218 
219 
220 # -- Extension configuration -------------------------------------------------
221 
222 # -- Options for nbsphinx extension ---------------------------------------
223 nbsphinx_execute = "always"  # whether or not to run notebooks
224 nbsphinx_allow_errors = False  # False
225 nbsphinx_timeout = 600  # time out in secs, set to -1 to disable timeout
226 
227 # add Binder launch buttom at the top
228 CURRENT_FILE = "{{ env.doc2path( env.docname, base=None) }}"
229 
230 # make sure Binder points to latest stable release, not master
231 BINDER_URL = f"https://mybinder.org/v2/gh/alan-turing-institute/sktime/{CURRENT_VERSION}?filepath={CURRENT_FILE}"  # noqa
232 nbsphinx_prolog = f"""
233 .. |binder| image:: https://mybinder.org/badge_logo.svg
234 .. _Binder: {BINDER_URL}
235 
236 |Binder|_
237 """
238 
239 # add link to original notebook at the bottom
240 NOTEBOOK_URL = f"https://github.com/alan-turing-institute/sktime/tree/{CURRENT_VERSION}/{CURRENT_FILE}"  # noqa
241 nbsphinx_epilog = f"""
242 ----
243 
244 Generated by nbsphinx_. The Jupyter notebook can be found here_.
245 
246 .. _here: {NOTEBOOK_URL}
247 .. _nbsphinx: https://nbsphinx.readthedocs.io/
248 """
249 
250 # -- Options for intersphinx extension ---------------------------------------
251 
252 # Example configuration for intersphinx: refer to the Python standard library.
253 intersphinx_mapping = {"https://docs.python.org/": None}
254 
255 # -- Options for _todo extension ----------------------------------------------
256 todo_include_todos = False
257
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/docs/source/conf.py b/docs/source/conf.py
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -27,9 +27,9 @@
     sys.path.insert(0, os.path.abspath("../.."))
 
 # -- Project information -----------------------------------------------------
-PROJECT = "sktime"
-COPYRIGHT = "2019 - 2020 (BSD-3-Clause License)"
-AUTHOR = "sktime developers"
+project = "sktime"
+copyright = "2019 - 2020 (BSD-3-Clause License)"
+author = "sktime developers"
 
 # The full version, including alpha/beta/rc tags
 CURRENT_VERSION = f"v{sktime.__version__}"
@@ -189,7 +189,7 @@
 
 # One entry per manual page. List of tuples
 # (source start file, name, description, authors, manual section).
-man_pages = [(master_doc, "sktime", "sktime Documentation", [AUTHOR], 1)]
+man_pages = [(master_doc, "sktime", "sktime Documentation", [author], 1)]
 
 # -- Options for Texinfo output ----------------------------------------------
 
@@ -201,7 +201,7 @@
         master_doc,
         "sktime",
         "sktime Documentation",
-        AUTHOR,
+        author,
         "sktime",
         "One line description of project.",
         "Miscellaneous",

{"golden_diff": "diff --git a/docs/source/conf.py b/docs/source/conf.py\n--- a/docs/source/conf.py\n+++ b/docs/source/conf.py\n@@ -27,9 +27,9 @@\n     sys.path.insert(0, os.path.abspath(\"../..\"))\n \n # -- Project information -----------------------------------------------------\n-PROJECT = \"sktime\"\n-COPYRIGHT = \"2019 - 2020 (BSD-3-Clause License)\"\n-AUTHOR = \"sktime developers\"\n+project = \"sktime\"\n+copyright = \"2019 - 2020 (BSD-3-Clause License)\"\n+author = \"sktime developers\"\n \n # The full version, including alpha/beta/rc tags\n CURRENT_VERSION = f\"v{sktime.__version__}\"\n@@ -189,7 +189,7 @@\n \n # One entry per manual page. List of tuples\n # (source start file, name, description, authors, manual section).\n-man_pages = [(master_doc, \"sktime\", \"sktime Documentation\", [AUTHOR], 1)]\n+man_pages = [(master_doc, \"sktime\", \"sktime Documentation\", [author], 1)]\n \n # -- Options for Texinfo output ----------------------------------------------\n \n@@ -201,7 +201,7 @@\n         master_doc,\n         \"sktime\",\n         \"sktime Documentation\",\n-        AUTHOR,\n+        author,\n         \"sktime\",\n         \"One line description of project.\",\n         \"Miscellaneous\",\n", "issue": "[DOC]add new software in Wiki\n#### Describe the issue linked to the documentation\r\nI cannot find the LoudML in the Related Software in wiki page.https://github.com/alan-turing-institute/sktime/wiki/related-software\r\n<!--\r\nTell us about the confusion introduced in the documentation.\r\n-->\r\nLoud ML is an open source time series inference engine built on top of TensorFlow. It's useful to forecast data, detect outliers, and automate your process using future knowledge. here is link\uff1a https://github.com/regel/loudml\r\n#### Suggest a potential alternative/fix\r\ncould you add it into the list?\r\n<!--\r\nTell us how we could improve the documentation in this regard.\r\n-->\r\n\n", "before_files": [{"content": "#!/usr/bin/env python3\n# -*- coding: utf-8 -*-\n#\n# Configuration file for the Sphinx documentation builder.\n#\n# This file does only contain a selection of the most common options. For a\n# full list see the documentation:\n# http://www.sphinx-doc.org/en/master/config\n\nimport os\nimport sys\n\nimport sktime\n\n# -- Path setup --------------------------------------------------------------\n\n# If extensions (or modules to document with autodoc) are in another directory,\n# add these directories to sys.path here. If the directory is relative to the\n# documentation root, use os.path.abspath to make it absolute, like shown here.\n\n# When we build the docs on readthedocs, we build the package and want to\n# use the built files in order for sphinx to be able to properly read the\n# Cython files. Hence, we do not add the source code path to the system\n# path.\nON_READTHEDOCS = os.environ.get(\"READTHEDOCS\") == \"True\"\nif not ON_READTHEDOCS:\n    sys.path.insert(0, os.path.abspath(\"../..\"))\n\n# -- Project information -----------------------------------------------------\nPROJECT = \"sktime\"\nCOPYRIGHT = \"2019 - 2020 (BSD-3-Clause License)\"\nAUTHOR = \"sktime developers\"\n\n# The full version, including alpha/beta/rc tags\nCURRENT_VERSION = f\"v{sktime.__version__}\"\n\n# If on readthedocs, and we're building the latest version, update tag to generate\n# correct links in notebooks\nif ON_READTHEDOCS:\n    READTHEDOCS_VERSION = os.environ.get(\"READTHEDOCS_VERSION\")\n    if READTHEDOCS_VERSION == \"latest\":\n        CURRENT_VERSION = \"master\"\n\n# -- General configuration ---------------------------------------------------\n\n# Add any Sphinx extension module names here, as strings. They can be\n# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom\n# ones.\nextensions = [\n    \"sphinx.ext.autodoc\",\n    \"sphinx.ext.autosummary\",\n    \"sphinx.ext.intersphinx\",\n    \"sphinx.ext.autosectionlabel\",\n    \"sphinx.ext.todo\",\n    \"sphinx.ext.mathjax\",\n    # 'sphinx.ext.viewcode',  # link to auto-generated source code files (rst)\n    \"sphinx.ext.githubpages\",\n    \"sphinx.ext.linkcode\",  # link to GitHub source code via linkcode_resolve()\n    \"sphinx.ext.napoleon\",\n    \"nbsphinx\",  # integrates example notebooks\n    \"m2r2\",  # markdown rendering\n]\n\n# Add any paths that contain templates here, relative to this directory.\ntemplates_path = [\"_templates\"]\n\n# The suffix(es) of source filenames.\n# You can specify multiple suffix as a list of string:\nsource_suffix = {\n    \".rst\": \"restructuredtext\",\n    \".md\": \"markdown\",\n}\n\n# The master toctree document.\nmaster_doc = \"index\"\n\n# The language for content autogenerated by Sphinx. Refer to documentation\n# for a list of supported languages.\n#\n# This is also used if you do content translation via gettext catalogs.\n# Usually you set \"language\" from the command line for these cases.\nlanguage = None\n\n# List of patterns, relative to source directory, that match files and\n# directories to ignore when looking for source files.\n# This pattern also affects html_static_path and html_extra_path.\nexclude_patterns = [\"_build\", \".ipynb_checkpoints\", \"Thumbs.db\", \".DS_Store\"]\n\n# The name of the Pygments (syntax highlighting) style to use.\npygments_style = \"sphinx\"\n\n# see http://stackoverflow.com/q/12206334/562769\nnumpydoc_show_class_members = True\nnumpydoc_class_members_toctree = False\n\n# generate autosummary even if no references\nautosummary_generate = True\nautodoc_default_flags = [\"members\", \"inherited-members\"]\n\n\ndef linkcode_resolve(domain, info):\n    def find_source():\n        # try to find the file and line number, based on code from numpy:\n        # https://github.com/numpy/numpy/blob/master/doc/source/conf.py#L286\n        obj = sys.modules[info[\"module\"]]\n        for part in info[\"fullname\"].split(\".\"):\n            obj = getattr(obj, part)\n        import inspect\n        import os\n\n        fn = inspect.getsourcefile(obj)\n        fn = os.path.relpath(fn, start=os.path.dirname(sktime.__file__))\n        source, lineno = inspect.getsourcelines(obj)\n        return fn, lineno, lineno + len(source) - 1\n\n    if domain != \"py\" or not info[\"module\"]:\n        return None\n    try:\n        filename = \"sktime/%s#L%d-L%d\" % find_source()\n    except Exception:\n        filename = info[\"module\"].replace(\".\", \"/\") + \".py\"\n    return \"https://github.com/alan-turing-institute/sktime/blob/%s/%s\" % (\n        CURRENT_VERSION,\n        filename,\n    )\n\n\n# -- Options for HTML output -------------------------------------------------\n\n# The theme to use for HTML and HTML Help pages.  See the documentation for\n# a list of builtin themes.\n\nhtml_theme = \"sphinx_rtd_theme\"\n# html_theme = 'bootstrap'\n\n# Theme options are theme-specific and customize the look and feel of a theme\n# further.  For a list of options available for each theme, see the\n# documentation.\n\nhtml_theme_options = {\n    \"prev_next_buttons_location\": None,\n}\n\nhtml_favicon = \"images/sktime-favicon.ico\"\n\n# Add any paths that contain custom static files (such as style sheets) here,\n# relative to this directory. They are copied after the builtin static files,\n# so a file named \"default.css\" will overwrite the builtin \"default.css\".\nhtml_static_path = [\"_static\"]\n\n# Custom sidebar templates, must be a dictionary that maps document names\n# to template names.\n#\n# The default sidebars (for documents that don't match any pattern) are\n# defined by theme itself.  Builtin themes are using these templates by\n# default: ``['localtoc.html', 'relations.html', 'sourcelink.html',\n# 'searchbox.html']``.\n#\n# html_sidebars = {}\n\nhtml_show_sourcelink = False\n\n# -- Options for HTMLHelp output ---------------------------------------------\n\n# Output file base name for HTML help builder.\nhtmlhelp_basename = \"sktimedoc\"\n\n# -- Options for LaTeX output ------------------------------------------------\n\nlatex_elements = {\n    # The paper size ('letterpaper' or 'a4paper').\n    # 'papersize': 'letterpaper',\n    # The font size ('10pt', '11pt' or '12pt').\n    # 'pointsize': '10pt',\n    # Additional stuff for the LaTeX preamble.\n    # 'preamble': '',\n    # Latex figure (float) alignment\n    # 'figure_align': 'htbp',\n}\n\n# Grouping the document tree into LaTeX files. List of tuples\n# (source start file, target name, title,\n#  author, documentclass [howto, manual, or own class]).\nlatex_documents = [\n    (master_doc, \"sktime.tex\", \"sktime Documentation\", \"sktime developers\", \"manual\"),\n]\n\n# -- Options for manual page output ------------------------------------------\n\n# One entry per manual page. List of tuples\n# (source start file, name, description, authors, manual section).\nman_pages = [(master_doc, \"sktime\", \"sktime Documentation\", [AUTHOR], 1)]\n\n# -- Options for Texinfo output ----------------------------------------------\n\n# Grouping the document tree into Texinfo files. List of tuples\n# (source start file, target name, title, author,\n#  dir menu entry, description, category)\ntexinfo_documents = [\n    (\n        master_doc,\n        \"sktime\",\n        \"sktime Documentation\",\n        AUTHOR,\n        \"sktime\",\n        \"One line description of project.\",\n        \"Miscellaneous\",\n    ),\n]\n\n\ndef setup(app):\n    def adds(pth):\n        print(\"Adding stylesheet: %s\" % pth)  # noqa: T001\n        app.add_css_file(pth)\n\n    adds(\"fields.css\")  # for parameters, etc.\n\n\n# -- Extension configuration -------------------------------------------------\n\n# -- Options for nbsphinx extension ---------------------------------------\nnbsphinx_execute = \"always\"  # whether or not to run notebooks\nnbsphinx_allow_errors = False  # False\nnbsphinx_timeout = 600  # time out in secs, set to -1 to disable timeout\n\n# add Binder launch buttom at the top\nCURRENT_FILE = \"{{ env.doc2path( env.docname, base=None) }}\"\n\n# make sure Binder points to latest stable release, not master\nBINDER_URL = f\"https://mybinder.org/v2/gh/alan-turing-institute/sktime/{CURRENT_VERSION}?filepath={CURRENT_FILE}\"  # noqa\nnbsphinx_prolog = f\"\"\"\n.. |binder| image:: https://mybinder.org/badge_logo.svg\n.. _Binder: {BINDER_URL}\n\n|Binder|_\n\"\"\"\n\n# add link to original notebook at the bottom\nNOTEBOOK_URL = f\"https://github.com/alan-turing-institute/sktime/tree/{CURRENT_VERSION}/{CURRENT_FILE}\"  # noqa\nnbsphinx_epilog = f\"\"\"\n----\n\nGenerated by nbsphinx_. The Jupyter notebook can be found here_.\n\n.. _here: {NOTEBOOK_URL}\n.. _nbsphinx: https://nbsphinx.readthedocs.io/\n\"\"\"\n\n# -- Options for intersphinx extension ---------------------------------------\n\n# Example configuration for intersphinx: refer to the Python standard library.\nintersphinx_mapping = {\"https://docs.python.org/\": None}\n\n# -- Options for _todo extension ----------------------------------------------\ntodo_include_todos = False\n", "path": "docs/source/conf.py"}], "after_files": [{"content": "#!/usr/bin/env python3\n# -*- coding: utf-8 -*-\n#\n# Configuration file for the Sphinx documentation builder.\n#\n# This file does only contain a selection of the most common options. For a\n# full list see the documentation:\n# http://www.sphinx-doc.org/en/master/config\n\nimport os\nimport sys\n\nimport sktime\n\n# -- Path setup --------------------------------------------------------------\n\n# If extensions (or modules to document with autodoc) are in another directory,\n# add these directories to sys.path here. If the directory is relative to the\n# documentation root, use os.path.abspath to make it absolute, like shown here.\n\n# When we build the docs on readthedocs, we build the package and want to\n# use the built files in order for sphinx to be able to properly read the\n# Cython files. Hence, we do not add the source code path to the system\n# path.\nON_READTHEDOCS = os.environ.get(\"READTHEDOCS\") == \"True\"\nif not ON_READTHEDOCS:\n    sys.path.insert(0, os.path.abspath(\"../..\"))\n\n# -- Project information -----------------------------------------------------\nproject = \"sktime\"\ncopyright = \"2019 - 2020 (BSD-3-Clause License)\"\nauthor = \"sktime developers\"\n\n# The full version, including alpha/beta/rc tags\nCURRENT_VERSION = f\"v{sktime.__version__}\"\n\n# If on readthedocs, and we're building the latest version, update tag to generate\n# correct links in notebooks\nif ON_READTHEDOCS:\n    READTHEDOCS_VERSION = os.environ.get(\"READTHEDOCS_VERSION\")\n    if READTHEDOCS_VERSION == \"latest\":\n        CURRENT_VERSION = \"master\"\n\n# -- General configuration ---------------------------------------------------\n\n# Add any Sphinx extension module names here, as strings. They can be\n# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom\n# ones.\nextensions = [\n    \"sphinx.ext.autodoc\",\n    \"sphinx.ext.autosummary\",\n    \"sphinx.ext.intersphinx\",\n    \"sphinx.ext.autosectionlabel\",\n    \"sphinx.ext.todo\",\n    \"sphinx.ext.mathjax\",\n    # 'sphinx.ext.viewcode',  # link to auto-generated source code files (rst)\n    \"sphinx.ext.githubpages\",\n    \"sphinx.ext.linkcode\",  # link to GitHub source code via linkcode_resolve()\n    \"sphinx.ext.napoleon\",\n    \"nbsphinx\",  # integrates example notebooks\n    \"m2r2\",  # markdown rendering\n]\n\n# Add any paths that contain templates here, relative to this directory.\ntemplates_path = [\"_templates\"]\n\n# The suffix(es) of source filenames.\n# You can specify multiple suffix as a list of string:\nsource_suffix = {\n    \".rst\": \"restructuredtext\",\n    \".md\": \"markdown\",\n}\n\n# The master toctree document.\nmaster_doc = \"index\"\n\n# The language for content autogenerated by Sphinx. Refer to documentation\n# for a list of supported languages.\n#\n# This is also used if you do content translation via gettext catalogs.\n# Usually you set \"language\" from the command line for these cases.\nlanguage = None\n\n# List of patterns, relative to source directory, that match files and\n# directories to ignore when looking for source files.\n# This pattern also affects html_static_path and html_extra_path.\nexclude_patterns = [\"_build\", \".ipynb_checkpoints\", \"Thumbs.db\", \".DS_Store\"]\n\n# The name of the Pygments (syntax highlighting) style to use.\npygments_style = \"sphinx\"\n\n# see http://stackoverflow.com/q/12206334/562769\nnumpydoc_show_class_members = True\nnumpydoc_class_members_toctree = False\n\n# generate autosummary even if no references\nautosummary_generate = True\nautodoc_default_flags = [\"members\", \"inherited-members\"]\n\n\ndef linkcode_resolve(domain, info):\n    def find_source():\n        # try to find the file and line number, based on code from numpy:\n        # https://github.com/numpy/numpy/blob/master/doc/source/conf.py#L286\n        obj = sys.modules[info[\"module\"]]\n        for part in info[\"fullname\"].split(\".\"):\n            obj = getattr(obj, part)\n        import inspect\n        import os\n\n        fn = inspect.getsourcefile(obj)\n        fn = os.path.relpath(fn, start=os.path.dirname(sktime.__file__))\n        source, lineno = inspect.getsourcelines(obj)\n        return fn, lineno, lineno + len(source) - 1\n\n    if domain != \"py\" or not info[\"module\"]:\n        return None\n    try:\n        filename = \"sktime/%s#L%d-L%d\" % find_source()\n    except Exception:\n        filename = info[\"module\"].replace(\".\", \"/\") + \".py\"\n    return \"https://github.com/alan-turing-institute/sktime/blob/%s/%s\" % (\n        CURRENT_VERSION,\n        filename,\n    )\n\n\n# -- Options for HTML output -------------------------------------------------\n\n# The theme to use for HTML and HTML Help pages.  See the documentation for\n# a list of builtin themes.\n\nhtml_theme = \"sphinx_rtd_theme\"\n# html_theme = 'bootstrap'\n\n# Theme options are theme-specific and customize the look and feel of a theme\n# further.  For a list of options available for each theme, see the\n# documentation.\n\nhtml_theme_options = {\n    \"prev_next_buttons_location\": None,\n}\n\nhtml_favicon = \"images/sktime-favicon.ico\"\n\n# Add any paths that contain custom static files (such as style sheets) here,\n# relative to this directory. They are copied after the builtin static files,\n# so a file named \"default.css\" will overwrite the builtin \"default.css\".\nhtml_static_path = [\"_static\"]\n\n# Custom sidebar templates, must be a dictionary that maps document names\n# to template names.\n#\n# The default sidebars (for documents that don't match any pattern) are\n# defined by theme itself.  Builtin themes are using these templates by\n# default: ``['localtoc.html', 'relations.html', 'sourcelink.html',\n# 'searchbox.html']``.\n#\n# html_sidebars = {}\n\nhtml_show_sourcelink = False\n\n# -- Options for HTMLHelp output ---------------------------------------------\n\n# Output file base name for HTML help builder.\nhtmlhelp_basename = \"sktimedoc\"\n\n# -- Options for LaTeX output ------------------------------------------------\n\nlatex_elements = {\n    # The paper size ('letterpaper' or 'a4paper').\n    # 'papersize': 'letterpaper',\n    # The font size ('10pt', '11pt' or '12pt').\n    # 'pointsize': '10pt',\n    # Additional stuff for the LaTeX preamble.\n    # 'preamble': '',\n    # Latex figure (float) alignment\n    # 'figure_align': 'htbp',\n}\n\n# Grouping the document tree into LaTeX files. List of tuples\n# (source start file, target name, title,\n#  author, documentclass [howto, manual, or own class]).\nlatex_documents = [\n    (master_doc, \"sktime.tex\", \"sktime Documentation\", \"sktime developers\", \"manual\"),\n]\n\n# -- Options for manual page output ------------------------------------------\n\n# One entry per manual page. List of tuples\n# (source start file, name, description, authors, manual section).\nman_pages = [(master_doc, \"sktime\", \"sktime Documentation\", [author], 1)]\n\n# -- Options for Texinfo output ----------------------------------------------\n\n# Grouping the document tree into Texinfo files. List of tuples\n# (source start file, target name, title, author,\n#  dir menu entry, description, category)\ntexinfo_documents = [\n    (\n        master_doc,\n        \"sktime\",\n        \"sktime Documentation\",\n        author,\n        \"sktime\",\n        \"One line description of project.\",\n        \"Miscellaneous\",\n    ),\n]\n\n\ndef setup(app):\n    def adds(pth):\n        print(\"Adding stylesheet: %s\" % pth)  # noqa: T001\n        app.add_css_file(pth)\n\n    adds(\"fields.css\")  # for parameters, etc.\n\n\n# -- Extension configuration -------------------------------------------------\n\n# -- Options for nbsphinx extension ---------------------------------------\nnbsphinx_execute = \"always\"  # whether or not to run notebooks\nnbsphinx_allow_errors = False  # False\nnbsphinx_timeout = 600  # time out in secs, set to -1 to disable timeout\n\n# add Binder launch buttom at the top\nCURRENT_FILE = \"{{ env.doc2path( env.docname, base=None) }}\"\n\n# make sure Binder points to latest stable release, not master\nBINDER_URL = f\"https://mybinder.org/v2/gh/alan-turing-institute/sktime/{CURRENT_VERSION}?filepath={CURRENT_FILE}\"  # noqa\nnbsphinx_prolog = f\"\"\"\n.. |binder| image:: https://mybinder.org/badge_logo.svg\n.. _Binder: {BINDER_URL}\n\n|Binder|_\n\"\"\"\n\n# add link to original notebook at the bottom\nNOTEBOOK_URL = f\"https://github.com/alan-turing-institute/sktime/tree/{CURRENT_VERSION}/{CURRENT_FILE}\"  # noqa\nnbsphinx_epilog = f\"\"\"\n----\n\nGenerated by nbsphinx_. The Jupyter notebook can be found here_.\n\n.. _here: {NOTEBOOK_URL}\n.. _nbsphinx: https://nbsphinx.readthedocs.io/\n\"\"\"\n\n# -- Options for intersphinx extension ---------------------------------------\n\n# Example configuration for intersphinx: refer to the Python standard library.\nintersphinx_mapping = {\"https://docs.python.org/\": None}\n\n# -- Options for _todo extension ----------------------------------------------\ntodo_include_todos = False\n", "path": "docs/source/conf.py"}]}