We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
MAINT: New release?
It has been ~6 months, time for a release? Also it might be necessary to work with the imminent 1.2 release, not sure. But it's generally better if `mne-*` release before `mne` itself. mne-connectivity and mne-realtime have released recently. WDYT?

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `mne_bids/__init__.py`
Content:
```
1 """MNE software for easily interacting with BIDS compatible datasets."""
2 
3 __version__ = '0.11.dev0'
4 from mne_bids import commands
5 from mne_bids.report import make_report
6 from mne_bids.path import (BIDSPath, get_datatypes, get_entity_vals,
7                            print_dir_tree, get_entities_from_fname,
8                            search_folder_for_text, get_bids_path_from_fname)
9 from mne_bids.read import get_head_mri_trans, read_raw_bids
10 from mne_bids.utils import get_anonymization_daysback
11 from mne_bids.write import (make_dataset_description, write_anat,
12                             write_raw_bids, mark_channels,
13                             write_meg_calibration, write_meg_crosstalk,
14                             get_anat_landmarks, anonymize_dataset)
15 from mne_bids.sidecar_updates import update_sidecar_json, update_anat_landmarks
16 from mne_bids.inspect import inspect_dataset
17 from mne_bids.dig import (template_to_head, convert_montage_to_ras,
18                           convert_montage_to_mri)
19
```

Path: `doc/conf.py`
Content:
```
1 """Configure details for documentation with sphinx."""
2 import os
3 import sys
4 from datetime import date
5 
6 import sphinx_gallery  # noqa: F401
7 from sphinx_gallery.sorting import ExampleTitleSortKey
8 
9 import mne_bids
10 
11 
12 # If extensions (or modules to document with autodoc) are in another directory,
13 # add these directories to sys.path here. If the directory is relative to the
14 # documentation root, use os.path.abspath to make it absolute, like shown here.
15 curdir = os.path.dirname(__file__)
16 sys.path.append(os.path.abspath(os.path.join(curdir, '..', 'mne_bids')))
17 sys.path.append(os.path.abspath(os.path.join(curdir, 'sphinxext')))
18 
19 
20 # -- General configuration ------------------------------------------------
21 
22 # If your documentation needs a minimal Sphinx version, state it here.
23 #
24 # needs_sphinx = '1.0'
25 
26 # Add any Sphinx extension module names here, as strings. They can be
27 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
28 # ones.
29 extensions = [
30     'sphinx.ext.githubpages',
31     'sphinx.ext.autodoc',
32     'sphinx.ext.mathjax',
33     'sphinx.ext.viewcode',
34     'sphinx.ext.autosummary',
35     'sphinx.ext.doctest',
36     'sphinx.ext.intersphinx',
37     'sphinx_gallery.gen_gallery',
38     'numpydoc',
39     'sphinx_copybutton',
40     'gen_cli',  # custom extension, see ./sphinxext/gen_cli.py
41     'gh_substitutions',  # custom extension, see ./sphinxext/gh_substitutions.py
42 ]
43 
44 # configure sphinx-copybutton
45 copybutton_prompt_text = r">>> |\.\.\. |\$ "
46 copybutton_prompt_is_regexp = True
47 
48 # configure numpydoc
49 numpydoc_xref_param_type = True
50 numpydoc_class_members_toctree = False
51 numpydoc_attributes_as_param_list = True
52 numpydoc_xref_aliases = {
53     'BIDSPath': ':class:`BIDSPath <mne_bids.BIDSPath>`',
54     'path-like': ':term:`path-like <mne:path-like>`',
55     'array-like': ':term:`array_like <numpy:array_like>`',
56     'int': ':class:`int <python:int>`',
57     'bool': ':class:`bool <python:bool>`',
58     'float': ':class:`float <python:float>`',
59     'list': ':class:`list <python:list>`',
60     'tuple': ':class:`tuple <python:tuple>`',
61     'NibabelImageObject': 'nibabel.spatialimages.SpatialImage',
62 }
63 numpydoc_xref_ignore = {
64     # words
65     'instance', 'instances', 'of'
66 }
67 
68 
69 # generate autosummary even if no references
70 autosummary_generate = True
71 autodoc_default_options = {'inherited-members': None}
72 default_role = 'autolink'  # XXX silently allows bad syntax, someone should fix
73 
74 # configure linkcheck
75 # https://sphinx-doc.org/en/master/usage/configuration.html?#options-for-the-linkcheck-builder
76 linkcheck_retries = 2
77 linkcheck_rate_limit_timeout = 15.0
78 linkcheck_ignore = [
79     r'https://www.researchgate.net/profile/.*',
80 ]
81 
82 # The suffix(es) of source filenames.
83 # You can specify multiple suffix as a list of string:
84 #
85 # source_suffix = ['.rst', '.md']
86 source_suffix = '.rst'
87 
88 # The master toctree document.
89 master_doc = 'index'
90 
91 # General information about the project.
92 project = u'MNE-BIDS'
93 td = date.today()
94 copyright = u'2017-%s, MNE Developers. Last updated on %s' % (td.year,
95                                                               td.isoformat())
96 
97 author = u'MNE Developers'
98 
99 # The version info for the project you're documenting, acts as replacement for
100 # |version| and |release|, also used in various other places throughout the
101 # built documents.
102 #
103 # The short X.Y version.
104 version = mne_bids.__version__
105 # The full version, including alpha/beta/rc tags.
106 release = version
107 
108 # List of patterns, relative to source directory, that match files and
109 # directories to ignore when looking for source files.
110 # This patterns also effect to html_static_path and html_extra_path
111 exclude_patterns = ['auto_examples/index.rst', '_build', 'Thumbs.db',
112                     '.DS_Store']
113 
114 # HTML options (e.g., theme)
115 html_show_sourcelink = False
116 html_copy_source = False
117 
118 html_theme = 'pydata_sphinx_theme'
119 
120 # Add any paths that contain templates here, relative to this directory.
121 templates_path = ['_templates']
122 html_static_path = ['_static']
123 html_css_files = ['style.css']
124 
125 # Theme options are theme-specific and customize the look and feel of a theme
126 # further.  For a list of options available for each theme, see the
127 # documentation.
128 html_theme_options = {
129     'icon_links': [
130         dict(name='GitHub',
131              url='https://github.com/mne-tools/mne-bids',
132              icon='fab fa-github-square'),
133         dict(name='Discourse',
134              url='https://mne.discourse.group/tags/mne-bids',
135              icon='fab fa-discourse'),
136     ],
137     'icon_links_label': 'Quick Links',  # for screen reader
138     'use_edit_page_button': False,
139     'navigation_with_keys': False,
140     'show_toc_level': 1,
141     'navbar_end': ['version-switcher', 'navbar-icon-links'],
142 }
143 
144 html_context = {
145     'versions_dropdown': {
146         'dev': 'v0.11 (devel)',
147         'stable': 'v0.10 (stable)',
148         'v0.9': 'v0.9',
149         'v0.8': 'v0.8',
150         'v0.7': 'v0.7',
151         'v0.6': 'v0.6',
152         'v0.5': 'v0.5',
153         'v0.4': 'v0.4',
154         'v0.3': 'v0.3',
155         'v0.2': 'v0.2',
156         'v0.1': 'v0.1',
157     },
158 }
159 
160 html_sidebars = {}
161 
162 # Example configuration for intersphinx: refer to the Python standard library.
163 intersphinx_mapping = {
164     'python': ('https://docs.python.org/3', None),
165     'mne': ('https://mne.tools/dev', None),
166     'numpy': ('https://numpy.org/devdocs', None),
167     'scipy': ('https://scipy.github.io/devdocs', None),
168     'matplotlib': ('https://matplotlib.org', None),
169     'nilearn': ('http://nilearn.github.io/stable', None),
170     'pandas': ('https://pandas.pydata.org/pandas-docs/dev', None),
171     'nibabel': ('https://nipy.org/nibabel', None),
172 }
173 intersphinx_timeout = 5
174 
175 # Resolve binder filepath_prefix. From the docs:
176 # "A prefix to append to the filepath in the Binder links. You should use this
177 # if you will store your built documentation in a sub-folder of a repository,
178 # instead of in the root."
179 # we will store dev docs in a `dev` subdirectory and all other docs in a
180 # directory "v" + version_str. E.g., "v0.3"
181 if 'dev' in version:
182     filepath_prefix = 'dev'
183 else:
184     filepath_prefix = 'v{}'.format(version)
185 
186 sphinx_gallery_conf = {
187     'doc_module': 'mne_bids',
188     'reference_url': {
189         'mne_bids': None,
190     },
191     'backreferences_dir': 'generated',
192     'examples_dirs': '../examples',
193     'within_subsection_order': ExampleTitleSortKey,
194     'gallery_dirs': 'auto_examples',
195     'filename_pattern': '^((?!sgskip).)*$',
196     'binder': {
197         # Required keys
198         'org': 'mne-tools',
199         'repo': 'mne-bids',
200         'branch': 'gh-pages',  # noqa: E501 Can be any branch, tag, or commit hash. Use a branch that hosts your docs.
201         'binderhub_url': 'https://mybinder.org',  # noqa: E501 Any URL of a binderhub deployment. Must be full URL (e.g. https://mybinder.org).
202         'filepath_prefix': filepath_prefix,  # noqa: E501 A prefix to prepend to any filepaths in Binder links.
203         'dependencies': [
204             '../test_requirements.txt',
205             './requirements.txt',
206         ],
207     }
208 }
209
```
--- 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/doc/conf.py b/doc/conf.py
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -143,8 +143,9 @@
 
 html_context = {
     'versions_dropdown': {
-        'dev': 'v0.11 (devel)',
-        'stable': 'v0.10 (stable)',
+        'dev': 'v0.12 (devel)',
+        'stable': 'v0.11 (stable)',
+        'v0.10': 'v0.10',
         'v0.9': 'v0.9',
         'v0.8': 'v0.8',
         'v0.7': 'v0.7',
diff --git a/mne_bids/__init__.py b/mne_bids/__init__.py
--- a/mne_bids/__init__.py
+++ b/mne_bids/__init__.py
@@ -1,6 +1,6 @@
 """MNE software for easily interacting with BIDS compatible datasets."""
 
-__version__ = '0.11.dev0'
+__version__ = '0.11'
 from mne_bids import commands
 from mne_bids.report import make_report
 from mne_bids.path import (BIDSPath, get_datatypes, get_entity_vals,

{"golden_diff": "diff --git a/doc/conf.py b/doc/conf.py\n--- a/doc/conf.py\n+++ b/doc/conf.py\n@@ -143,8 +143,9 @@\n \n html_context = {\n     'versions_dropdown': {\n-        'dev': 'v0.11 (devel)',\n-        'stable': 'v0.10 (stable)',\n+        'dev': 'v0.12 (devel)',\n+        'stable': 'v0.11 (stable)',\n+        'v0.10': 'v0.10',\n         'v0.9': 'v0.9',\n         'v0.8': 'v0.8',\n         'v0.7': 'v0.7',\ndiff --git a/mne_bids/__init__.py b/mne_bids/__init__.py\n--- a/mne_bids/__init__.py\n+++ b/mne_bids/__init__.py\n@@ -1,6 +1,6 @@\n \"\"\"MNE software for easily interacting with BIDS compatible datasets.\"\"\"\n \n-__version__ = '0.11.dev0'\n+__version__ = '0.11'\n from mne_bids import commands\n from mne_bids.report import make_report\n from mne_bids.path import (BIDSPath, get_datatypes, get_entity_vals,\n", "issue": "MAINT: New release?\nIt has been ~6 months, time for a release? Also it might be necessary to work with the imminent 1.2 release, not sure. But it's generally better if `mne-*` release before `mne` itself. mne-connectivity and mne-realtime have released recently. WDYT?\n", "before_files": [{"content": "\"\"\"MNE software for easily interacting with BIDS compatible datasets.\"\"\"\n\n__version__ = '0.11.dev0'\nfrom mne_bids import commands\nfrom mne_bids.report import make_report\nfrom mne_bids.path import (BIDSPath, get_datatypes, get_entity_vals,\n                           print_dir_tree, get_entities_from_fname,\n                           search_folder_for_text, get_bids_path_from_fname)\nfrom mne_bids.read import get_head_mri_trans, read_raw_bids\nfrom mne_bids.utils import get_anonymization_daysback\nfrom mne_bids.write import (make_dataset_description, write_anat,\n                            write_raw_bids, mark_channels,\n                            write_meg_calibration, write_meg_crosstalk,\n                            get_anat_landmarks, anonymize_dataset)\nfrom mne_bids.sidecar_updates import update_sidecar_json, update_anat_landmarks\nfrom mne_bids.inspect import inspect_dataset\nfrom mne_bids.dig import (template_to_head, convert_montage_to_ras,\n                          convert_montage_to_mri)\n", "path": "mne_bids/__init__.py"}, {"content": "\"\"\"Configure details for documentation with sphinx.\"\"\"\nimport os\nimport sys\nfrom datetime import date\n\nimport sphinx_gallery  # noqa: F401\nfrom sphinx_gallery.sorting import ExampleTitleSortKey\n\nimport mne_bids\n\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.\ncurdir = os.path.dirname(__file__)\nsys.path.append(os.path.abspath(os.path.join(curdir, '..', 'mne_bids')))\nsys.path.append(os.path.abspath(os.path.join(curdir, 'sphinxext')))\n\n\n# -- General configuration ------------------------------------------------\n\n# If your documentation needs a minimal Sphinx version, state it here.\n#\n# needs_sphinx = '1.0'\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.githubpages',\n    'sphinx.ext.autodoc',\n    'sphinx.ext.mathjax',\n    'sphinx.ext.viewcode',\n    'sphinx.ext.autosummary',\n    'sphinx.ext.doctest',\n    'sphinx.ext.intersphinx',\n    'sphinx_gallery.gen_gallery',\n    'numpydoc',\n    'sphinx_copybutton',\n    'gen_cli',  # custom extension, see ./sphinxext/gen_cli.py\n    'gh_substitutions',  # custom extension, see ./sphinxext/gh_substitutions.py\n]\n\n# configure sphinx-copybutton\ncopybutton_prompt_text = r\">>> |\\.\\.\\. |\\$ \"\ncopybutton_prompt_is_regexp = True\n\n# configure numpydoc\nnumpydoc_xref_param_type = True\nnumpydoc_class_members_toctree = False\nnumpydoc_attributes_as_param_list = True\nnumpydoc_xref_aliases = {\n    'BIDSPath': ':class:`BIDSPath <mne_bids.BIDSPath>`',\n    'path-like': ':term:`path-like <mne:path-like>`',\n    'array-like': ':term:`array_like <numpy:array_like>`',\n    'int': ':class:`int <python:int>`',\n    'bool': ':class:`bool <python:bool>`',\n    'float': ':class:`float <python:float>`',\n    'list': ':class:`list <python:list>`',\n    'tuple': ':class:`tuple <python:tuple>`',\n    'NibabelImageObject': 'nibabel.spatialimages.SpatialImage',\n}\nnumpydoc_xref_ignore = {\n    # words\n    'instance', 'instances', 'of'\n}\n\n\n# generate autosummary even if no references\nautosummary_generate = True\nautodoc_default_options = {'inherited-members': None}\ndefault_role = 'autolink'  # XXX silently allows bad syntax, someone should fix\n\n# configure linkcheck\n# https://sphinx-doc.org/en/master/usage/configuration.html?#options-for-the-linkcheck-builder\nlinkcheck_retries = 2\nlinkcheck_rate_limit_timeout = 15.0\nlinkcheck_ignore = [\n    r'https://www.researchgate.net/profile/.*',\n]\n\n# The suffix(es) of source filenames.\n# You can specify multiple suffix as a list of string:\n#\n# source_suffix = ['.rst', '.md']\nsource_suffix = '.rst'\n\n# The master toctree document.\nmaster_doc = 'index'\n\n# General information about the project.\nproject = u'MNE-BIDS'\ntd = date.today()\ncopyright = u'2017-%s, MNE Developers. Last updated on %s' % (td.year,\n                                                              td.isoformat())\n\nauthor = u'MNE Developers'\n\n# The version info for the project you're documenting, acts as replacement for\n# |version| and |release|, also used in various other places throughout the\n# built documents.\n#\n# The short X.Y version.\nversion = mne_bids.__version__\n# The full version, including alpha/beta/rc tags.\nrelease = version\n\n# List of patterns, relative to source directory, that match files and\n# directories to ignore when looking for source files.\n# This patterns also effect to html_static_path and html_extra_path\nexclude_patterns = ['auto_examples/index.rst', '_build', 'Thumbs.db',\n                    '.DS_Store']\n\n# HTML options (e.g., theme)\nhtml_show_sourcelink = False\nhtml_copy_source = False\n\nhtml_theme = 'pydata_sphinx_theme'\n\n# Add any paths that contain templates here, relative to this directory.\ntemplates_path = ['_templates']\nhtml_static_path = ['_static']\nhtml_css_files = ['style.css']\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.\nhtml_theme_options = {\n    'icon_links': [\n        dict(name='GitHub',\n             url='https://github.com/mne-tools/mne-bids',\n             icon='fab fa-github-square'),\n        dict(name='Discourse',\n             url='https://mne.discourse.group/tags/mne-bids',\n             icon='fab fa-discourse'),\n    ],\n    'icon_links_label': 'Quick Links',  # for screen reader\n    'use_edit_page_button': False,\n    'navigation_with_keys': False,\n    'show_toc_level': 1,\n    'navbar_end': ['version-switcher', 'navbar-icon-links'],\n}\n\nhtml_context = {\n    'versions_dropdown': {\n        'dev': 'v0.11 (devel)',\n        'stable': 'v0.10 (stable)',\n        'v0.9': 'v0.9',\n        'v0.8': 'v0.8',\n        'v0.7': 'v0.7',\n        'v0.6': 'v0.6',\n        'v0.5': 'v0.5',\n        'v0.4': 'v0.4',\n        'v0.3': 'v0.3',\n        'v0.2': 'v0.2',\n        'v0.1': 'v0.1',\n    },\n}\n\nhtml_sidebars = {}\n\n# Example configuration for intersphinx: refer to the Python standard library.\nintersphinx_mapping = {\n    'python': ('https://docs.python.org/3', None),\n    'mne': ('https://mne.tools/dev', None),\n    'numpy': ('https://numpy.org/devdocs', None),\n    'scipy': ('https://scipy.github.io/devdocs', None),\n    'matplotlib': ('https://matplotlib.org', None),\n    'nilearn': ('http://nilearn.github.io/stable', None),\n    'pandas': ('https://pandas.pydata.org/pandas-docs/dev', None),\n    'nibabel': ('https://nipy.org/nibabel', None),\n}\nintersphinx_timeout = 5\n\n# Resolve binder filepath_prefix. From the docs:\n# \"A prefix to append to the filepath in the Binder links. You should use this\n# if you will store your built documentation in a sub-folder of a repository,\n# instead of in the root.\"\n# we will store dev docs in a `dev` subdirectory and all other docs in a\n# directory \"v\" + version_str. E.g., \"v0.3\"\nif 'dev' in version:\n    filepath_prefix = 'dev'\nelse:\n    filepath_prefix = 'v{}'.format(version)\n\nsphinx_gallery_conf = {\n    'doc_module': 'mne_bids',\n    'reference_url': {\n        'mne_bids': None,\n    },\n    'backreferences_dir': 'generated',\n    'examples_dirs': '../examples',\n    'within_subsection_order': ExampleTitleSortKey,\n    'gallery_dirs': 'auto_examples',\n    'filename_pattern': '^((?!sgskip).)*$',\n    'binder': {\n        # Required keys\n        'org': 'mne-tools',\n        'repo': 'mne-bids',\n        'branch': 'gh-pages',  # noqa: E501 Can be any branch, tag, or commit hash. Use a branch that hosts your docs.\n        'binderhub_url': 'https://mybinder.org',  # noqa: E501 Any URL of a binderhub deployment. Must be full URL (e.g. https://mybinder.org).\n        'filepath_prefix': filepath_prefix,  # noqa: E501 A prefix to prepend to any filepaths in Binder links.\n        'dependencies': [\n            '../test_requirements.txt',\n            './requirements.txt',\n        ],\n    }\n}\n", "path": "doc/conf.py"}], "after_files": [{"content": "\"\"\"MNE software for easily interacting with BIDS compatible datasets.\"\"\"\n\n__version__ = '0.11'\nfrom mne_bids import commands\nfrom mne_bids.report import make_report\nfrom mne_bids.path import (BIDSPath, get_datatypes, get_entity_vals,\n                           print_dir_tree, get_entities_from_fname,\n                           search_folder_for_text, get_bids_path_from_fname)\nfrom mne_bids.read import get_head_mri_trans, read_raw_bids\nfrom mne_bids.utils import get_anonymization_daysback\nfrom mne_bids.write import (make_dataset_description, write_anat,\n                            write_raw_bids, mark_channels,\n                            write_meg_calibration, write_meg_crosstalk,\n                            get_anat_landmarks, anonymize_dataset)\nfrom mne_bids.sidecar_updates import update_sidecar_json, update_anat_landmarks\nfrom mne_bids.inspect import inspect_dataset\nfrom mne_bids.dig import (template_to_head, convert_montage_to_ras,\n                          convert_montage_to_mri)\n", "path": "mne_bids/__init__.py"}, {"content": "\"\"\"Configure details for documentation with sphinx.\"\"\"\nimport os\nimport sys\nfrom datetime import date\n\nimport sphinx_gallery  # noqa: F401\nfrom sphinx_gallery.sorting import ExampleTitleSortKey\n\nimport mne_bids\n\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.\ncurdir = os.path.dirname(__file__)\nsys.path.append(os.path.abspath(os.path.join(curdir, '..', 'mne_bids')))\nsys.path.append(os.path.abspath(os.path.join(curdir, 'sphinxext')))\n\n\n# -- General configuration ------------------------------------------------\n\n# If your documentation needs a minimal Sphinx version, state it here.\n#\n# needs_sphinx = '1.0'\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.githubpages',\n    'sphinx.ext.autodoc',\n    'sphinx.ext.mathjax',\n    'sphinx.ext.viewcode',\n    'sphinx.ext.autosummary',\n    'sphinx.ext.doctest',\n    'sphinx.ext.intersphinx',\n    'sphinx_gallery.gen_gallery',\n    'numpydoc',\n    'sphinx_copybutton',\n    'gen_cli',  # custom extension, see ./sphinxext/gen_cli.py\n    'gh_substitutions',  # custom extension, see ./sphinxext/gh_substitutions.py\n]\n\n# configure sphinx-copybutton\ncopybutton_prompt_text = r\">>> |\\.\\.\\. |\\$ \"\ncopybutton_prompt_is_regexp = True\n\n# configure numpydoc\nnumpydoc_xref_param_type = True\nnumpydoc_class_members_toctree = False\nnumpydoc_attributes_as_param_list = True\nnumpydoc_xref_aliases = {\n    'BIDSPath': ':class:`BIDSPath <mne_bids.BIDSPath>`',\n    'path-like': ':term:`path-like <mne:path-like>`',\n    'array-like': ':term:`array_like <numpy:array_like>`',\n    'int': ':class:`int <python:int>`',\n    'bool': ':class:`bool <python:bool>`',\n    'float': ':class:`float <python:float>`',\n    'list': ':class:`list <python:list>`',\n    'tuple': ':class:`tuple <python:tuple>`',\n    'NibabelImageObject': 'nibabel.spatialimages.SpatialImage',\n}\nnumpydoc_xref_ignore = {\n    # words\n    'instance', 'instances', 'of'\n}\n\n\n# generate autosummary even if no references\nautosummary_generate = True\nautodoc_default_options = {'inherited-members': None}\ndefault_role = 'autolink'  # XXX silently allows bad syntax, someone should fix\n\n# configure linkcheck\n# https://sphinx-doc.org/en/master/usage/configuration.html?#options-for-the-linkcheck-builder\nlinkcheck_retries = 2\nlinkcheck_rate_limit_timeout = 15.0\nlinkcheck_ignore = [\n    r'https://www.researchgate.net/profile/.*',\n]\n\n# The suffix(es) of source filenames.\n# You can specify multiple suffix as a list of string:\n#\n# source_suffix = ['.rst', '.md']\nsource_suffix = '.rst'\n\n# The master toctree document.\nmaster_doc = 'index'\n\n# General information about the project.\nproject = u'MNE-BIDS'\ntd = date.today()\ncopyright = u'2017-%s, MNE Developers. Last updated on %s' % (td.year,\n                                                              td.isoformat())\n\nauthor = u'MNE Developers'\n\n# The version info for the project you're documenting, acts as replacement for\n# |version| and |release|, also used in various other places throughout the\n# built documents.\n#\n# The short X.Y version.\nversion = mne_bids.__version__\n# The full version, including alpha/beta/rc tags.\nrelease = version\n\n# List of patterns, relative to source directory, that match files and\n# directories to ignore when looking for source files.\n# This patterns also effect to html_static_path and html_extra_path\nexclude_patterns = ['auto_examples/index.rst', '_build', 'Thumbs.db',\n                    '.DS_Store']\n\n# HTML options (e.g., theme)\nhtml_show_sourcelink = False\nhtml_copy_source = False\n\nhtml_theme = 'pydata_sphinx_theme'\n\n# Add any paths that contain templates here, relative to this directory.\ntemplates_path = ['_templates']\nhtml_static_path = ['_static']\nhtml_css_files = ['style.css']\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.\nhtml_theme_options = {\n    'icon_links': [\n        dict(name='GitHub',\n             url='https://github.com/mne-tools/mne-bids',\n             icon='fab fa-github-square'),\n        dict(name='Discourse',\n             url='https://mne.discourse.group/tags/mne-bids',\n             icon='fab fa-discourse'),\n    ],\n    'icon_links_label': 'Quick Links',  # for screen reader\n    'use_edit_page_button': False,\n    'navigation_with_keys': False,\n    'show_toc_level': 1,\n    'navbar_end': ['version-switcher', 'navbar-icon-links'],\n}\n\nhtml_context = {\n    'versions_dropdown': {\n        'dev': 'v0.12 (devel)',\n        'stable': 'v0.11 (stable)',\n        'v0.10': 'v0.10',\n        'v0.9': 'v0.9',\n        'v0.8': 'v0.8',\n        'v0.7': 'v0.7',\n        'v0.6': 'v0.6',\n        'v0.5': 'v0.5',\n        'v0.4': 'v0.4',\n        'v0.3': 'v0.3',\n        'v0.2': 'v0.2',\n        'v0.1': 'v0.1',\n    },\n}\n\nhtml_sidebars = {}\n\n# Example configuration for intersphinx: refer to the Python standard library.\nintersphinx_mapping = {\n    'python': ('https://docs.python.org/3', None),\n    'mne': ('https://mne.tools/dev', None),\n    'numpy': ('https://numpy.org/devdocs', None),\n    'scipy': ('https://scipy.github.io/devdocs', None),\n    'matplotlib': ('https://matplotlib.org', None),\n    'nilearn': ('http://nilearn.github.io/stable', None),\n    'pandas': ('https://pandas.pydata.org/pandas-docs/dev', None),\n    'nibabel': ('https://nipy.org/nibabel', None),\n}\nintersphinx_timeout = 5\n\n# Resolve binder filepath_prefix. From the docs:\n# \"A prefix to append to the filepath in the Binder links. You should use this\n# if you will store your built documentation in a sub-folder of a repository,\n# instead of in the root.\"\n# we will store dev docs in a `dev` subdirectory and all other docs in a\n# directory \"v\" + version_str. E.g., \"v0.3\"\nif 'dev' in version:\n    filepath_prefix = 'dev'\nelse:\n    filepath_prefix = 'v{}'.format(version)\n\nsphinx_gallery_conf = {\n    'doc_module': 'mne_bids',\n    'reference_url': {\n        'mne_bids': None,\n    },\n    'backreferences_dir': 'generated',\n    'examples_dirs': '../examples',\n    'within_subsection_order': ExampleTitleSortKey,\n    'gallery_dirs': 'auto_examples',\n    'filename_pattern': '^((?!sgskip).)*$',\n    'binder': {\n        # Required keys\n        'org': 'mne-tools',\n        'repo': 'mne-bids',\n        'branch': 'gh-pages',  # noqa: E501 Can be any branch, tag, or commit hash. Use a branch that hosts your docs.\n        'binderhub_url': 'https://mybinder.org',  # noqa: E501 Any URL of a binderhub deployment. Must be full URL (e.g. https://mybinder.org).\n        'filepath_prefix': filepath_prefix,  # noqa: E501 A prefix to prepend to any filepaths in Binder links.\n        'dependencies': [\n            '../test_requirements.txt',\n            './requirements.txt',\n        ],\n    }\n}\n", "path": "doc/conf.py"}]}