Skip to content

Commit

Permalink
disable (mostly broken) "edit on GitHub" link in sidebar (#12412)
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Larson <[email protected]>
  • Loading branch information
drammock and larsoner authored Feb 2, 2024
1 parent d8ea2f5 commit 78e840d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ def append_attr_meth_examples(app, what, name, obj, options, lines):
),
],
"icon_links_label": "External Links", # for screen reader
"use_edit_page_button": True,
"use_edit_page_button": False,
"navigation_with_keys": False,
"show_toc_level": 1,
"article_header_start": [], # disable breadcrumbs
Expand Down
2 changes: 1 addition & 1 deletion mne/epochs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,7 @@ def drop_bad(self, reject="existing", flat="existing", verbose=None):
Dropping bad epochs can be done multiple times with different
``reject`` and ``flat`` parameters. However, once an epoch is
dropped, it is dropped forever, so if more lenient thresholds may
subsequently be applied, `epochs.copy <mne.Epochs.copy>` should be
subsequently be applied, :meth:`epochs.copy <mne.Epochs.copy>` should be
used.
"""
if reject == "existing":
Expand Down
1 change: 1 addition & 0 deletions mne/utils/docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3366,6 +3366,7 @@ def _reflow_param_docstring(docstring, has_first_line=True, width=75):
.. note:: If ``reject`` is a callable, than **any** criteria can be
used to reject epochs (including maxima and minima).
If ``reject`` is ``None``, no rejection is performed. If ``'existing'``
(default), then the rejection parameters set at instantiation are used.
""" # noqa: E501
Expand Down

0 comments on commit 78e840d

Please sign in to comment.